<?xml version="1.0" encoding="iso-8859-1" ?>
<?xml-stylesheet title="XSL_formatting" type="text/xsl" href="/images/lists/rssstyle2.xsl"?>
<rss version="2.0">
<channel>
<title>Python | Python</title>
<description>Mailing List Archive by Gossamer Threads</description>
<link>http://www.gossamer-threads.com/lists/python/python/</link>
<language>en-us</language>
<copyright>(c) Gossamer Threads Inc. All rights reserved.</copyright>
<lastBuildDate>25 Nov  2009 02:53:03 -0800</lastBuildDate>
<ttl>120</ttl>
<image>
<title>Gossamer Threads | Python | Python</title>
<width>75</width>
<height>23</height>
<link>http://www.gossamer-threads.com/lists/python/python/</link>
<url>http://www.gossamer-threads.com/images/lists/rss_logo.jpg</url>
</image>
<item>
<title>How to import a file by its full path using C api?</title>
<description>Hello PyObject* PyImport_ImportModule( const char *name)  How to specify a full file path instead and a module name? Like PyImport_SomeFunction(con</description>
<pubDate>25 Nov  2009 00:51:06 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789927</link>
</item><item>
<title>CentOS 5.3 vs. Python 2.5</title>
<description>My dedicated hosting provider wants to switch me to a new server with CentOS 5.3, so I have to look at how much work is required.   CentOS 5.3 appa</description>
<pubDate>24 Nov  2009 22:42:28 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789918</link>
</item><item>
<title>get line number and filename in a source file</title>
<description>__LINE__ __FILE__ in C++ can give the current line number and filename. Is there a similar thing in python that can give me the current line number an</description>
<pubDate>24 Nov  2009 21:47:04 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789914</link>
</item><item>
<title>Can &amp;quot;self&amp;quot; crush itself?</title>
<description>Why does &amp;quot;h&amp;quot; instance stay alive? class Moo:   cnt = 0   def __init__(self, x):     self.x = x     self.__class__.cnt += 1     if sel</description>
<pubDate>24 Nov  2009 20:57:04 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789910</link>
</item><item>
<title>Creating a drop down filter in Admin site</title>
<description>Hoping someone could help me out. I am updating an admin site and added a couple &amp;quot;list_filter&amp;quot;s. They are rather long so I wanted to turn them into a</description>
<pubDate>24 Nov  2009 13:08:27 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789856</link>
</item><item>
<title>Raw strings as input from File?</title>
<description>I have a log file with full Windows paths on a line. eg: K:\A\B\C\10xx\somerandomfilename.ext-&amp;gt;/a1/b1/c1/10xx \somerandomfilename.ext ; t9999xx; 11/23</description>
<pubDate>24 Nov  2009 11:52:24 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789839</link>
</item><item>
<title>Python-URL! - weekly Python news and links (Nov 24)</title>
<description>QOTW: &amp;quot;... it&amp;#039;s generally accepted that COM sucks rocks through straws, so explore alternatives when they&amp;#039;re available ;-)&amp;quot; - Chris Withers   http:</description>
<pubDate>24 Nov  2009 09:59:28 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789826</link>
</item><item>
<title>howto send signal to a OS daemon on linux</title>
<description>Hello, Greetings. I am a newbie to python programming. Can anybody please help me with options to send a user defined signal to a OS daemon (example</description>
<pubDate>24 Nov  2009 09:17:36 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789822</link>
</item><item>
<title>csv and mixed lists of unicode and numbers</title>
<description>Hello, I want to put data from a database into a tab separated text file. This looks like a typical application for the csv module, but there is a sn</description>
<pubDate>24 Nov  2009 08:42:57 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789820</link>
</item><item>
<title>fixing xml output format</title>
<description>Hi all, I am creating some xml output using minidom and saving it to a file using doc.writexml() The output however is as follows: &amp;lt;?xml version=&amp;quot;1.</description>
<pubDate>24 Nov  2009 08:14:35 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789819</link>
</item><item>
<title>Need help to understand a getattr syntax.</title>
<description>Hello all,   I need some help to understand a getattr syntax. The syntax is: try:   getattr(self, command)(cursor, row) except Exception, e:</description>
<pubDate>24 Nov  2009 07:47:40 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789793</link>
</item><item>
<title>Recall: How to log messages _only once_ from all modules ?</title>
<description>Barak, Ron would like to recall the message, &amp;quot;How to log messages _only once_ from all modules ?&amp;quot;. -- http://mail.python.org/mailman/listinfo/python-</description>
<pubDate>24 Nov  2009 05:17:05 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789753</link>
</item><item>
<title>How to log messages _only once_ from all modules ?</title>
<description>Hi, I&amp;#039;m trying to add the logging module to my application, but I seem to be missing something. My application (a wxPython one) has a main script tha</description>
<pubDate>24 Nov  2009 04:59:05 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789754</link>
</item><item>
<title>pointless musings on performance</title>
<description>#!/usr/local/bin/python import timeit  def pythonic():   nonevar = None   zerovar = 0   for x in range(1000000):     if nonevar:</description>
<pubDate>24 Nov  2009 04:03:44 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789735</link>
</item><item>
<title>midi file parser</title>
<description>&amp;quot;&amp;quot;&amp;quot; A Sequence is a list [FormatType, TimeDivision, Tracks] where *) FormatType is in [0,1,2] *) TimeDivision is either [TicksPerBeat] with TicksPer</description>
<pubDate>23 Nov  2009 21:15:52 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789696</link>
</item><item>
<title>Where to put the error handing test?</title>
<description>Suppose that I have function f() that calls g(), I can put a test on the argument &amp;#039;x&amp;#039; in either g() or f(). I&amp;#039;m wondering what is the common practice.</description>
<pubDate>23 Nov  2009 19:15:48 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789686</link>
</item><item>
<title>Re: [CPyUG:110052] ANN: UliPad 4.0 released!</title>
<description>很不错！虽然我一直用emacs On Tue, Nov 24, 2009 at 10:16 AM, limodou &amp;lt;limodou@gmail.com&amp;gt; wrote: &amp;gt; UliPad is a flexible editor, based on wxPython. It</description>
<pubDate>23 Nov  2009 18:18:25 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789679</link>
</item><item>
<title>ANN: UliPad 4.0 released!</title>
<description>UliPad is a flexible editor, based on wxPython. It&amp;#039;s has many features,just like:class browser, code auto-complete, html viewer, directory browser, wi</description>
<pubDate>23 Nov  2009 18:16:42 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789678</link>
</item><item>
<title>More precise document on os.path.normpath()</title>
<description>After I tried os.path.normpath(), it is clear that the function doesn&amp;#039;t return the trailing &amp;#039;/&amp;#039;, if the path is a directory. But this fact is not docu</description>
<pubDate>23 Nov  2009 17:52:43 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789664</link>
</item><item>
<title>Capturing output of os.system to a string</title>
<description>How do I capture output to a string? For example, the output of os.system(&amp;#039;whoami&amp;#039;). I guess I need to redirect stdout, but I&amp;#039;m a total beginner, and</description>
<pubDate>23 Nov  2009 17:27:50 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789659</link>
</item><item>
<title>Any elegant way to construct the complete $k$-partite graph in Python?</title>
<description>I was wondering if there were any neat tools (like for instance, something from itertools) that would help me write the following function more eleg</description>
<pubDate>23 Nov  2009 16:05:33 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789653</link>
</item><item>
<title>sys.stdout is not flushed</title>
<description>I am trying to use sys.stdout to print out &amp;quot;process-bar&amp;quot; like: --&amp;gt;1% Here is my program &#039;test.py&#039;: from sys import stdout for v in range(10):   st</description>
<pubDate>23 Nov  2009 13:57:23 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789639</link>
</item><item>
<title>Compiling Python 2.6.4 on IRIX 6.5 - &amp;quot;don&amp;#039;t know how to make Parser/printgrammar.o (bu42).&amp;quot;</title>
<description>I&amp;#039;m trying to compile Python 2.6.4 on my IRIX 6.5 machine. I have no idea how to fix this problem, and am hoping someone may know what to do. The cl</description>
<pubDate>23 Nov  2009 13:53:45 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789637</link>
</item><item>
<title>profiling differences using an extra function call</title>
<description>Hi, I was a trying to profile a small script and after shrinking the code to the minimum I got a interesting profile difference. Given two test funct</description>
<pubDate>23 Nov  2009 13:42:09 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789636</link>
</item><item>
<title>Converting a float to a formatted outside of print command</title>
<description>I&amp;#039;d like to convert a list of floats to formatted strings. The following example raises a TypeError: y = 0.5 x = &amp;#039;.1f&amp;#039; % y -- http://mail.python.org</description>
<pubDate>23 Nov  2009 13:15:07 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789628</link>
</item><item>
<title>UnicodeDecodeError? Argh! Nothing works! I&amp;#039;m tired and hurting and...</title>
<description>This is the tragic story of this evening: 1. Aspirins to lessen the pain somewhat. 2. Over in [comp.programming] someone mentions paper on Quicksort.</description>
<pubDate>23 Nov  2009 13:06:29 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789626</link>
</item><item>
<title>Waiting for receiving data</title>
<description>fp = urllib.urlopen(url) data = fp.read() Retrieving XML data via an XML service API. Very often network gets stuck in between. No errors / exception</description>
<pubDate>23 Nov  2009 12:30:19 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789622</link>
</item><item>
<title>sandbox python via module loader</title>
<description>Greetings, in the past I wrote a sandboxing module loader for c++/ python. I am moving away from python.. I can&amp;#039;t stand it actually. Call me blasph</description>
<pubDate>23 Nov  2009 12:22:02 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789617</link>
</item><item>
<title>IDE+hg</title>
<description>Dear experts, Since no py IDE I found has easy hg access. IDEs PIDA and Eric claim Mercurial support not found i.e. buttons to clone, commit and push</description>
<pubDate>23 Nov  2009 11:20:27 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789595</link>
</item><item>
<title>Read IDL save files into Python</title>
<description>I would like to briefly advertise the 0.9.2 release of IDLSave, a package I recently developed to read IDL save files into Python. Installation instru</description>
<pubDate>23 Nov  2009 11:14:38 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789593</link>
</item><item>
<title>Line-continuation &amp;quot;Anti-Idiom&amp;quot; and with statement</title>
<description>I installed Python 3.1 today, and I&amp;#039;ve been porting my small library of programs to the new system. I happened to read the interesting &amp;quot;Idioms and An</description>
<pubDate>23 Nov  2009 11:13:44 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789591</link>
</item><item>
<title>attributes, properties, and accessors -- philosophy</title>
<description>The problem I have with properties is my typing. I&amp;#039;ll end up assigning to an attribute, but get the spelling slightly wrong (capitalized, or missin</description>
<pubDate>23 Nov  2009 10:52:00 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789585</link>
</item><item>
<title>Line Breaks</title>
<description>Hi; I have the following line of code I&amp;#039;m sending to postfix:  msg = &amp;#039;A Message From %s:\n\n %s&amp;#039; % (string.replace(customer, &amp;#039;_&amp;#039;, &amp;#039; &amp;#039;), msg) Unfort</description>
<pubDate>23 Nov  2009 10:45:13 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789589</link>
</item><item>
<title>Don&amp;#039;t Understand Error</title>
<description>Hi; I have the following code: #!/usr/bin/env python import smtplib import cgitb; cgitb.enable() import cgi import sys,os sys.path.append(os.getcwd(</description>
<pubDate>23 Nov  2009 10:10:35 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789551</link>
</item><item>
<title>A More Concise Description of Numpy than the Guide to Numpy?</title>
<description>I&amp;#039;m looking the 300+ page pdf of the Guide to Numpy. Is there a more concise and practical guide to its use in science and mathematics? -- http://ma</description>
<pubDate>23 Nov  2009 09:49:17 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789545</link>
</item><item>
<title>[repost please help me] python setup.py build for 32-bits on x86_64 machine</title>
<description>Hi, I am in x86_64 arch , but I need compile things on 32 bits with python setup.py build Can&amp;#039;t change the fact that distutils creates x86_64 direc</description>
<pubDate>23 Nov  2009 09:39:17 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789548</link>
</item><item>
<title>Beginning Question about Python functions, parameters...</title>
<description>Hi, I am trying to teach myself Python and have a good book to help me but I am stuck on something and I would like for someone to explain the followi</description>
<pubDate>23 Nov  2009 09:19:03 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789544</link>
</item><item>
<title>Print to Printer Tkinter Text</title>
<description>Hi, Is there a way to print the format of a Tkinter text box to a color printer with its tags, e.g. a blue text at font size 18 and bold will like it</description>
<pubDate>23 Nov  2009 09:08:44 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789543</link>
</item><item>
<title>adding a directory to sys.path</title>
<description>This is Mac related. I am running snow leopard. I am using Python 2.6.3. I had a lot of difficulty figuring out how to add a directory to sys.path th</description>
<pubDate>23 Nov  2009 09:02:36 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789549</link>
</item><item>
<title>KirbyBase : replacing string exceptions</title>
<description>In KirbyBase there is a method that uses string exceptions for control, even though it has a defined exception. Is there any reason the string excepti</description>
<pubDate>23 Nov  2009 07:22:25 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789514</link>
</item><item>
<title>depikt (gtk-wrappers): Threads, inlining Pixbufs to python code</title>
<description>Hello, these days i make depikt, my replacement of pygtk. There are several reasons to do this: - Support for Python3 - Exact control of encoding i</description>
<pubDate>23 Nov  2009 06:12:10 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789504</link>
</item><item>
<title>depikt (gtk-wrappers): Threads, code-inlining Pixbufs</title>
<description>Hello, these days i make depikt, my replacement of pygtk. There are several reasons to do this: - Support for Python3 - Exact control of encoding i</description>
<pubDate>23 Nov  2009 05:37:10 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789490</link>
</item><item>
<title>Perl conversion to python...</title>
<description>Folks, I&amp;#039;m having some issues here with pyserial &amp;amp; trying to translate a perl script to python... It&amp;#039;s probably my inexperience with PySerial &amp;amp; perl</description>
<pubDate>23 Nov  2009 05:26:18 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789489</link>
</item><item>
<title>print function in python3.1</title>
<description>Python 3.1.1 sql = &amp;quot;INSERT INTO `tbl` VALUES (NULL, &amp;#039;%s&amp;#039;, &amp;#039;%s&amp;#039;, &amp;#039;%s&amp;#039;, &amp;#039;%s&amp;#039;, &amp;#039;%s&amp;#039;);&amp;quot; for row in fp:   print (sql, (row[0],row[1],row[2],row[3],row[4</description>
<pubDate>23 Nov  2009 05:07:57 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789487</link>
</item><item>
<title>python and netezza</title>
<description>Is there any module in python to connect with netezza database?(like cx_Oracle which is used to connect Oracle from python) Thanks for any help. - S</description>
<pubDate>23 Nov  2009 04:16:49 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789486</link>
</item><item>
<title>Python &amp;amp; OpenOffice Spreadsheets</title>
<description>Is there a *simple* way to read OpenOffice spreadsheets? Bonus: write them, too? I mean something like: doc.cells[0][0] = &amp;quot;foo&amp;quot; doc.save(&amp;quot;xyz.ods&amp;quot;)</description>
<pubDate>23 Nov  2009 02:49:29 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789467</link>
</item><item>
<title>Switching Databases</title>
<description>Hi; I have the following code: import MySQLdb ... user, passwd, db, host = login() db = MySQLdb.connect(host, user, passwd, &amp;#039;cart&amp;#039;) cursor= db.cursor</description>
<pubDate>23 Nov  2009 02:47:20 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789465</link>
</item><item>
<title>python and Postgresq</title>
<description>Hi, Does anyone have a link to, or can provide an example script for using python-pgsql (http://pypi.python.org/pypi/python-pgsql/) or if someone ca</description>
<pubDate>23 Nov  2009 02:03:07 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789453</link>
</item><item>
<title>lxml 2.2.4 for Python 2.6</title>
<description>Is there any reason why lxml-2.2.4-py2.6-win32.egg (md5) or lxml-2.2.4.win32-py2.6.exe is not available? Best regards, /Srijit -- http://mail.pyth</description>
<pubDate>23 Nov  2009 01:51:31 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789452</link>
</item><item>
<title>QtPython: removeChild/addChild QGroupBox</title>
<description>Hi Everybody, I am developing a system for a customer which is displayed in a set of GroupBox. Depending on mouse events, the container (groupBox) mu</description>
<pubDate>23 Nov  2009 01:35:26 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789450</link>
</item><item>
<title>multitasking</title>
<description>Hi, I want to know diffrent methods of multitasking supported by python(I want to run diffrent jobs simultaneously at same time) which is the good ap</description>
<pubDate>23 Nov  2009 00:06:26 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789437</link>
</item><item>
<title>Amoeba OS and Python</title>
<description>As I know, Python has been started for Amoeba OS. Did anybody try Python with it? What about speed? Python is so slow for big projects and I try to f</description>
<pubDate>22 Nov  2009 20:50:36 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789432</link>
</item><item>
<title>Re: Trying to understand += better</title>
<description>Roy Smith wrote: &amp;gt; If I&amp;#039;ve got an object foo, and I execute: &amp;gt; &amp;gt; foo.bar += baz &amp;gt; &amp;gt; exactly what happens if foo does not have a &amp;#039;bar&amp;#039; attribute? It</description>
<pubDate>22 Nov  2009 19:28:17 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789425</link>
</item><item>
<title>Implementation of Book Organization tool (Python2.[x])</title>
<description>Hi together, I&amp;#039;m a python-proficient newbie and want to tackle a program with Python 2.x, which basically organizes all my digital books (*.pdf, *.ch</description>
<pubDate>22 Nov  2009 18:06:50 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789418</link>
</item><item>
<title>problem manipulating a list belonging to a class</title>
<description>Dear all, I have a problem with the following code (ubuntu 8.04, Python 2.5.2): class Toto(object):     def __init__(self, number, mylist=[]):</description>
<pubDate>22 Nov  2009 14:50:43 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789413</link>
</item><item>
<title>creating pipelines in python</title>
<description>hi all, i am looking for a python package to make it easier to create a &amp;quot;pipeline&amp;quot; of scripts (all in python). what i do right now is have a set of s</description>
<pubDate>22 Nov  2009 14:49:01 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789412</link>
</item><item>
<title>xmlrpc idea for getting around the GIL</title>
<description>Has anyone every tried wrapping the CPython lib into a daemon with an RPC mechanism in order to move the GIL out of the process? I have multiple audio</description>
<pubDate>22 Nov  2009 13:38:23 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789402</link>
</item><item>
<title>TypeError: an integer is required</title>
<description>Hello, I am a newbie on oython and I am taking the error at subject my code is below, I am trying to develop a qgis plugin and lines begin with # is</description>
<pubDate>22 Nov  2009 09:59:29 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789385</link>
</item><item>
<title>Scripts Only Run In Root</title>
<description>Hi; I can only run my python scripts on my server if they are owned by root. How do I change that? TIA, Victor</description>
<pubDate>22 Nov  2009 09:39:10 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789383</link>
</item><item>
<title>scanning under windows WIA with custom settings (dpi / etc )</title>
<description>Hi, I&amp;#039;m trying to scan a document from a python 2.6 script without user interaction. I found a code snippet, that allows me to scan under Vista, bu</description>
<pubDate>22 Nov  2009 09:32:03 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789382</link>
</item><item>
<title>MySQLdb</title>
<description>Hi all. I have a mod_python script with two query:     cursor = db.cursor()     sql = &amp;#039;SELECT * FROM users where username=\&amp;#039;&amp;#039; + username +&amp;#039;</description>
<pubDate>22 Nov  2009 06:36:09 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789363</link>
</item><item>
<title>python regex &amp;quot;negative lookahead assertions&amp;quot; problems</title>
<description>Hi List, I&amp;#039;m trying to match lines in python using the re module. The end goal is to have a regex which enables me to skip lines which have ok and wa</description>
<pubDate>22 Nov  2009 05:58:09 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789352</link>
</item><item>
<title>Why Python allows comparison of a callable and a number?</title>
<description>I used python to write an assignment last week, here is a code snippet #================================ def departTime():   &amp;#039;&amp;#039;&amp;#039;   Calculate the</description>
<pubDate>22 Nov  2009 04:03:30 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789342</link>
</item><item>
<title>No-syntax Web-programming-IDE (was: Does turtle graphics have the wrong associations?)</title>
<description>&amp;gt; &amp;gt;&amp;gt;&amp;gt; My proposed no-syntax &amp;gt; &amp;gt;&amp;gt;&amp;gt; IDE *also* gets rid of the need to bother with any programming-language &amp;gt; &amp;gt;&amp;gt;&amp;gt; syntax. I&amp;#039;ve been proposing it for yea</description>
<pubDate>22 Nov  2009 04:03:28 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789344</link>
</item><item>
<title>yappi v0.3</title>
<description>Hi, yappi(yet another python profiler) is a Python Profiler with multithreading support. This is the last beta version with some major changes and bug</description>
<pubDate>22 Nov  2009 02:44:48 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789334</link>
</item><item>
<title>Sorting: too different times. Why?</title>
<description>Any comment: class Vector:   def __init__(self, x, y):     self.x = x     self.y = y   def __cmp__(self, v):     if self.x &amp;lt; v.x and</description>
<pubDate>22 Nov  2009 01:21:42 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789329</link>
</item><item>
<title>python setup.py build 32-bits on x86_64 machine</title>
<description>Hi, I am in x86_64 arch , but I need compile things on 32 bits. python setup.py build Can&amp;#039;t change the fact that distutils creates x86_64 directori</description>
<pubDate>21 Nov  2009 22:15:01 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789322</link>
</item><item>
<title>Imitating &amp;quot;tail -f&amp;quot;</title>
<description>I&amp;#039;m trying to simply imitate what &amp;quot;tail -f&amp;quot; does, i.e. read a file, wait until it&amp;#039;s appended to and process the new data, but apparently I&amp;#039;m missing s</description>
<pubDate>21 Nov  2009 18:43:31 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789310</link>
</item><item>
<title>parallel class structures for AST-based objects</title>
<description>I have been writing some code that parses a mini-language, and I am running into what I know is a pretty common design pattern problem, but I am wonde</description>
<pubDate>21 Nov  2009 15:23:26 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789296</link>
</item><item>
<title>Are you happy with the current web deployment options?</title>
<description>Phusion is a Dutch company that vastly improved the status quo of Ruby and Rails deployment through their open source module for Apache and nginx. No</description>
<pubDate>21 Nov  2009 14:53:53 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789291</link>
</item><item>
<title>pyspread 0.0.12a released</title>
<description>Pyspread is getting close to the first Beta. This new release should work with Windows as well as with Linux.  About ----- Pyspread is a cross-platf</description>
<pubDate>21 Nov  2009 14:39:29 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789364</link>
</item><item>
<title>plotting arrow in python</title>
<description>Dear friends, I am very new in python. Actually, I think I will not do much python then using it to plotting data. I have not done any &amp;quot;real&amp;quot; thing in</description>
<pubDate>21 Nov  2009 13:24:24 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789281</link>
</item><item>
<title>How do I create a vanilla object in C?</title>
<description>I need to create a vanilla object in C, something I can do PyObject_SetAttr on. Obviously, I do something somewhat like this every time I create a mi</description>
<pubDate>21 Nov  2009 12:49:23 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789280</link>
</item><item>
<title>memoize again</title>
<description>I spent a lot of time looking for tips on how to properly write cache / memoize function. Testing, merging and fixing contributed but half finished pi</description>
<pubDate>21 Nov  2009 11:44:57 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789277</link>
</item><item>
<title>Problem combining Scientific (leastSquaresFit) and scipy (odeint)</title>
<description>Hi, I need to perform leastSquaresFit of a model that is given by a differential equation for which there seems to be no analytic solution. So, I am</description>
<pubDate>21 Nov  2009 11:19:02 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789273</link>
</item><item>
<title>pythonpath</title>
<description>Is there a way to make python point to a different directory for modules. I don&amp;#039;t like to keep my modules in the program directory, but I can&amp;#039;t figure</description>
<pubDate>21 Nov  2009 11:10:20 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789278</link>
</item><item>
<title>problem with pyqt.. help please...</title>
<description>Hi friends,       I&amp;#039;ve recently changed to ubuntu 9.04.. I&amp;#039;ve not had any problem with the installation of pyqt as it is available from the ubu</description>
<pubDate>21 Nov  2009 05:47:56 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789238</link>
</item><item>
<title>crontab problem</title>
<description>Hi; I have the following in crontab -eu root: @daily /usr/local/bin/mysql-backup-daily.sh @weekly /usr/local/bin/mysql-backup-weekly.sh @monthly /usr/</description>
<pubDate>21 Nov  2009 05:47:14 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789237</link>
</item><item>
<title>python server developer</title>
<description>Hello, We are looking for Python server developer location : Hyderabad Experience : 3 years . Send me your updated resume with availability for Teleph</description>
<pubDate>21 Nov  2009 05:44:07 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789236</link>
</item><item>
<title>Problem w/ smtplib</title>
<description>Hi; I get the following error:  /var/www/html/globalsolutionsgroup.vi/mailSpreadsheet.py  52  session.sendmail(clientEmail, ourEmail1, header+msg</description>
<pubDate>21 Nov  2009 05:19:52 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789235</link>
</item><item>
<title>How do I print to text browser with Qthread? (in PyQt)</title>
<description>Hello, I wrote Qthread that gets in the constructor a textBrowser from PyQt application and I tryed to print in this widget text that is updated each</description>
<pubDate>21 Nov  2009 04:44:02 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789234</link>
</item><item>
<title>Re: extending dictonary</title>
<description>On Sat, 21 Nov 2009 09:25:38 +0100, nospam wrote: &amp;gt; Is there any way to extend the dictonary in such manner that I can &amp;gt; insert muliplay value to eac</description>
<pubDate>21 Nov  2009 01:50:28 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789220</link>
</item><item>
<title>extending dictonary</title>
<description>Is there any way to extend the dictonary in such manner that I can insert muliplay value to each keys and return one of the value as the default val</description>
<pubDate>21 Nov  2009 00:25:38 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789292</link>
</item><item>
<title>Go versus Brand X</title>
<description>Comparing Go to another computer language -- do you recognize it? http://www.cowlark.com/2009-11-15-go/ -- Aahz (aahz@pythoncraft.com)      &amp;lt;*&amp;gt;</description>
<pubDate>20 Nov  2009 17:12:36 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789206</link>
</item><item>
<title>ANN: PyGUI Mailing List</title>
<description>There is now a mailing list for discussion of PyGUI:   http://mail.python.org/mailman/listinfo/pygui  What is PyGUI? -------------- PyGUI is a cro</description>
<pubDate>20 Nov  2009 16:26:57 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789255</link>
</item><item>
<title>Gray Hat Python: Python Programming for Hackers Soft copy</title>
<description>Hi i`m looking for a place to get a soft copy of &amp;#039;Gray Hat Python: Python Programming for Hackers&amp;#039; may be a pdf or chm format. Thank you</description>
<pubDate>20 Nov  2009 12:31:06 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789186</link>
</item><item>
<title>Newbie question about scrapy tutorial</title>
<description>Hello, I have a question about scrapy tutorial and I put 2 questions in the scrapy group http://groups.google.com/group/scrapy-users/t/d5afae7d88672</description>
<pubDate>20 Nov  2009 08:46:30 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789148</link>
</item><item>
<title>No duplicate variable</title>
<description>class A(object):   def __init__(self, value=0.):     self.value = value class B(A):   def __init__(self, value=None):     A.__init__(self</description>
<pubDate>20 Nov  2009 08:38:54 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789146</link>
</item><item>
<title>semantics of [:]</title>
<description>Could someone help confirm/clarify the semantics of the [:] operator in Python? a = range(51,55) ############# 1 ################## b = a[:] # b rec</description>
<pubDate>20 Nov  2009 08:15:55 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789140</link>
</item><item>
<title>Serve Pages Under Different Ownership</title>
<description>Hi; I&amp;#039;m building a new server after many years hiatus. I currently can only serve python pages chown&amp;#039;d to root. How do I change this? TIA, Victor</description>
<pubDate>20 Nov  2009 08:15:49 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789139</link>
</item><item>
<title>Split class across multiple files</title>
<description>I have a class which holds a connection to a server and a bunch of services. In this class I have methods that need to work with that connection and s</description>
<pubDate>20 Nov  2009 08:14:23 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789137</link>
</item><item>
<title>Too Many Values To Unpack</title>
<description>Hi; At one point Dennis Lee Bieber helped me with the following slightly modified code: #!/usr/bin/python import sys,os sys.path.append(os.getcwd())</description>
<pubDate>20 Nov  2009 07:45:15 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789118</link>
</item><item>
<title>Regexp and multiple groups (with repeats)</title>
<description>Hello,  &amp;gt;&amp;gt;&amp;gt; r=re.compile(r&amp;#039;(?:[a-zA-Z]:)([\\/]\w+)+&amp;#039;)  &amp;gt;&amp;gt;&amp;gt; r.search(r&amp;#039;c:/tmp/spam/eggs&amp;#039;).groups() (&amp;#039;/eggs&amp;#039;,) Obviously, I would like to capture all</description>
<pubDate>20 Nov  2009 04:03:04 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789102</link>
</item><item>
<title>Announcement: depikt - the minimalistic python gate to gtk</title>
<description>Hi all, these days i make depikt, a python C-extension for building apps with gtk. It was a challenge for me and big fun. From its short description</description>
<pubDate>20 Nov  2009 02:51:10 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789107</link>
</item><item>
<title>Book: Programming Python 3 (Second Edition) now available</title>
<description>Hi, I&amp;#039;m delighted to announce that a new edition of my Python 3 book is now available in the U.S. &amp;quot;Programming in Python 3 (Second Edition): A Compl</description>
<pubDate>20 Nov  2009 02:20:17 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789105</link>
</item><item>
<title>checking &amp;#039;type&amp;#039; programmatically</title>
<description>Disclaimer: this is for exploring and debugging only. Really. I can check type or __class__ in the interactive interpreter: Python 2.6.2 (r262:71600</description>
<pubDate>20 Nov  2009 02:10:18 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789096</link>
</item><item>
<title>Is there something similar to list comprehension in dict?</title>
<description>I&amp;#039;m wondering if there is something similar to list comprehension for dict (please see the example code below).  d = dict(one=1, two=2) print d def</description>
<pubDate>19 Nov  2009 19:18:04 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789001</link>
</item><item>
<title>Re: Whom Must We Worship</title>
<description>On Sun, 15 Nov 2009 00:17:43 -0800, Mary wrote: &amp;gt; Whom Must We Worship &amp;lt;many lines of insane drivel deleted&amp;gt; &amp;gt; The Decision is yours! Thank you, I</description>
<pubDate>19 Nov  2009 18:01:26 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789055</link>
</item><item>
<title>python bijection</title>
<description>I couldn&amp;#039;t find a library providing a bijective map data structure (allowing for constant-time lookups by value) in the few minutes I looked, so I too</description>
<pubDate>19 Nov  2009 15:24:46 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/789050</link>
</item><item>
<title>Re: Python-list Digest, Vol 74, Issue 245</title>
<description>On Thu, Nov 19, 2009 at 7:05 PM, &amp;lt;python-list-request@python.org&amp;gt; wrote: &amp;gt; &amp;gt; ---------- ---------- &amp;gt; From: Threader Slash &amp;lt;threaderslash@gmail.com&amp;gt;</description>
<pubDate>19 Nov  2009 14:00:36 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/788969</link>
</item>
</channel>
</rss>
