mirror of
https://github.com/m-lamonaca/dev-notes.git
synced 2025-06-09 03:07:13 +00:00
remove mkdocs specific syntax
This commit is contained in:
parent
8d08c1964f
commit
8026e1465b
77 changed files with 1128 additions and 1128 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
## FTP CLASSES
|
||||
|
||||
```py linenums="1"
|
||||
```py
|
||||
ftplib.FTP(host="", user="", password="", acct="")
|
||||
# if HOST => connect(host)
|
||||
# if USER => login(user, password, acct)
|
||||
|
@ -13,7 +13,7 @@ ftplib.FTP_TLS(host="", user="", password="", acct="")
|
|||
|
||||
## EXCEPTIONS
|
||||
|
||||
```py linenums="1"
|
||||
```py
|
||||
ftplib.error_reply # unexpected error from server
|
||||
ftplib.error_temp # temporary error (response codes 400-499)
|
||||
ftplib.error_perm # permanent error (response codes 500-599)
|
||||
|
@ -23,7 +23,7 @@ ftplib.all_errors # tuple of all exceptions
|
|||
|
||||
## FTP OBJECTS
|
||||
|
||||
```py linenums="1"
|
||||
```py
|
||||
# method on text files: -lines
|
||||
# method on binary files: -binary
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue