Pythonfilter - pythonfilter.com

General Information:

Latest News:

How to Dedupe Items for a Unique List 12 Nov 2009 | 08:59 pm

A common problem when dealing with lists is deduping or removing duplicate items. For a completely unique list there are a few ways to accomplish this in Python. The Fastest Way to Dedupe All we're ...

What do *args, **kw, **kwargs Mean? 21 Mar 2009 | 07:31 pm

Have you ever found yourself looking at someone else's function and wondered what the argument *args, **kw, or **kwargs means / does? Example: Those arguments are called "Keyword Arguments". Essentia...

Changing or Spoofing Your User Agent in Python 20 Mar 2009 | 08:05 am

Probably the most desired ability of manipulating http headers is to change or "spoof" your user agent for legitimate or nefarious purposes . By default python's urllib2 uses Python-urllib/2.6 as it's...

Request, Fetch, and Crawl URLs 20 Mar 2009 | 07:54 am

Do you need Python to fetch a URL for you? Depending on your needs, there are various ways python can request a URL: urllib2 - built in library httplib - built in library cURL - 3rd party library ...

Recently parsed news:

Recent searches: