Re: MySQLdb begin() -

2006-04-25 Thread shearichard
Thanks for your advice. In fact subsquent to posting I started using ... conn.autocommit = False ... as a synonm for ... conn.begin() ... and as you say that does the job. (Sorry i should have said it's not practicable to turn off autocommit always [or rather it may be but I'm not about to

How to avoid using files to store intermediate results

2006-04-25 Thread André
I wrote a small wxPython based app to test code snippets. (google for python lightning compiler if you want to see the full code). In the basic mode, I redirect the standard input and output and execute the code taken from the editor window so that the result appears in the output window. Here

345 free programming books

2006-04-25 Thread ttdevelop
Check it out, ^_^ http://ttcom.blogspot.com/2006/04/345-free-online-programming-books.html -- http://mail.python.org/mailman/listinfo/python-list

Drawing charts and graphs.

2006-04-25 Thread Jonathan Daugherty
Hello, I'm looking at a number of chart-drawing libraries and modules for Python and I'd like to know which one people tend to consider the best. I've tried gdchart2 but its interface seems somewhat limited, and pychart looks nice. I'd like to find something that will let me draw graphs similar

REMINDER: BayPIGgies: April 26, 7:30pm (Google)

2006-04-25 Thread Aahz
NOTE: Special date of WEDNESDAY April 26 at Google, usual time of 7:30pm Please show up by 7:15 so we can start the meeting on time! This does not change the usual May meeting on May 11 at Google; stay tuned for an announcement of that. Special meeting! One of the lead developers of Django is

Re: cgi subprocess, cannot get output

2006-04-25 Thread James Stroud
Jakub Piotr Nowak wrote: Hello, In the following cgi program, I cannot get subprocess output. I print the header, flush stdout to prepare it to new content, but variable 'o' is always empty. Could somebody help me with that? def main(): print Content-type: text/html\n\n

Re: 345 free programming books

2006-04-25 Thread Terry Reedy
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Check it out, ^_^ http://ttcom.blogspot.com/2006/04/345-free-online-programming-books.html Some of the urls on the listing page http://ttshare.googlepages.com/probooks.htm are not properly marked up as and diplayed as links. I

Re: 345 free programming books

2006-04-25 Thread Jonathan Daugherty
# http://ttcom.blogspot.com/2006/04/345-free-online-programming-books.html It seems this has been making the rounds today. The Practical PostgreSQL link is also broken; OpenDocs Publishing ceased to exist starting several months ago. -- Jonathan Daugherty http://www.parsed.org --

Re: MinGW and Python

2006-04-25 Thread Alex Martelli
Edward Elliott [EMAIL PROTECTED] wrote: Alex Martelli wrote: about MacOSX, which also uses gcc: 14% faster pybench using Python 2.4.3 this is the second time I've seen that 14% figure. OOC, where does it come from? the data sets you posted show an average 12.6% speedup. 14 is an odd

Re: MinGW and Python

2006-04-25 Thread Alex Martelli
Edward Elliott [EMAIL PROTECTED] wrote: Alex Martelli wrote: At the same time, if the 14% slowdown is representative, then it's not true that the compiler responsible for it optimizes as well as the other; indeed, does not optimize particularly well, under such a hypothesis, would be far

how to browse using urllib2 and cookeilib the correct way

2006-04-25 Thread jnair
Hi , I am using python2.4 urllib2 and cookelib. In line 5 below i provide my credentials to login into a web site.During the first attempt i fail, judging from the output of line 6. I try again and the second time i succeed,judging from the output of line 8. Now using the twill module

Re: OOP / language design question

2006-04-25 Thread Alex Martelli
Duncan Booth [EMAIL PROTECTED] wrote: ... Actually, this is quite an interesting example becaue it wouldn't work in C++: if you tried the same trick the call to dothis from the base constructor (even assuming it is virtual) would actually call Base.dothis. Yep. I think you have

how to save python interpreter's command history

2006-04-25 Thread Sakcee
this has been a problem for me for some time. I want to save the interpretters command history to a file, there is a history file in my user directory .pyhistory but it saves only like 500 or so how can I make it save all the commands and not delete it, any other suggestions that people use is

Re: MinGW and Python

2006-04-25 Thread Edward Elliott
Alex Martelli wrote: I assume you mean compare pybench on Python 2.4.3 compiled under etc. Yep Unfortunately, I suspect the ex-officio gcc defenders will only react by finding yet another quibble (anything to avoid admitting that gcc may not be as good at optimizing as a _Microsoft_ product

how to browse using urllib2 and cookeilib the correct way

2006-04-25 Thread jnair
Hi , I am using python2.4 urllib2 and cookelib. In line 5 below i provide my credentials to login into a web site.During the first attempt i fail, judging from the output of line 6. I try again and the second time i succeed,judging from the output of line 8. Now using the twill module

Re: MinGW and Python

2006-04-25 Thread Edward Elliott
Alex Martelli wrote: I believe the single figure is a useful summary. Even the most sophisticated benchmarks are eventually boiled down to single figures, as in so many SPECmarks etc, because in everyday discourse a scalar is what you can reasonably discuss. Sure, philosophically speaking it

Re: Xah's Edu Corner: Criticism vs Constructive Criticism

2006-04-25 Thread Roedy Green
On 25 Apr 2006 12:21:43 -0700, Xah Lee [EMAIL PROTECTED] wrote, quoted or indirectly quoted someone who said : Criticism versus Constructive Criticism I think you would do better to put this sort of thing on a website rather than post it in a newsgroup. It is too pretentious for a newsgroup.

Passing Exceptions Across Threads

2006-04-25 Thread Adam Mullins
Hello, I'm writing a physics simulator back-end with a built-in, threaded server that for the moment is quite simple. I've faced a few problems in writing this code, however, as it's the first time I've played with threading. For the moment, everything works decently, but I need (or rather, want)

Re: search an entire website given the homepage URL

2006-04-25 Thread Fredrik Lundh
Bell, Kevin wrote: Well I certainly am learning a lot. I never said I intended to download anyone's entire website, as was assumed, but it's been fun to see how folks feel about it anyway! never? If I want to search through the entire python website give[n] the homepage, how would I

Re: search an entire website given the homepage URL

2006-04-25 Thread Fredrik Lundh
Bell, Kevin wrote: I would like some feedback about my actual intention though, which is to scrape local newspaper websites for the names of people that I work with. Twice this month, colleagues have unknowingly been in the newspaper, and only became aware of it because someone stumbled

[ python-Bugs-1476111 ] SystemError in socket sendto

2006-04-25 Thread SourceForge.net
Bugs item #1476111, was opened at 2006-04-25 15:02 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1476111group_id=5470 Please note that this message will contain a full copy of

[ python-Bugs-1433877 ] string parameter to ioctl not null terminated, includes fix

2006-04-25 Thread SourceForge.net
Bugs item #1433877, was opened at 2006-02-17 23:29 Message generated for change (Comment added) made by twouters You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1433877group_id=5470 Please note that this message will contain a full copy of the comment

[ python-Feature Requests-1476166 ] Add SeaMonkey to webbrowser.py

2006-04-25 Thread SourceForge.net
Feature Requests item #1476166, was opened at 2006-04-25 18:32 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=355470aid=1476166group_id=5470 Please note that this message will contain a

[ python-Bugs-1476111 ] SystemError in socket sendto

2006-04-25 Thread SourceForge.net
Bugs item #1476111, was opened at 2006-04-25 15:02 Message generated for change (Comment added) made by twouters You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1476111group_id=5470 Please note that this message will contain a full copy of the comment

[ python-Bugs-1476216 ] Documentation date stuck on 5th April 2006

2006-04-25 Thread SourceForge.net
Bugs item #1476216, was opened at 2006-04-25 09:05 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1476216group_id=5470 Please note that this message will contain a full copy of

[ python-Bugs-1437614 ] can't send files via ftp on my MacOS X 10.3.9

2006-04-25 Thread SourceForge.net
Bugs item #1437614, was opened at 2006-02-23 13:48 Message generated for change (Settings changed) made by tjreedy You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1437614group_id=5470 Please note that this message will contain a full copy of the comment

[ python-Bugs-1476356 ] StringIO should implement __str__()

2006-04-25 Thread SourceForge.net
Bugs item #1476356, was opened at 2006-04-25 16:11 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1476356group_id=5470 Please note that this message will contain a full copy of

[ python-Bugs-1471427 ] tarfile.py chokes on long names

2006-04-25 Thread SourceForge.net
Bugs item #1471427, was opened at 2006-04-16 22:34 Message generated for change (Comment added) made by gustaebel You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1471427group_id=5470 Please note that this message will contain a full copy of the comment

[ python-Bugs-1476356 ] StringIO should implement __str__()

2006-04-25 Thread SourceForge.net
Bugs item #1476356, was opened at 2006-04-25 15:11 Message generated for change (Comment added) made by rhettinger You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1476356group_id=5470 Please note that this message will contain a full copy of the comment

[ python-Bugs-1472695 ] 32/64bit pickled Random incompatiblity

2006-04-25 Thread SourceForge.net
Bugs item #1472695, was opened at 2006-04-18 20:10 Message generated for change (Comment added) made by rhettinger You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1472695group_id=5470 Please note that this message will contain a full copy of the comment

[ python-Bugs-1472695 ] 32/64bit pickled Random incompatiblity

2006-04-25 Thread SourceForge.net
Bugs item #1472695, was opened at 2006-04-18 21:10 Message generated for change (Comment added) made by tim_one You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1472695group_id=5470 Please note that this message will contain a full copy of the comment

[ python-Bugs-1476356 ] StringIO should implement __str__()

2006-04-25 Thread SourceForge.net
Bugs item #1476356, was opened at 2006-04-25 16:11 Message generated for change (Comment added) made by cinamod You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1476356group_id=5470 Please note that this message will contain a full copy of the comment

[ python-Bugs-1476356 ] StringIO should implement __str__()

2006-04-25 Thread SourceForge.net
Bugs item #1476356, was opened at 2006-04-25 16:11 Message generated for change (Comment added) made by cinamod You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1476356group_id=5470 Please note that this message will contain a full copy of the comment

[ python-Bugs-1475080 ] example code in what's new/sqlite3 docs

2006-04-25 Thread SourceForge.net
Bugs item #1475080, was opened at 2006-04-23 09:51 Message generated for change (Settings changed) made by nnorwitz You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1475080group_id=5470 Please note that this message will contain a full copy of the comment

<    1   2   3