pywws.ToTwitter¶
Postare messaggi su Twitter
usage: python -m pywws.ToTwitter [options] data_dir file
options are:
-h | --help display this help
data_dir is the root directory of the weather data
file is the text file to be uploaded
Questo modulo invia un breve messaggio a Twitter. Prima di pubblicare su Twitter è necessario configurare un account e quindi autorizzare pywws eseguendo il programma TwitterAuth. Vedere Come configurare pywws per pubblicare messaggi su Twitter per le istruzioni dettagliate.
Funzioni
ApplicationLogger(verbose[, logfile]) |
|
main([argv]) |
Classi
ToTwitter(params) |
|
pct |
alias per Twitter |
-
class
pywws.ToTwitter.ToTwitter(params)[sorgente]¶ -
Upload(tweet)[sorgente]¶
-
UploadFile(file)[sorgente]¶
-
-
pywws.ToTwitter.main(argv=None)[sorgente]¶