<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.co.uk/group/comp.lang.python</id>
  <title type="text">comp.lang.python Google Group</title>
  <subtitle type="text">
  The Python computer language.
  </subtitle>
  <link href="/group/comp.lang.python/feed/atom_v1_0_msgs.xml" rel="self" title="comp.lang.python feed"/>
  <updated>2009-11-08T07:27:43Z</updated>
  <generator uri="http://groups.google.co.uk" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Martin P. Hellwig</name>
  <email>martin.hell...@dcuktec.org</email>
  </author>
  <updated>2009-11-08T07:27:43Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/013f7645d99543e8/1fb89d12ac9b44e1?show_docid=1fb89d12ac9b44e1</id>
  <link href="http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/013f7645d99543e8/1fb89d12ac9b44e1?show_docid=1fb89d12ac9b44e1"/>
  <title type="text">Re: My own accounting python euler problem</title>
  <summary type="html" xml:space="preserve">
  As mentioned in the other answers, your problem is best solved by a long &lt;br&gt; overdue organisational decision instead of a technical one. &lt;br&gt; Most popular solutions are: &lt;br&gt; - All invoices are essential a single credit amount, money coming in is &lt;br&gt; taken of from the big pile. &lt;br&gt; - Invoices are split by date, creating multiple credit amounts, any
  </summary>
  </entry>
  <entry>
  <author>
  <name>Paul Rudin</name>
  <email>paul.nos...@rudin.co.uk</email>
  </author>
  <updated>2009-11-08T07:07:25Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/fd07df5ffde3db83/b1cf947e17aa1d73?show_docid=b1cf947e17aa1d73</id>
  <link href="http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/fd07df5ffde3db83/b1cf947e17aa1d73?show_docid=b1cf947e17aa1d73"/>
  <title type="text">Re: Most efficient way to &quot;pre-grow&quot; a list?</title>
  <summary type="html" xml:space="preserve">
  Depends on what you take as given. You can do it with ctypes more &lt;br&gt; efficiently, but you can also shoot yourself in the foot. &lt;br&gt; Another possibility is to use a numpy array.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Alf P. Steinbach</name>
  <email>al...@start.no</email>
  </author>
  <updated>2009-11-08T06:27:27Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/1d9112d5bbe243d3/00d2bc72655cb90e?show_docid=00d2bc72655cb90e</id>
  <link href="http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/1d9112d5bbe243d3/00d2bc72655cb90e?show_docid=00d2bc72655cb90e"/>
  <title type="text">Re: is None or == None ?</title>
  <summary type="html" xml:space="preserve">
  * Hrvoje Niksic: &lt;br&gt; A normal tag field, as illustrated in code earlier in the thread. &lt;br&gt; Cheers &amp;amp; hth., &lt;br&gt; - Alf
  </summary>
  </entry>
  <entry>
  <author>
  <name>John Nagle</name>
  <email>na...@animats.com</email>
  </author>
  <updated>2009-11-08T05:14:33Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/af903ef349b1bddf/1a99d3db6fe3b612?show_docid=1a99d3db6fe3b612</id>
  <link href="http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/af903ef349b1bddf/1a99d3db6fe3b612?show_docid=1a99d3db6fe3b612"/>
  <title type="text">Re: Cancelling a python thread (revisited...)</title>
  <summary type="html" xml:space="preserve">
  While outright thread cancellation is generally unsafe, it would &lt;br&gt; be useful if there was a way to force another thread to unblock from &lt;br&gt; a wait condition, like a blocking read, with an exception. This is, &lt;br&gt; among other things, why control-C won&#39;t terminate some threaded programs. &lt;br&gt; Python 2.6 and 3 have some steps in this direction. There&#39;s
  </summary>
  </entry>
  <entry>
  <author>
  <name>Philip Semanchuk</name>
  <email>phi...@semanchuk.com</email>
  </author>
  <updated>2009-11-08T04:19:11Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/c5c429b469b2ced4/db100807eb1bea31?show_docid=db100807eb1bea31</id>
  <link href="http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/c5c429b469b2ced4/db100807eb1bea31?show_docid=db100807eb1bea31"/>
  <title type="text">Re: How to parse HTTP time header?</title>
  <summary type="html" xml:space="preserve">
  Sorry, my mistake -- 2616 != 2822. I&#39;m not sure if there&#39;s something &lt;br&gt; in the standard library for parsing RFC 2616 dates. &lt;br&gt; When I faced the problem of parsing HTTP dates, I wrote my own &lt;br&gt; function although this was in an application that was deliberately &lt;br&gt; unforgiving of invalid input and therefore my code makes no allowances
  </summary>
  </entry>
  <entry>
  <author>
  <name>Philip Semanchuk</name>
  <email>phi...@semanchuk.com</email>
  </author>
  <updated>2009-11-08T03:48:28Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/c5c429b469b2ced4/db0df83b42850e71?show_docid=db0df83b42850e71</id>
  <link href="http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/c5c429b469b2ced4/db0df83b42850e71?show_docid=db0df83b42850e71"/>
  <title type="text">Re: How to parse HTTP time header?</title>
  <summary type="html" xml:space="preserve">
  The parsedate() function in the rfc822 module does this and claims to &lt;br&gt; be tolerant of slightly malformed dates, but that module is deprecated &lt;br&gt; as of Python 2.5 in favor of the email module which hopefully has an &lt;br&gt; equivalent function. &lt;br&gt; HTH &lt;br&gt; Philip
  </summary>
  </entry>
  <entry>
  <author>
  <name>Carl Banks</name>
  <email>pavlovevide...@gmail.com</email>
  </author>
  <updated>2009-11-08T03:27:52Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/af903ef349b1bddf/e60ad7e7cc2b0bee?show_docid=e60ad7e7cc2b0bee</id>
  <link href="http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/af903ef349b1bddf/e60ad7e7cc2b0bee?show_docid=e60ad7e7cc2b0bee"/>
  <title type="text">Re: Cancelling a python thread (revisited...)</title>
  <summary type="html" xml:space="preserve">
  It doesn&#39;t sound like the thread is communicating with the process &lt;br&gt; much. Therefore: &lt;br&gt; 1. Run the C code in a separate process, or &lt;br&gt; 2. Create the thread from a C extension, maybe even straight from &lt;br&gt; ctypes, and kill it from C or ctypes. &lt;br&gt; Arguing that there are good reasons to allow killing threads isn&#39;t &lt;br&gt; going to get you very far. The language developers already know
  </summary>
  </entry>
  <entry>
  <author>
  <name>r</name>
  <email>rt8...@gmail.com</email>
  </author>
  <updated>2009-11-08T02:57:26Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/5d422ac4834c174f/d4058bafd9a2b6f8?show_docid=d4058bafd9a2b6f8</id>
  <link href="http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/5d422ac4834c174f/d4058bafd9a2b6f8?show_docid=d4058bafd9a2b6f8"/>
  <title type="text">Re: An assessment of Tkinter and IDLE</title>
  <summary type="html" xml:space="preserve">
  More on canvas widget... &lt;br&gt; The Canvas widget should return objects and not simple tags/ids for &lt;br&gt; canvas items *OR* at least allow for me to add attributes to the &lt;br&gt; canvasitems &amp;quot;obj&amp;quot;. I find that the id/tag system --while quite simple &lt;br&gt; and strait forward-- can really leave you with both hands tied behind &lt;br&gt; you back whilst suffering a wicked itch on the tip of your nose that
  </summary>
  </entry>
  <entry>
  <author>
  <name>Sven Marnach</name>
  <email>s...@pantoffel-wg.de</email>
  </author>
  <updated>2009-11-08T02:04:04Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/af903ef349b1bddf/da2446151896ac0d?show_docid=da2446151896ac0d</id>
  <link href="http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/af903ef349b1bddf/da2446151896ac0d?show_docid=da2446151896ac0d"/>
  <title type="text">Cancelling a python thread (revisited...)</title>
  <summary type="html" xml:space="preserve">
  Hi, &lt;br&gt; the Python threading module does not seem to provide a means to cancel &lt;br&gt; a running thread. There are many discussions on the web dealing with &lt;br&gt; this issue and many solutions are offered, but none of them seems to &lt;br&gt; be applicable to my situation, which is as follows: &lt;br&gt; I have a C library which does some very computationally intensive
  </summary>
  </entry>
  <entry>
  <author>
  <name>DarkBlue</name>
  <email>pict...@gmail.com</email>
  </author>
  <updated>2009-11-08T02:16:50Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/9641b9303f527398/fc0e6775adfbb845?show_docid=fc0e6775adfbb845</id>
  <link href="http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/9641b9303f527398/fc0e6775adfbb845?show_docid=fc0e6775adfbb845"/>
  <title type="text">Re: PyQt processEvents not processing</title>
  <summary type="html" xml:space="preserve">
  As per your suggestion I added a timer to the init part and now the &lt;br&gt; update works as expected , even without calls to processEvents. &lt;br&gt; self.myTimer = QtCore.QTimer(self) &lt;br&gt; QtCore.QObject.connect(self.my Timer,QtCore.SIGNAL(&amp;quot;timeout() &amp;quot;), &lt;br&gt; self.doUpdate) &lt;br&gt; self.timerTime = 0 &lt;br&gt; self.myTimer.start(2000) &lt;br&gt; Thanks &lt;br&gt; Db
  </summary>
  </entry>
  <entry>
  <author>
  <name>Alan Harris-Reid</name>
  <email>a...@baselinedata.co.uk</email>
  </author>
  <updated>2009-11-08T02:08:22Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/367025d4d9a2e15d/02dec6ea36553c87?show_docid=02dec6ea36553c87</id>
  <link href="http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/367025d4d9a2e15d/02dec6ea36553c87?show_docid=02dec6ea36553c87"/>
  <title type="text">Re: Web development with Python 3.1</title>
  <summary type="html" xml:space="preserve">
  Thanks for those links Mario - I&#39;ll check them out asap.. &lt;br&gt; Regards, &lt;br&gt; Alan
  </summary>
  </entry>
  <entry>
  <author>
  <name>Hrvoje Niksic</name>
  <email>hnik...@xemacs.org</email>
  </author>
  <updated>2009-11-08T01:25:42Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/1d9112d5bbe243d3/3ec0a609ed90a95c?show_docid=3ec0a609ed90a95c</id>
  <link href="http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/1d9112d5bbe243d3/3ec0a609ed90a95c?show_docid=3ec0a609ed90a95c"/>
  <title type="text">Re: is None or == None ?</title>
  <summary type="html" xml:space="preserve">
  I&#39;m not sure I understand this. How would you implement tagged integers &lt;br&gt; without encoding type information in bits of the pointer value?
  </summary>
  </entry>
  <entry>
  <author>
  <name>Tim Chase</name>
  <email>python.l...@tim.thechases.com</email>
  </author>
  <updated>2009-11-08T02:05:22Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/9d389203198d21b2?show_docid=9d389203198d21b2</id>
  <link href="http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/9d389203198d21b2?show_docid=9d389203198d21b2"/>
  <title type="text">Re: How convert string &#39;1e7&#39; to an integer?</title>
  <summary type="html" xml:space="preserve">
  Bah...so narrow-minded ;-) &lt;br&gt; &amp;gt;&amp;gt;&amp;gt; print &#39;\n&#39;.join(&amp;quot;Base %i: %i&amp;quot; % (base, int(&#39;1e7&#39;, &lt;br&gt; base=base)) for base in range(15,37)) &lt;br&gt; Base 15: 442 &lt;br&gt; Base 16: 487 &lt;br&gt; Base 17: 534 &lt;br&gt; Base 18: 583 &lt;br&gt; Base 19: 634 &lt;br&gt; Base 20: 687 &lt;br&gt; Base 21: 742 &lt;br&gt; Base 22: 799 &lt;br&gt; Base 23: 858 &lt;br&gt; Base 24: 919 &lt;br&gt; Base 25: 982 &lt;br&gt; Base 26: 1047 &lt;br&gt; Base 27: 1114 &lt;br&gt; Base 28: 1183
  </summary>
  </entry>
  <entry>
  <author>
  <name>Christian Heimes</name>
  <email>li...@cheimes.de</email>
  </author>
  <updated>2009-11-08T01:55:08Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/54ad8fda72c9fece?show_docid=54ad8fda72c9fece</id>
  <link href="http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/54ad8fda72c9fece?show_docid=54ad8fda72c9fece"/>
  <title type="text">Re: How convert string &#39;1e7&#39; to an integer?</title>
  <summary type="html" xml:space="preserve">
  1e7 is a way to express a float in science and math. Try float(&amp;quot;1e7&amp;quot;) &lt;br&gt; Christian
  </summary>
  </entry>
  <entry>
  <author>
  <name>Benjamin Kaplan</name>
  <email>benjamin.kap...@case.edu</email>
  </author>
  <updated>2009-11-08T01:52:37Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/48ac18180765c5fc?show_docid=48ac18180765c5fc</id>
  <link href="http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/48ac18180765c5fc?show_docid=48ac18180765c5fc"/>
  <title type="text">Re: How convert string &#39;1e7&#39; to an integer?</title>
  <summary type="html" xml:space="preserve">
  Whenever you use that notation, you always get a float &lt;br&gt; 10000000.0 &lt;br&gt; So to convert &#39;1e7&#39; to a number, you need to use float(&#39;1e7&#39;) which &lt;br&gt; you can then convert to an int &lt;br&gt; 10000000
  </summary>
  </entry>
</feed>
