Friends
-
Loading…artikel20absatz4 3 months ago -
Loading…oqlt about 1 year ago -
Loading…Nut 7 days ago -
Loading…demod 20 days ago -
Loading…techniker 9 days ago -
Loading…gendrrr 6 days ago -
Loading…feminism 3 days ago -
Loading…char about 1 year ago -
Loading…this-looks-shopped 1 day ago -
Loading…Moustaches 3 days ago - +161
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.
Click here to check if anything new just came in.
October 01 2011
September 23 2011
September 21 2011
September 16 2011
August 29 2011
August 19 2011
August 09 2011
Requests: HTTP for Humans — Requests v0.5.1 documentation
Most existing Python modules for sending HTTP requests are extremely verbose and cumbersome. Python’s builtin urllib2 module provides most of the HTTP capabilities you should need, but the api is thoroughly broken. It requires an enormous amount of work (even method overrides) to perform the simplest of tasks.Things shouldn’t be this way. Not in Python.
>>> r = requests.get('https://api.github.com', auth=('user', 'pass'))
>>> r.status_code
200
>>> r.headers['content-type']
'application/json'
See the same code, without Requests.
Requests allow you to send HEAD, GET, POST, PUT, PATCH, and DELETE HTTP requests. You can add headers, form data, multipart files, and parameters with simple Python dictionaries, and access the response data in the same way. It’s powered by urllib2, but it does all the hard work and crazy hacks for you.
July 29 2011
July 21 2011
main.py
Pycco is a Python port of Docco: the original quick-and-dirty, hundred-line-long, literate-programming-style documentation generator. It produces HTML that displays your comments alongside your code. Comments are passed through Markdown, and code is passed through Pygments syntax highlighting. This page is the result of running Pycco against its own source file.
Reposted by
madgyver
May 26 2011
May 23 2011
Introduction to scapy - Packet Life
scapy is a Python framework for crafting and transmitting arbitrary packets. I've used scapy in labs for my articles a few times before, but today we'll be looking at scapy itself and why it's an invaluable component of every networker's virtual toolbox.May 18 2011
Good catch all exceptions
Reposted by
return13
January 21 2011
January 02 2011
sphinxcontrib-spelling - Sphinx Spelling Checker
A Sphinx extension to check the spelling of a document.September 30 2010
Learn Python The Hard Way: Learn Python The Hard Way
This is the site for the book "Learn Python The Hard Way". The book is a very beginner book for people who want to learn to code. If you can already code then the book will probably drive you insane. It's intended for people who have no coding chops to build up their skills before starting a more detailed book.
Older posts are this way
If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.

