Movatterモバイル変換
[0]ホーム
New in version 1.5.2.
Thenetrc class parses and encapsulates the netrc file formatused by the Unixftp program and other FTP clients.
- classnetrc([file])
- Anetrc instance or subclass instance encapsulates data from a netrc file. The initialization argument, if present, specifies thefile to parse. If no argument is given, the file.netrc in theuser's home directory will be read. Parse errors will raiseNetrcParseError with diagnostic information including thefile name, line number, and terminating token.
- exceptionNetrcParseError
- Exception raised by thenetrc class when syntactical errorsare encountered in source text. Instances of this exception providethree interesting attributes:msg is a textual explanationof the error,filename is the name of the source file, andlineno gives the line number on which the error was found.
SubsectionsSeeAbout this document... for information on suggesting changes.
[8]ページ先頭