Python Quick Start Web
This post will be a collections of the post we have written about Python for the web. Please don't forget to subscribe to our twitter feed as well as our RSS feed. On the left side, we have a feedback button. We love to hear what you think, so please use it to let us know if you have any questions, ideas, problems. If you like what you read, please take a moment to share it using the buttons below.
Python - Quick Start Web
In this post, we will describe how you can use Python for the web. Click on the Title(s) to learn more. You can see what the topics are about under each title.
Reddit API – Overview Getting started API documentation Viewing the JSON output Start coding Make The API Call JSON Response Content Convert JSON into a dictionary Navigate to find useful data The complete script
How do I access web services such as Youtube, Vimeo, Twitter? API : Application Programming Interface API Key Json - Overview Accessing Web Services What modules do I need? Working with the data Converting the data Looping through the result Using the YouTube API YouTube, Vimeo and Twitter Examples API Documentation for various Web Services
Web Scraping What is Beautiful Soup? Extracting URL’s from any website
Overview About the script Getting Started How does it work? The complete program
CommandLineFu API Creating the “Command Line Search Tool”
What is Urllib2? What is the difference between urllib and urllib2? What is urlopen? Getting URLs Simple urllib2 script Download files with Urllib2 Urllib2 Requests User Agents urllib.urlparse urllib.urlencode Error Handling URLError HTTPError
What is Requests? Install Requests Importing the module Making a request Response Code Response Code Headers Encoding Custom Headers Redirection and History Make a HTTP Post request Errors and Exceptions
What is Beautiful Soup? BeautifulSoup 3 or 4? Installing Beautiful Soup BeautifulSoup Usage BeautifulSoup Usage BeautifulSoup Object The Find_all method Navigating the Parse Tree Extracting all the URLs found within a page ‘a’ tags Extracting all the text from a page Get all links from Reddit
What is Feedparser? Install Feedparser Feedparser Examples
What is BeautifulSoup? What can it do? What do I need? BeautifulSoup Examples Search and find all html tags Find all links on Reddit Website Scrap the Huffington Post
What is an API? Interact with an API using JSON How do I do this? Examples
Create a browser object Open a webpage Using forms Using Controls Submit the form Finding Links
Standard Feeds Getting Started Using the YouTube API to get data How to use other YouTube feeds
About the Vimeo API Common Vimeo Requests Using the Vimeo API to get data
To get the response code from a website, you can the response.code Get all forms from a website: Browsing with Python
What is Urllib2? What can it do? HTTP Requests How can I use it? User Agents Get HTTP Headers Examples
What is Requests What can I do with Requests? Requests Installation Make a Request To make a HTTP POST request Response Content Binary Response Content JSON Response Content Custom Headers Response Status Codes Response Headers Cookies Basic Authentication Digest Authentication Redirection and History Timeouts Errors and Exceptions
API Response JSON Functions Json Dumps Json Loads
Json Overview Getting Started Using the Twitter API to parse data
What is JSON? JSON is built on structures Object Array Value String Number
Recommended Python Training – Treehouse
For Python training, our top recommendation is Treehouse.
Treehouse is an online training service that teaches web design, web development and app development with videos, quizzes and interactive coding exercises.
Treehouse has beginner to advanced Python training that programmers of all levels benefit from.
Read more about: