Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Alexander Zhang
4,312 PointsCourse for getting data out of servers in html forms using python.
I took some HTML and python courses, and I want to learn how to use python to get data from an HTML form. I know that I can also use Ruby or PHP, but is there any course for using python? Thank you!
2 Answers
Or Kramer
3,072 PointsIf you mean to scrape data from am HTML page:
Basic staff you can do with XPATH : http://docs.python-guide.org/en/latest/scenarios/scrape/
for more complicated staff you should use BeautifulSoup or Scrapy extensions:
BeautifulSoup reference: http://docs.python-guide.org/en/latest/scenarios/scrape/
Scrapy reference: http://doc.scrapy.org/en/latest/intro/tutorial.html
Goodluck :)
Jason Anders
Treehouse Moderator 145,863 PointsHey Alexander,
FIrst, a disclaimer. Python is my least favorite language, so my advice is not written in stone. :)
There are a few Frameworks that you could have a look at. But I would suggest having a look at Django.
Keep Coding! :)