Deploying Userify with Fabric
Deploying Userify using Fabric
Deploying Userify using Fabric
I love Python and its many libraries. The HTTP library by the name of requests is particularly awesome.
Note: I have not used any authentication, basic or otherwise, but it's easy enough to add.
StringIO is used because the cvs library …
I needed to keep track of up until where in a database table I had already queried. Later queries needed to draw data from that point onwards. For example if I've done the query select id, name, surname from table where id > 255623 and it yielded results with …
Do you want to know if the MP3s in that folder will fit on a CD?
No problem.
#!/usr/bin/env python
import audioread
import sys
try:
files = sys.argv[1:]
except:
print('Usage: %s <files/glob>' % (sys.argv[0],))
sys.exit()
total_length = 0.0
for file in files:
f …This past week saw me get a tooth implant. Ouch. You know its bad when the dentist says “close your eyes, we don’t want you blinded by flying tooth fragments”! OMG WTF!
This past week also saw me doing something just as painful as having …
There are many Python based web frameworks out there waiting to be discovered, tested, set aside, and even used for something useful. Some argue that there are too many and that what Python needs is a Rails-style killer app. One app to rule them all… Like …