Récupérer et parser un flux RSS:
import urllib, sys
from xml.dom import minidom
address = 'http://www.sebsauvage.net/rss/updates.xml'
document = minidom.parse(urllib.urlopen(address))
for item in document.getElementsByTagName('item'):
title = item.getElementsByTagName('title')[0].firstChild.data
print "Title:", title
for todo in project:
try:
to_install = find_existing_project_implementing(todo)
except ProjectNotFound:
print "You probably did not look hard enough!"
implement_it_yourself() # if you really have to
else:
download_and_install(to_install)
write_glue_code()
Voir par exemple pypi
(Et python existe en dehors du développement web!)
Forcément:
En plus, notamment:
Développement
$ mkvirtualenv my_great_app
$ pip install flask
$ pip install pygal
$ pip freeze > requirements.txt
Déploiement
$ mkvirtualenv my_great_app
$ pip install -r requirements.txt
Permet de
Table of Contents | t |
---|---|
Exposé | ESC |
Full screen slides | e |
Presenter View | p |
Source Files | s |
Slide Numbers | n |
Toggle screen blanking | b |
Show/hide slide context | c |
Notes | 2 |
Help | h |