【发布时间】:2019-12-09 01:48:12
【问题描述】:
我来自 C 背景,每当我想查看我刚刚做的事情的文档时都使用 C man 3 thing 例如:
$ man 3 open
NAME
open, openat — open file relative to directory file descriptor
SYNOPSIS
#include <sys/stat.h>
#include <fcntl.h>
int open(const char *path, int oflag, ...);
int openat(int fd, const char *path, int oflag, ...);
我想知道 Python 是否也有类似的东西。
【问题讨论】:
-
>>> help(open) -
offline documentation2019 年?
标签: python documentation