Welcome To Snipplr
Everyone's Recent Python Snippets Tagged twitter
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
"Whatever you do will be insignificant, but it is very important that you do it." --Mahatma Gandhi
1
990
posted 13 years ago by ksaver
e.g.
<pre><code>
$ twlogmerge.py twitter-log-user-dir
read file: twitter-log-user-dir/page001.xml
get status: id: 123456789
append status: accum.:1234
...
append status: accum.:3456
write file: twitter-log-user-dir-marged-20090828-130146.xml...
0
618
posted 14 years ago by mustam
e.g.
<pre>
$ twlog.py user
twitter account name: user
Now logging start, take several times. r u OK? [y/N]: y
DEBUG: make dir: twitter-log-user
DEBUG: get log: page=1
DEBUG: new tweet: 21, accum. tweet: 21
DEBUG: remain hits: 149
DEBUG: writ...
1
503
posted 14 years ago by mustam
inspired by http://snipplr.com/view/6594/post-to-twitter-from-the-shell/ . I just rewrote it in Python because I didn't want to install a Ruby interpreter :)
use `chmod +x tweet.py` to run it as `./tweet.py` instead of `python tweet.py`
1
789
posted 15 years ago by nate_smith
Python make url address to Tinyurl in article content like Twitter message
1
796
posted 15 years ago by huacnlee
going to use twitterlocal to play around a bit with pygooglechart.
0
562
posted 15 years ago by mandric
« Prev 1 Next »