This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ python generate_bootstrap.py bootstrap_base.py > django-bootstrap.py | |
| $ python django-bootstrap.py ENV --project=NAME [ --hg --git --mysql --south --fabric --nose ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from lxml import etree | |
| import csv | |
| file = open("users_utf.xml", "r") | |
| mycsv = csv.writer(open("importcsv.csv", "wb")) | |
| for line in file: | |
| if "\"" in line: | |
| line = line.replace("\"", "") |
NewerOlder