|
chemosh6969 posted:I've never done web scrapping before and was wondering if anyone knew of, or had, an example of an imdb scrape? I want to learn how to do it for a few other sites but really wanted to find an example to build off of. This guy has a pretty good guide for how to use it.
|
# ¿ Aug 22, 2009 12:23 |
|
|
# ¿ May 20, 2024 08:14 |
|
Scaevolus posted:lxml is faster and better than BeautifulSoup. I've been using BeautifulSoup for a number of projects and this looks very promising. Thanks!
|
# ¿ Aug 24, 2009 22:08 |
|
tef posted:awesomeness All the tips are much appreciated, thanks.
|
# ¿ Aug 25, 2009 01:46 |
|
Does anyone know if PIL supports the creation of animated GIFs? I'm creating a small command line utility for a buddy that will input a small image, make it a two-frame animated GIF with one frame that has a single pixel with a slight coloration difference for import into Windows Live Messenger as an emoticon (the point of doing so prevents WLM from distorting the emoticon by automatically resizing it). If PIL isn't the best imaging library for this sorta thing, any recommendations for something better would be great.
|
# ¿ Sep 1, 2009 01:14 |
|
Scaevolus posted:A bit of searching led me to http://sites.google.com/site/almarklein/files-1/images2gif.py , which should show you what you want. Thanks!
|
# ¿ Sep 1, 2009 01:30 |
|
I'm having a frustrating problem with MySQLdb and I can't figure out this behavior. I have this code performing a simple operation to pull a value out of a database: code:
code:
|
# ¿ Feb 18, 2011 18:50 |
|
Dren posted:Is it that your data is in a tuple that upsets you?
|
# ¿ Feb 18, 2011 21:46 |
|
tripwire posted:Like I said, mysql doesn't spit out data in whatever format you want; it spits out strings. The library you are using is automatically converting fields which looks like numerical values to longs; and if you read the documentation for mysqldb, it covers how to pass in a type-conversion dictionary which will do what you want.
|
# ¿ Feb 19, 2011 05:10 |
|
Yakattak posted:Does anybody have any resources for working with a SOAP based API? Specifically with Python but I know absolutely nothing about SOAP. I am trying to communicate with the FedEx API and it's proving to be very difficult as I know nothing about SOAP. It's easy as dirt to use, presuming you're using their web service. EDIT: I read thread good. Oh well, if anybody's using SOAP web services in the future, I'm pretty sure suds is the easiest way to go.
|
# ¿ Apr 1, 2011 08:45 |
|
duck monster posted:What are peoples recomendations on editors. I cant keep pycharm stable on Lion anymore with its constant lockups, and for the loving life of me I cant get eclipse to recognise its python path source directories for django. I'm losing days of work to this poo poo and its driving me loving insane. They're both worth the price. TextMate is more flexible plugin-wise but Coda's integrated SFTP is way better than the available TextMate plugins.
|
# ¿ Aug 9, 2011 22:14 |
|
|
# ¿ May 20, 2024 08:14 |
|
Auditore posted:Hi guys, I'm stuck on this one for a quiz. code:
|
# ¿ Mar 29, 2012 12:47 |