<?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>08 Nov  2009 16:51:59 -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>Re: Commenting and uncommenting from the shell</title>
<description>On Sun, Nov 8, 2009 at 3:13 PM, Ray Holt &amp;lt;mrholtsr@sbcglobal.net&amp;gt; wrote: &amp;gt; Can you comment and uncomment code from the shell. I know that the format &amp;gt;</description>
<pubDate>08 Nov  2009 16:18:54 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786360</link>
</item><item>
<title>Re: Cancelling a python thread (revisited...)</title>
<description>On Nov 8, 2:50 pm, exar...@twistedmatrix.com wrote: &amp;gt; I&amp;#039;m curious how this visualization works, since earlier you said &amp;gt; something to the affect that</description>
<pubDate>08 Nov  2009 15:59:53 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786358</link>
</item><item>
<title>Re: fetch all tweets..</title>
<description>&amp;gt; This question is for any python-twitter developer while I don&amp;#039;t use python-twitter, I do use Andrew Price&amp;#039;s Twyt for my python+twitter scripting (</description>
<pubDate>08 Nov  2009 15:21:23 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786357</link>
</item><item>
<title>Commenting and uncommenting from the shell</title>
<description>Can you comment and uncomment code from the shell. I know that the format meny only shows in the edit window. I tried crtl + 3, which is what it said</description>
<pubDate>08 Nov  2009 15:13:15 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786359</link>
</item><item>
<title>Re: advice needed for lazy evaluation mechanism</title>
<description>Hi again, I put a copy of the message and the tarball of the code here (because of the problem of line breaks): http://python-advocacy.wikidot.com/c</description>
<pubDate>08 Nov  2009 15:04:54 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786356</link>
</item><item>
<title>Re: list vs tuple for a dict key- why aren&amp;#039;t both hashable?</title>
<description>On Nov 8, 2:42 pm, Mick Krippendorf &amp;lt;mad.m...@gmx.de&amp;gt; wrote: &amp;gt; Wells wrote: &amp;gt; &amp;gt; I&amp;#039;m not quite understanding why a tuple is hashable but a list is not.</description>
<pubDate>08 Nov  2009 15:01:15 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786355</link>
</item><item>
<title>fetch all tweets..</title>
<description>This question is for any python-twitter developer I want to develop an application using python twitter . Just look at the code... import twitter</description>
<pubDate>08 Nov  2009 14:46:24 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786354</link>
</item><item>
<title>advice needed for lazy evaluation mechanism</title>
<description>Hi, Could you please give me some advice on the piece of code I am writing? My system has several possible outputs, some of them are not always need</description>
<pubDate>08 Nov  2009 14:41:27 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786353</link>
</item><item>
<title>Re: Most efficient way to &amp;quot;pre-grow&amp;quot; a list?</title>
<description>On 11/7/2009 5:18 PM Carl Banks said... &amp;gt; I think the top one is O(N log N), and I&amp;#039;m suspicious that it&amp;#039;s even &amp;gt; possible to grow a list in less than</description>
<pubDate>08 Nov  2009 13:59:53 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786347</link>
</item><item>
<title>on &amp;quot;Namespaces&amp;quot;</title>
<description>New bie Question: in &amp;quot;Zen of Python&amp;quot; - what exactly does the last one mean ? - Namespaces are one honking great idea -- let&amp;#039;s do more of those! I mea</description>
<pubDate>08 Nov  2009 13:20:23 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786346</link>
</item><item>
<title>Re: list vs tuple for a dict key- why aren&amp;#039;t both hashable?</title>
<description>Wells wrote: &amp;gt; I&amp;#039;m not quite understanding why a tuple is hashable but a list is not. The short answer has already been given. Here is the long answe</description>
<pubDate>08 Nov  2009 12:42:21 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786345</link>
</item><item>
<title>Re: pyserial vs. Linux power save hibernate/resume - program hangs</title>
<description>In article &amp;lt;4af71b7e$0$1645$742ec2ed@news.sonic.net&amp;gt;, John Nagle &amp;lt;nagle@animats.com&amp;gt; wrote: &amp;gt;   I have an application running with pyserial talking</description>
<pubDate>08 Nov  2009 12:21:13 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786344</link>
</item><item>
<title>Re: Indentation problems</title>
<description>&amp;gt; I am having problems with indentation some times. When I hit the enter key &amp;gt; after if statements or while statemt there are times when the indentati</description>
<pubDate>08 Nov  2009 11:48:06 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786331</link>
</item><item>
<title>Re: is None or == None ?</title>
<description>Alf P. Steinbach wrote: &amp;gt; * Hrvoje Niksic: &amp;gt;&amp;gt; &amp;quot;Alf P. Steinbach&amp;quot; &amp;lt;alfps@start.no&amp;gt; writes: &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; * Hrvoje Niksic: &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;quot;Alf P. Steinbach&amp;quot; &amp;lt;alfps@start</description>
<pubDate>08 Nov  2009 11:45:31 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786330</link>
</item><item>
<title>Re: My own accounting python euler problem</title>
<description>vsoler schreef: &amp;gt; &amp;gt; Instead of subsets, do you mean permutations/combinations? Since 2 &amp;gt; invoices can have the same amount perhaps the terms permuta</description>
<pubDate>08 Nov  2009 11:42:09 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786329</link>
</item><item>
<title>Re: Spam Bot, broken pipe</title>
<description>Someone Something wrote: &amp;gt; I have a irc spam bot (only testing on my channel :P ) whose main loop is &amp;gt; the following: Poor choice of words on your pa</description>
<pubDate>08 Nov  2009 11:39:10 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786332</link>
</item><item>
<title>Re: Looking for help getting tkinter to work.</title>
<description>On Nov 1, 6:27 am, Francesco Bochicchio &amp;lt;bieff...@gmail.com&amp;gt; wrote: &amp;gt; On Nov 1, 4:06 am, Shue Boks &amp;lt;shoebox56car...@gmail.com&amp;gt; wrote: &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; I trie</description>
<pubDate>08 Nov  2009 11:38:31 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786328</link>
</item><item>
<title>pyserial vs. Linux power save hibernate/resume - program hangs</title>
<description>I have an application running with pyserial talking to a USB to serial converter on a Linux EeePC 2G Surf. This works. Until the lid on the PC is cl</description>
<pubDate>08 Nov  2009 11:36:33 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786325</link>
</item><item>
<title>Re: Cancelling a python thread (revisited...)</title>
<description>John Nagle &amp;lt;nagle &amp;lt;at&amp;gt; animats.com&amp;gt; writes: &amp;gt; &amp;gt;   I&amp;#039;d argue against general thread cancellation. Inter-thread &amp;gt; signals, though, have safety probl</description>
<pubDate>08 Nov  2009 11:34:00 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786326</link>
</item><item>
<title>Re: My own accounting python euler problem</title>
<description>Dan Bishop schreef: &amp;gt; &amp;gt; You can avoid the S list my making it a generator: &amp;gt; &amp;gt; def subsets(L): &amp;gt;   if L: &amp;gt;     for s in subsets(L[1:]): &amp;gt;</description>
<pubDate>08 Nov  2009 11:33:54 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786327</link>
</item><item>
<title>Indentation problems</title>
<description>I am having problems with indentation some times. When I hit the enter key after if statements or while statemt there are times when the indentation i</description>
<pubDate>08 Nov  2009 11:01:37 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786324</link>
</item><item>
<title>Re: list vs tuple for a dict key- why aren&amp;#039;t both hashable?</title>
<description>Wells wrote: &amp;gt; I&amp;#039;m not quite understanding why a tuple is hashable but a list is not. &amp;gt; Any pointers? Thanks! A hash is created from the object. If t</description>
<pubDate>08 Nov  2009 10:52:06 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786323</link>
</item><item>
<title>Re: Cancelling a python thread (revisited...)</title>
<description>Antoine Pitrou wrote: &amp;gt; Le Sun, 08 Nov 2009 04:40:26 -0800, sven a Ã©crit : &amp;gt;&amp;gt; I really don&amp;#039;t get that. If the reason would be that it is too much &amp;gt;&amp;gt;</description>
<pubDate>08 Nov  2009 10:39:27 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786320</link>
</item><item>
<title>Re: list vs tuple for a dict key- why aren&amp;#039;t both hashable?</title>
<description>On Sun, 8 Nov 2009, Wells wrote: &amp;gt; I&amp;#039;m not quite understanding why a tuple is hashable but a list is not. &amp;gt; Any pointers? Thanks! The keys of a dict</description>
<pubDate>08 Nov  2009 10:33:12 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786322</link>
</item><item>
<title>Re: list vs tuple for a dict key- why aren&amp;#039;t both hashable?</title>
<description>On Sun, Nov 8, 2009 at 11:15 AM, Wells &amp;lt;wells@submute.net&amp;gt; wrote: &amp;gt; I&amp;#039;m not quite understanding why a tuple is hashable but a list is not. &amp;gt; Any point</description>
<pubDate>08 Nov  2009 10:31:09 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786321</link>
</item><item>
<title>list vs tuple for a dict key- why aren&amp;#039;t both hashable?</title>
<description>I&amp;#039;m not quite understanding why a tuple is hashable but a list is not. Any pointers? Thanks! -- http://mail.python.org/mailman/listinfo/python-list</description>
<pubDate>08 Nov  2009 10:15:06 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786319</link>
</item><item>
<title>Re: Help with OS X installation</title>
<description>On Sun, Nov 8, 2009 at 11:57 AM, stephen_b &amp;lt;redplusbluemakespurple@gmail.com&amp;gt; wrote: &amp;gt; I have  python 2.6 on OS X 10.5.8: &amp;gt; &amp;gt; $ python --version &amp;gt; Pyt</description>
<pubDate>08 Nov  2009 10:12:54 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786310</link>
</item><item>
<title>Re: ODES</title>
<description>On Sun, Nov 8, 2009 at 12:01 PM, NGABONZIZA PROSPER &amp;lt;ngabonzizap72@gmail.com&amp;gt; wrote: &amp;gt; Hi all; &amp;gt; &amp;gt; &amp;gt; Help! &amp;gt; &amp;gt; Could you Tell me where I may find docu</description>
<pubDate>08 Nov  2009 09:53:45 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786309</link>
</item><item>
<title>Re: Serious Privileges Problem: Please Help</title>
<description>[root@13gems angrynates.com]# chcon -R -h unconfined_u:object_r:httpd_sys_content_t global_solutions/* Then I surfed to http://209.216.9.56/global_so</description>
<pubDate>08 Nov  2009 09:40:58 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786308</link>
</item><item>
<title>Re: My own accounting python euler problem</title>
<description>On Sun, Nov 8, 2009 at 12:31 PM, geremy condra &amp;lt;debatem1@gmail.com&amp;gt; wrote: &amp;gt; On Sun, Nov 8, 2009 at 11:52 AM, Dan Bishop &amp;lt;danb_83@yahoo.com&amp;gt; wrote: &amp;gt;&amp;gt;</description>
<pubDate>08 Nov  2009 09:36:39 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786307</link>
</item><item>
<title>Re: My own accounting python euler problem</title>
<description>On Sun, Nov 8, 2009 at 11:52 AM, Dan Bishop &amp;lt;danb_83@yahoo.com&amp;gt; wrote: &amp;gt; On Nov 8, 4:43 am, Ozz &amp;lt;notva...@wathever.com&amp;gt; wrote: &amp;gt;&amp;gt; Hi, &amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; My first</description>
<pubDate>08 Nov  2009 09:31:26 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786306</link>
</item><item>
<title>Re: Serious Privileges Problem: Please Help</title>
<description>On Sunday 08 November 2009 05:44:31 Victor Subervi wrote: &amp;gt; [root@13gems angrynates.com]# chcon -u unconfined_u -r object_r -t &amp;gt; httpd_sys_content_t g</description>
<pubDate>08 Nov  2009 09:28:41 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786305</link>
</item><item>
<title>Re: My own accounting python euler problem</title>
<description>Ozz wrote: &amp;gt; &amp;gt; Hi, &amp;gt; &amp;gt;&amp;gt; My first question is: &amp;gt;&amp;gt; 1. given a list of invoives I=[500, 400, 450, 200, 600, 700] and a &amp;gt;&amp;gt; check Ch=600 &amp;gt;&amp;gt; how can I pri</description>
<pubDate>08 Nov  2009 09:27:01 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786304</link>
</item><item>
<title>Re: My own accounting python euler problem</title>
<description>On Nov 8, 1:27 pm, Ozz &amp;lt;notva...@wathever.com&amp;gt; wrote: &amp;gt; Robert P. J. Day schreef: &amp;gt; &amp;gt; &amp;gt;   does your solution allow for the possibility of different in</description>
<pubDate>08 Nov  2009 09:16:27 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786303</link>
</item><item>
<title>Re: Help with OS X installation</title>
<description>stephen_b schrieb: &amp;gt; I have python 2.6 on OS X 10.5.8: &amp;gt; &amp;gt; $ python --version &amp;gt; Python 2.6.2 &amp;gt; &amp;gt; $ which python &amp;gt; /Library/Frameworks/Python.framew</description>
<pubDate>08 Nov  2009 09:12:12 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786302</link>
</item><item>
<title>ODES</title>
<description>Hi all;  Help! Could you Tell me where I may find documentation on Solving Differential equations with Scipy or Numpy.  Thank you all -- http:/</description>
<pubDate>08 Nov  2009 09:01:09 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786301</link>
</item><item>
<title>Help with OS X installation</title>
<description>I have python 2.6 on OS X 10.5.8: $ python --version Python 2.6.2 $ which python /Library/Frameworks/Python.framework/Versions/2.6/bin/python When</description>
<pubDate>08 Nov  2009 08:57:18 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786300</link>
</item><item>
<title>Re: My own accounting python euler problem</title>
<description>On Nov 8, 4:43 am, Ozz &amp;lt;notva...@wathever.com&amp;gt; wrote: &amp;gt; Hi, &amp;gt; &amp;gt; &amp;gt; My first question is: &amp;gt; &amp;gt; 1. given a list of invoives I=[500, 400, 450, 200, 600, 70</description>
<pubDate>08 Nov  2009 08:52:37 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786299</link>
</item><item>
<title>Re: Need help for my system python</title>
<description>SOLVED. For some reason a &amp;quot;zope&amp;quot; directory were inside my site-packages folder, so the zope.interface egg was not visible... On Sun, Nov 8, 2009 at 4</description>
<pubDate>08 Nov  2009 08:27:29 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786298</link>
</item><item>
<title>Re: Query about doing fortran-esque repeat formatting</title>
<description>On Nov 8, 8:56ï¿½am, Rob Briggs &amp;lt;rdbri...@mun.ca&amp;gt; wrote: &amp;gt; Hello, &amp;gt; &amp;gt; Is there a way to do a repeat formatting command like in Fortran? Rather &amp;gt; that</description>
<pubDate>08 Nov  2009 08:08:55 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786294</link>
</item><item>
<title>Need help for my system python</title>
<description>Hi all. I&amp;#039;ve recently updated my system to the last Kubuntu 9.10. On my system I use: python2.6 (default system python) python 2.4 (needed for the Z</description>
<pubDate>08 Nov  2009 07:57:37 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786293</link>
</item><item>
<title>PySiteCreator v0.1 released</title>
<description>Hi group, I&amp;#039;ve released a tool for creating HTML pages or Web sites by writing them in Python - PySiteCreator v0.1. Description of PySiteCreator: P</description>
<pubDate>08 Nov  2009 07:34:23 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786292</link>
</item><item>
<title>Re: Most efficient way to &amp;quot;pre-grow&amp;quot; a list?</title>
<description>In &amp;lt;mailman.44.1257626420.2873.python-list@python.org&amp;gt; Luis Alberto Zarrabeitia Gomez &amp;lt;kyrie@uh.cu&amp;gt; writes: &amp;gt;¿Have you ever tried to read list/matrix</description>
<pubDate>08 Nov  2009 07:20:42 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786290</link>
</item><item>
<title>Query about doing fortran-esque repeat formatting</title>
<description>Hello,  Is there a way to do a repeat formatting command like in Fortran? Rather that doing this: print &amp;quot;%s %-5.3f %-5.3f %-5.3f %-5.3f %-5.3f %-5.3</description>
<pubDate>08 Nov  2009 06:56:18 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786291</link>
</item><item>
<title>Re: Cancelling a python thread (revisited...)</title>
<description>Le Sun, 08 Nov 2009 04:40:26 -0800, sven a Ã©critÂ : &amp;gt; &amp;gt; I really don&amp;#039;t get that. If the reason would be that it is too much &amp;gt; work to &amp;gt; implement,</description>
<pubDate>08 Nov  2009 05:52:17 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786289</link>
</item><item>
<title>Re: Cancelling a python thread (revisited...)</title>
<description>On 12:40 pm, sven@uni-hd.de wrote: &amp;gt;On Nov 8, 4:27 am, Carl Banks &amp;lt;pavlovevide...@gmail.com&amp;gt; wrote: &amp;gt;&amp;gt;It doesn&amp;#039;t sound like the thread is communicatin</description>
<pubDate>08 Nov  2009 05:50:07 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786288</link>
</item><item>
<title>Re: How convert string &amp;#039;1e7&amp;#039; to an integer?</title>
<description>Thomas wrote: &amp;gt; Just a curiosity, why does Python do this? &amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; [(base, int(&amp;#039;1e7&amp;#039;, base=base)) for base in range(15,37)] &amp;gt; [.(15, 442), (16, 487),</description>
<pubDate>08 Nov  2009 05:39:05 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786287</link>
</item><item>
<title>Re: Most efficient way to &amp;quot;pre-grow&amp;quot; a list?</title>
<description>On Nov 6, 8:46 pm, gil_johnson &amp;lt;gil_john...@earthlink.net&amp;gt; wrote: &amp;gt; I don&amp;#039;t have the code with me, but for huge arrays, I have used &amp;gt; something like:</description>
<pubDate>08 Nov  2009 05:08:35 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786286</link>
</item><item>
<title>Re: Most efficient way to &amp;quot;pre-grow&amp;quot; a list?</title>
<description>On Nov 6, 8:46 pm, gil_johnson &amp;lt;gil_john...@earthlink.net&amp;gt; wrote: &amp;gt; &amp;gt;&amp;gt;&amp;gt; arr[0] = initializer &amp;gt; &amp;gt;&amp;gt;&amp;gt; for i in range N: &amp;gt; &amp;gt;&amp;gt;&amp;gt;      arr.extend(arr) &amp;gt; &amp;gt; T</description>
<pubDate>08 Nov  2009 04:45:20 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786285</link>
</item><item>
<title>Re: How convert string &amp;#039;1e7&amp;#039; to an integer?</title>
<description>Just a curiosity, why does Python do this? &amp;gt;&amp;gt;&amp;gt; l = [(base, int(&amp;#039;1e7&amp;#039;, base=base)) for base in range(15,37)] &amp;gt;&amp;gt;&amp;gt; l [.(15, 442), (16, 487), (17, 534),</description>
<pubDate>08 Nov  2009 04:40:29 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786284</link>
</item><item>
<title>Re: Cancelling a python thread (revisited...)</title>
<description>On Nov 8, 4:27 am, Carl Banks &amp;lt;pavlovevide...@gmail.com&amp;gt; wrote: &amp;gt; It doesn&amp;#039;t sound like the thread is communicating with the process &amp;gt; much.  Therefor</description>
<pubDate>08 Nov  2009 04:40:26 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786283</link>
</item><item>
<title>Re: My own accounting python euler problem</title>
<description>Robert P. J. Day schreef: &amp;gt;  does your solution allow for the possibility of different invoices &amp;gt; of equal amounts? i would be reluctant to use the</description>
<pubDate>08 Nov  2009 04:27:46 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786282</link>
</item><item>
<title>Re: My own accounting python euler problem</title>
<description>Oops, &amp;gt; For listing all different subsets of a list (This is what I came up &amp;gt; with. Can it be implemented shorter, btw?): &amp;gt; &amp;gt; def subsets(L): &amp;gt;</description>
<pubDate>08 Nov  2009 04:20:42 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786281</link>
</item><item>
<title>Re: My own accounting python euler problem</title>
<description>On Sun, 8 Nov 2009, Ozz wrote: &amp;gt; &amp;gt; Hi, &amp;gt; &amp;gt; &amp;gt; My first question is: &amp;gt; &amp;gt; 1. given a list of invoives I=[500, 400, 450, 200, 600, 700] and a &amp;gt; &amp;gt; check C</description>
<pubDate>08 Nov  2009 04:14:00 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786275</link>
</item><item>
<title>Re: &amp;#039;ascii&amp;#039; codec can&amp;#039;t encode character u&amp;#039;\xe4&amp;#039; in position 4: ordinal not in range(128)</title>
<description>balavignesh &amp;lt;kbalavignesh@gmail.com&amp;gt; writes: &amp;gt; Whats the wrong in my code? Without seeing your code, all we could do is guess, poorly. Far better w</description>
<pubDate>08 Nov  2009 02:51:54 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786274</link>
</item><item>
<title>Re: Serious Privileges Problem: Please Help</title>
<description>On Saturday 07 November 2009 23:59:23 Victor Subervi wrote: &amp;gt; restorecon didn&amp;#039;t change ls -lZ output Did the suggested changes to the Apache configur</description>
<pubDate>08 Nov  2009 02:49:54 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786273</link>
</item><item>
<title>Re: My own accounting python euler problem</title>
<description>Hi, &amp;gt; My first question is: &amp;gt; 1. given a list of invoives I=[500, 400, 450, 200, 600, 700] and a &amp;gt; check Ch=600 &amp;gt; how can I print all the different c</description>
<pubDate>08 Nov  2009 02:43:42 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786272</link>
</item><item>
<title>&amp;#039;ascii&amp;#039; codec can&amp;#039;t encode character u&amp;#039;\xe4&amp;#039; in position 4: ordinal not in range(128)</title>
<description>Hello friends,       I am using pyWPS + GRASS to generate the maps for the given request XML. As my requestxml contains scandinavian letters , i</description>
<pubDate>08 Nov  2009 02:37:09 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786271</link>
</item><item>
<title>Re: is None or == None ?</title>
<description>* Hrvoje Niksic: &amp;gt; &amp;quot;Alf P. Steinbach&amp;quot; &amp;lt;alfps@start.no&amp;gt; writes: &amp;gt; &amp;gt;&amp;gt; * Hrvoje Niksic: &amp;gt;&amp;gt;&amp;gt; &amp;quot;Alf P. Steinbach&amp;quot; &amp;lt;alfps@start.no&amp;gt; writes: &amp;gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; Speedup</description>
<pubDate>08 Nov  2009 02:34:55 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786270</link>
</item><item>
<title>Re: is None or == None ?</title>
<description>&amp;quot;Alf P. Steinbach&amp;quot; &amp;lt;alfps@start.no&amp;gt; writes: &amp;gt; * Hrvoje Niksic: &amp;gt;&amp;gt; &amp;quot;Alf P. Steinbach&amp;quot; &amp;lt;alfps@start.no&amp;gt; writes: &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Speedup would likely be more rea</description>
<pubDate>08 Nov  2009 02:00:17 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786268</link>
</item><item>
<title>Re: How convert string &amp;#039;1e7&amp;#039; to an integer?</title>
<description>Gary Herron schreef: &amp;gt; Mensanator wrote: &amp;gt;&amp;gt; On Nov 7, 7:17 pm, Peng Yu &amp;lt;pengyu...@gmail.com&amp;gt; wrote: &amp;gt;&amp;gt;  &amp;gt;&amp;gt;&amp;gt; It seems that int() does not convert &amp;#039;1e</description>
<pubDate>08 Nov  2009 01:37:34 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786267</link>
</item><item>
<title>Re: Serious Privileges Problem: Please Help</title>
<description>restorecon didn&amp;#039;t change ls -lZ output Can you give me the exact command for chcon? It complains there are too few arguments, and I couldn&amp;#039;t figure it</description>
<pubDate>07 Nov  2009 23:59:23 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786265</link>
</item><item>
<title>Re: My own accounting python euler problem</title>
<description>vsoler wrote: As mentioned in the other answers, your problem is best solved by a long overdue organisational decision instead of a technical one. M</description>
<pubDate>07 Nov  2009 23:27:43 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786264</link>
</item><item>
<title>Re: Most efficient way to &amp;quot;pre-grow&amp;quot; a list?</title>
<description>kj &amp;lt;no.email@please.post&amp;gt; writes: &amp;gt; The best I can come up with is this: &amp;gt; &amp;gt; arr = [None] * 1000000 &amp;gt; &amp;gt; Is this the most efficient way to achieve thi</description>
<pubDate>07 Nov  2009 23:07:25 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786263</link>
</item><item>
<title>Re: is None or == None ?</title>
<description>* Hrvoje Niksic: &amp;gt; &amp;quot;Alf P. Steinbach&amp;quot; &amp;lt;alfps@start.no&amp;gt; writes: &amp;gt; &amp;gt;&amp;gt; Speedup would likely be more realistic with normal implementation (not &amp;gt;&amp;gt; fiddlin</description>
<pubDate>07 Nov  2009 22:27:27 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786262</link>
</item><item>
<title>Re: Cancelling a python thread (revisited...)</title>
<description>Carl Banks wrote: &amp;gt; Arguing that there are good reasons to allow killing threads isn&amp;#039;t &amp;gt; going to get you very far. The language developers already k</description>
<pubDate>07 Nov  2009 21:14:33 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786258</link>
</item><item>
<title>RE: How to parse HTTP time header?</title>
<description>&amp;gt;&amp;gt;&amp;gt;&amp;gt; Page 20 of RFC2616 (HTTP) describes the format(s) for the time &amp;gt;&amp;gt;&amp;gt;&amp;gt; header. It wouldn&amp;#039;t be too difficult for me to code up a solution &amp;gt;&amp;gt;&amp;gt;&amp;gt; for t</description>
<pubDate>07 Nov  2009 20:46:42 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786257</link>
</item><item>
<title>Re: How to parse HTTP time header?</title>
<description>On Nov 7, 2009, at 10:56 PM, Kevin Ar18 wrote: &amp;gt; &amp;gt;&amp;gt;&amp;gt; Basically, I&amp;#039;m wondering if it is part of the standard library &amp;gt;&amp;gt;&amp;gt; somewhere before I code my ow</description>
<pubDate>07 Nov  2009 20:19:11 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786256</link>
</item><item>
<title>Re: How to parse HTTP time header?</title>
<description>&amp;gt;&amp;gt; Basically, I&amp;#039;m wondering if it is part of the standard library  &amp;gt;&amp;gt; somewhere before I code my own. &amp;gt;&amp;gt; &amp;gt;&amp;gt; Page 20 of RFC2616 (HTTP) describes the f</description>
<pubDate>07 Nov  2009 19:56:27 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786249</link>
</item><item>
<title>Re: How to parse HTTP time header?</title>
<description>On Nov 7, 2009, at 10:39 PM, Kevin Ar18 wrote: &amp;gt; &amp;gt; Basically, I&amp;#039;m wondering if it is part of the standard library  &amp;gt; somewhere before I code my own.</description>
<pubDate>07 Nov  2009 19:48:28 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786248</link>
</item><item>
<title>How to parse HTTP time header?</title>
<description>Basically, I&amp;#039;m wondering if it is part of the standard library somewhere before I code my own. Page 20 of RFC2616 (HTTP) describes the format(s) for</description>
<pubDate>07 Nov  2009 19:39:31 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786247</link>
</item><item>
<title>Re: Cancelling a python thread (revisited...)</title>
<description>On Nov 7, 6:04 pm, Sven Marnach &amp;lt;s...@pantoffel-wg.de&amp;gt; wrote: &amp;gt; So do I really have to refactor my C library just because Python &amp;gt; Thread objects lack</description>
<pubDate>07 Nov  2009 19:27:52 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786246</link>
</item><item>
<title>Re: An assessment of Tkinter and IDLE</title>
<description>More on canvas widget... The Canvas widget should return objects and not simple tags/ids for canvas items *OR* at least allow for me to add attribute</description>
<pubDate>07 Nov  2009 18:57:26 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786245</link>
</item><item>
<title>Re: Spam Bot, broken pipe</title>
<description>anyone? On Sat, Nov 7, 2009 at 9:06 PM, Someone Something &amp;lt;fordhaivat@gmail.com&amp;gt;wrote: &amp;gt; &amp;gt; &amp;gt; I&amp;#039;m just testing it on my channel! I promise! Besides,</description>
<pubDate>07 Nov  2009 18:37:34 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786243</link>
</item><item>
<title>Re: PyQt processEvents not processing</title>
<description>On Nov 8, 12:04 am, David Boddie &amp;lt;da...@boddie.org.uk&amp;gt; wrote: &amp;gt; On Saturday 07 November 2009 05:12, DarkBlue wrote: &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; qt 4.5.3 &amp;gt; &amp;gt; pyqt 4.6.1</description>
<pubDate>07 Nov  2009 18:16:50 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786242</link>
</item><item>
<title>Re: Web development with Python 3.1</title>
<description>mario ruggier wrote: &amp;gt; With respect to to original question regarding web frameworks + &amp;gt; database and Python 3, all the following have been available</description>
<pubDate>07 Nov  2009 18:08:22 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786239</link>
</item><item>
<title>Spam Bot, broken pipe</title>
<description>I&amp;#039;m just testing it on my channel! I promise! Besides, I&amp;#039;m doing it to learn about sockets! Please!  On Sat, Nov 7, 2009 at 8:07 PM, Krister Svanlund</description>
<pubDate>07 Nov  2009 18:06:12 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786238</link>
</item><item>
<title>Re: How convert string &amp;#039;1e7&amp;#039; to an integer?</title>
<description>Mick Krippendorf wrote: &amp;gt; Peng Yu wrote: &amp;gt;&amp;gt; It seems that int() does not convert &amp;#039;1e7&amp;#039;. &amp;gt; It seems it does, though: &amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; int(&amp;#039;1e7&amp;#039;, base=16) &amp;gt; 487</description>
<pubDate>07 Nov  2009 18:05:22 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786237</link>
</item><item>
<title>Cancelling a python thread (revisited...)</title>
<description>Hi, the Python threading module does not seem to provide a means to cancel a running thread. There are many discussions on the web dealing with this</description>
<pubDate>07 Nov  2009 18:04:04 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786244</link>
</item><item>
<title>Re: How convert string &amp;#039;1e7&amp;#039; to an integer?</title>
<description>Peng Yu wrote: &amp;gt; It seems that int() does not convert &amp;#039;1e7&amp;#039;. I&amp;#039;m wondering what &amp;gt; function to use to convert &amp;#039;1e7&amp;#039; to an integer? 1e7 is a way to exp</description>
<pubDate>07 Nov  2009 17:55:08 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786236</link>
</item><item>
<title>Re: How convert string &amp;#039;1e7&amp;#039; to an integer?</title>
<description>On Sat, Nov 7, 2009 at 8:17 PM, Peng Yu &amp;lt;pengyu.ut@gmail.com&amp;gt; wrote: &amp;gt; It seems that int() does not convert &amp;#039;1e7&amp;#039;. I&amp;#039;m wondering what &amp;gt; function to us</description>
<pubDate>07 Nov  2009 17:52:37 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786235</link>
</item><item>
<title>Re: How convert string &amp;#039;1e7&amp;#039; to an integer?</title>
<description>Mensanator wrote: &amp;gt; On Nov 7, 7:17 pm, Peng Yu &amp;lt;pengyu...@gmail.com&amp;gt; wrote: &amp;gt;  &amp;gt;&amp;gt; It seems that int() does not convert &amp;#039;1e7&amp;#039;. &amp;gt;&amp;gt;   &amp;gt; &amp;gt; Because &amp;#039;e</description>
<pubDate>07 Nov  2009 17:50:53 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786234</link>
</item><item>
<title>Re: How convert string &amp;#039;1e7&amp;#039; to an integer?</title>
<description>Mick Krippendorf &amp;lt;mad.mick@gmx.de&amp;gt; writes: &amp;gt; Peng Yu wrote: &amp;gt; &amp;gt; It seems that int() does not convert &amp;#039;1e7&amp;#039;. &amp;gt; It seems it does, though: &amp;gt; &amp;gt; &amp;gt;&amp;gt;&amp;gt; int(&amp;#039;</description>
<pubDate>07 Nov  2009 17:49:48 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786233</link>
</item><item>
<title>Re: How convert string &amp;#039;1e7&amp;#039; to an integer?</title>
<description>Peng Yu wrote: &amp;gt; It seems that int() does not convert &amp;#039;1e7&amp;#039;. I&amp;#039;m wondering what &amp;gt; function to use to convert &amp;#039;1e7&amp;#039; to an integer? &amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; int(&amp;#039;1e7&amp;#039;) &amp;gt;</description>
<pubDate>07 Nov  2009 17:45:57 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786232</link>
</item><item>
<title>Re: How convert string &amp;#039;1e7&amp;#039; to an integer?</title>
<description>Peng Yu wrote: &amp;gt; It seems that int() does not convert &amp;#039;1e7&amp;#039;. It seems it does, though: &amp;gt;&amp;gt;&amp;gt; int(&amp;#039;1e7&amp;#039;, base=16) 487 Mick. -- http://mail.python.org/</description>
<pubDate>07 Nov  2009 17:42:21 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786231</link>
</item><item>
<title>Re: How convert string &amp;#039;1e7&amp;#039; to an integer?</title>
<description>On Nov 7, 7:17 pm, Peng Yu &amp;lt;pengyu...@gmail.com&amp;gt; wrote: &amp;gt; It seems that int() does not convert &amp;#039;1e7&amp;#039;. Because &amp;#039;e&amp;#039; isn&amp;#039;t a valid character in base 10.</description>
<pubDate>07 Nov  2009 17:41:03 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786230</link>
</item><item>
<title>Re: Most efficient way to &amp;quot;pre-grow&amp;quot; a list?</title>
<description>On 01:18 am, pavlovevidence@gmail.com wrote: &amp;gt;On Nov 7, 5:05 pm, sturlamolden &amp;lt;sturlamol...@yahoo.no&amp;gt; wrote: &amp;gt;&amp;gt;On 7 Nov, 03:46, gil_johnson &amp;lt;gil_john.</description>
<pubDate>07 Nov  2009 17:32:30 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786229</link>
</item><item>
<title>Re: is None or == None ?</title>
<description>&amp;quot;Alf P. Steinbach&amp;quot; &amp;lt;alfps@start.no&amp;gt; writes: &amp;gt; Speedup would likely be more realistic with normal implementation (not &amp;gt; fiddling with bit-fields and s</description>
<pubDate>07 Nov  2009 17:25:42 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786241</link>
</item><item>
<title>Re: Most efficient way to &amp;quot;pre-grow&amp;quot; a list?</title>
<description>On Nov 7, 5:05 pm, sturlamolden &amp;lt;sturlamol...@yahoo.no&amp;gt; wrote: &amp;gt; On 7 Nov, 03:46, gil_johnson &amp;lt;gil_john...@earthlink.net&amp;gt; wrote:&amp;gt; &amp;gt; &amp;gt; &amp;gt; I don&amp;#039;t have t</description>
<pubDate>07 Nov  2009 17:18:38 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786228</link>
</item><item>
<title>How convert string &amp;#039;1e7&amp;#039; to an integer?</title>
<description>It seems that int() does not convert &amp;#039;1e7&amp;#039;. I&amp;#039;m wondering what function to use to convert &amp;#039;1e7&amp;#039; to an integer? &amp;gt;&amp;gt;&amp;gt; int(&amp;#039;1e7&amp;#039;) Traceback (most recent</description>
<pubDate>07 Nov  2009 17:17:09 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786227</link>
</item><item>
<title>Re: Most efficient way to &amp;quot;pre-grow&amp;quot; a list?</title>
<description>On 6 Nov, 22:03, kj &amp;lt;no.em...@please.post&amp;gt; wrote: &amp;gt; As I said, this is considered an optimization, at least in Perl, &amp;gt; because it lets the interprete</description>
<pubDate>07 Nov  2009 17:13:07 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786226</link>
</item><item>
<title>Re: feedback on function introspection in argparse</title>
<description>On Nov 7, 3:44 pm, Yuv &amp;lt;ubershme...@gmail.com&amp;gt; wrote: &amp;gt; On Nov 8, 1:33 am, Carl Banks &amp;lt;pavlovevide...@gmail.com&amp;gt; wrote: &amp;gt; &amp;gt; &amp;gt; Is the docstring expecte</description>
<pubDate>07 Nov  2009 17:08:56 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786225</link>
</item><item>
<title>Re: Most efficient way to &amp;quot;pre-grow&amp;quot; a list?</title>
<description>On 7 Nov, 03:46, gil_johnson &amp;lt;gil_john...@earthlink.net&amp;gt; wrote:&amp;gt; &amp;gt; I don&amp;#039;t have the code with me, but for huge arrays, I have used &amp;gt; something like:</description>
<pubDate>07 Nov  2009 17:05:53 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786224</link>
</item><item>
<title>Re: Most efficient way to &amp;quot;pre-grow&amp;quot; a list?</title>
<description>On 6 Nov, 13:12, kj &amp;lt;no.em...@please.post&amp;gt; wrote: &amp;gt; &amp;gt; The best I can come up with is this: &amp;gt; &amp;gt; arr = [None] * 1000000 &amp;gt; &amp;gt; Is this the most efficient</description>
<pubDate>07 Nov  2009 17:03:37 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786223</link>
</item><item>
<title>Spam Bot, broken pipe</title>
<description>I have a irc spam bot (only testing on my channel :P ) whose main loop is the following: privc=&amp;quot;PRIVMSG &amp;quot;+self.channel while True:   self.sock.sen</description>
<pubDate>07 Nov  2009 17:00:18 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786222</link>
</item><item>
<title>Re: Most efficient way to &amp;quot;pre-grow&amp;quot; a list?</title>
<description>In &amp;lt;mailman.44.1257626420.2873.python-list@python.org&amp;gt; Luis Alberto Zarrabeitia Gomez &amp;lt;kyrie@uh.cu&amp;gt; writes:  &amp;gt;Quoting Andre Engels &amp;lt;andreengels@gmail</description>
<pubDate>07 Nov  2009 16:23:18 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786221</link>
</item><item>
<title>Re: feedback on function introspection in argparse</title>
<description>On Nov 8, 1:33 am, Carl Banks &amp;lt;pavlovevide...@gmail.com&amp;gt; wrote: &amp;gt; Is the docstring expected to be formatted according to some &amp;gt; convention? Yes it do</description>
<pubDate>07 Nov  2009 15:44:33 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786209</link>
</item><item>
<title>Re: feedback on function introspection in argparse</title>
<description>On Nov 7, 2:45 pm, Yuv &amp;lt;ubershme...@gmail.com&amp;gt; wrote: &amp;gt; This was posted to the argparse mailing list by Steven Bethard and now &amp;gt; we&amp;#039;d like some feedba</description>
<pubDate>07 Nov  2009 15:33:40 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786208</link>
</item><item>
<title>Re: Microsoft research on code quality</title>
<description>On Nov 6, 3:15 pm, a...@pythoncraft.com (Aahz) wrote: &amp;gt; http://research.microsoft.com/en-us/news/features/nagappan-100609.aspx &amp;gt; -- &amp;gt; Aahz (a...@pytho</description>
<pubDate>07 Nov  2009 15:22:26 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786207</link>
</item><item>
<title>Re: exception due to NoneType</title>
<description>asit &amp;lt;lipun4u@gmail.com&amp;gt; writes: &amp;gt; for s in users: &amp;gt;   print &amp;gt;   print &amp;quot;##########################################&amp;quot; &amp;gt;   try: &amp;gt;     print &amp;quot;u</description>
<pubDate>07 Nov  2009 15:14:31 -0800</pubDate>
<link>http://www.gossamer-threads.com/lists/python/python/786206</link>
</item>
</channel>
</rss>
