Requests and NLTK is what got me into python. 3 or 4 lines of code can get shit done 1st try where it used to take me a couple hours trial and error in php and cURL.
Right? But on the plus side, I know the shit out of cURL now, lol. Was sort of a bitch to get everything installed on Windows, but so worth it in terms of speed. xPath for the win.
BeautifulSoup kicks ass when you're extracting info from HTML, check it out.
If you insist on keeping windows as primary OS, at least VirtualBox yourself a 512mb ubuntu instance, share a folder w/ your host OS, ssh into ubuntu to launch python and use your windows share to edit the code. This is what I do from OSX; frankly the python experience on linux is a league above what any other platform provides. Getting packages and dependencies is rarely more than a matter of "pip install _____", and when it's any more complicated, "apt-get install ____-dev" is what you need the rest of the time.
Welcome to dark sidesoon we start the MVC enema.
rage, you could get a $20 / mo linode for python scraping, works well.
rage, any tips/tricks for someone coming from PHP that is mostly a hack coder/linear style guy?
Im looking for advice other then, just programming. Things like getting your head around OOP and shit.
You guys spin my head around with how talented you are with this stuff. Always interesting to me.
thanks for the new sig.Classes are nothing more than a bunch of functions wrapped in a wrapper.
I dunno, I just don't see the point in using languages that are already written... they're so bloated. I just write my own programming languages when I need to scrape a site. Sure it takes a while, but by the end I have a programming language that can pick my boogers.
You use Scrapy (python scraping framework) ?