Automatic response to your mail (Error)

2005-05-23 Thread Webmaster
The automatic reply to this e-mail which you should have received in response to your e-mail to [EMAIL PROTECTED] has not been defined. Please contact [EMAIL PROTECTED] for assistance. -- http://mail.python.org/mailman/listinfo/python-list

Re: Running a python program during idle time only

2005-05-23 Thread Asbjørn Sæbø
"los" <[EMAIL PROTECTED]> writes: > Thanks for all the replies. > > I did try using nice under windows. I created a java program that > would just loop and print numbers on the screen. Even when I ran that > simple program with nice, (lets call it program A) as soon as I started > the program t

How to use protocols.msn.FileSend and protocols.msnFileReceive

2005-05-23 Thread yamadora1999
How to use protocols.msn.FileSend and FileReceive? Please show me a example. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python & DOM

2005-05-23 Thread [EMAIL PROTECTED]
textNode = yourDocumentElement.createTextNode("the content") yourElement.appendChild(textNode) /S -- http://mail.python.org/mailman/listinfo/python-list

Re: What are OOP's Jargons and Complexities?

2005-05-23 Thread alex goldman
John W. Kennedy wrote: > Strong > typing has been a feature of mainstream programming languages since the > late 1950's. Is Fortran a strongly typed language? I don't think so. Strong typing has been invented in the 70's, if I'm not mistaken, when ML was invented, but strong typing has never been

Re: How to use protocols.msn.FileSend and protocols.msnFileReceive

2005-05-23 Thread Joe Francia
yamadora1999 wrote: > How to use protocols.msn.FileSend and FileReceive? > Please show me a example. Excellent example here: http://catb.org/~esr/faqs/smart-questions.html -- Soraia: http://www.soraia.com Better than a smack in the teeth -- http://mail.python.org/mailman/listinfo/python-list

4466806 CD-R, DVD R, DVD CASES LOWEST PRICE! 44

2005-05-23 Thread mark deguire
media4sale.com offers innovative and quality media, CD/DVD packaging and other computer accessories at the best prices. We pride ourselves in service, quality and commitment and are certain that our standards will exceed expectations. http://www.media4sale.com http://w

A Clientform question

2005-05-23 Thread m0sf3t
Does anyone here use ClientForm to handle a HTML form on client side? I try to open this page https://www.orange.ch/footer/login but got this message File "C:\Python24\lib\site-packages\ClientForm.py", line 781, in do_input raise ParseError("start of INPUT before start of FORM") ParseError: s

Re: Running a python program during idle time only

2005-05-23 Thread David Rushby
los wrote: > I'm trying to create a program similar to that of Google's desktop that > will crawl through the hard drive and index files. I have written the > program and as of now I just put the thread to sleep for 1 second after > indexing a couple of files. > > I'm wondering if anyone knows of

How to use protocols.msn.FileSend and protocols.msnFileReceive

2005-05-23 Thread yamadora1999
How to use protocols.msn.FileSend and FileReceive? Please show me a example. -- http://mail.python.org/mailman/listinfo/python-list

Re: Multiple threads in a GUI app (wxPython), communication between worker thread and app?

2005-05-23 Thread Paul Rubin
Jp Calderone <[EMAIL PROTECTED]> writes: > >Secondly, I don't know about wxPython, but in tkinter you have to > >resort to a kludge in order for the gui thread to handle gui events > >and also notice stuff on a queue. There's a tkinter command to run > >some function after a specified time (say 50

Re: Access lotus notes using Python

2005-05-23 Thread J Correia
> >>The Great 'Sateesh' uttered these words on 5/23/2005 7:14 AM: > >>>Is it possible to access Lotus notes using Python? Can anyone provide me > >>>some pointers? This might help you get started once you've installed the win32 modules. http://tinyurl.com/a9ocy -- http://mail.python.org/mail

Re: Running a python program during idle time only

2005-05-23 Thread Mike Meyer
"los" <[EMAIL PROTECTED]> writes: > Thanks for all the replies. > > I did try using nice under windows. I created a java program that > would just loop and print numbers on the screen. Even when I ran that > simple program with nice, (lets call it program A) as soon as I started > the program t

Re: What are OOP's Jargons and Complexities?

2005-05-23 Thread Mike Meyer
Jonathan Bartlett <[EMAIL PROTECTED]> writes: > Mike Meyer wrote: > > "Xah Lee" <[EMAIL PROTECTED]> writes: > > So now we find out that Xah Lee is as ignorant of other programming > > languages as he is of Python and Perl. > > I think you're misreading some of what is being said. Given how clear

Re: first release of PyPy

2005-05-23 Thread Mike Meyer
Shane Hathaway <[EMAIL PROTECTED]> writes: > Mike Meyer wrote: > > Basically, there's a *lot* of history in programming languages. I'd > > hate to see someone think that we went straight from assembler to C, > > or that people didn't understand the value of dynamic languages very > > early. > > Y

Just remember that Python is sexy

2005-05-23 Thread Scott Kirkwood
I often can't remember that to remove spaces from a string whether it's strip() or trim(), and when finding patterns with the re library whether it's find() or search() and when iterating over key, values of a dictionary whether it's items() or entries(). But then I remember that Python is "sexy".

Re: line-by-line output from a subprocess

2005-05-23 Thread Simon Percivall
Jp Calderone wrote: > Or, doing the same thing, but with less code: Hmm ... What have I been smoking? -- http://mail.python.org/mailman/listinfo/python-list

Re: What are OOP's Jargons and Complexities?

2005-05-23 Thread Wibble
Java or even C is more strongly typed than lisp or tcl which dont really have a concept of a typed variable. Lisp only does runtime type checking unless you do wierd unnatural things. I suppose ADA or Eiffel might have stronger typing than java, but I dont know those languages. I guess strong is

Re: What are OOP's Jargons and Complexities?

2005-05-23 Thread John W. Kennedy
alex goldman wrote: > John W. Kennedy wrote: > > >>Strong >>typing has been a feature of mainstream programming languages since the >>late 1950's. > > > I'm just curious, what do you mean by /strong/ typing, and which strongly > typed languages do you know? Unfortunately, I have seen the meani

Re: What are OOP's Jargons and Complexities?

2005-05-23 Thread alex goldman
John W. Kennedy wrote: > Strong > typing has been a feature of mainstream programming languages since the > late 1950's. I'm just curious, what do you mean by /strong/ typing, and which strongly typed languages do you know? -- http://mail.python.org/mailman/listinfo/python-list

Re: What are OOP's Jargons and Complexities?

2005-05-23 Thread John Bokma
John W. Kennedy wrote: > inescapable necessity for compiling to efficient object code. Strong > typing has been a feature of mainstream programming languages since the > late 1950's. Give Lee another century and he will get there, hopefully :-D. -- John MexIT: ht

Re: python24.zip

2005-05-23 Thread Robin Becker
Martin v. Löwis wrote: > Robin Becker wrote: > >>ie if we have N importers and F leading failure syspath entries before >>the correct one is found do we get order N*F failed stats/opens etc etc? > > > No. Each path hook is supposed to provide a decision as to whether this > is a useful item on s

Re: What are OOP's Jargons and Complexities?

2005-05-23 Thread John W. Kennedy
Xah Lee wrote: > So, a simple code like this in normal languages: > a = "a string"; > b = "another one"; > c = join(a,b); > print c; > > or in lisp style > (set a "a string") > (set b "another one") > (set c (join a b)) > (print c) > > becomes in pure OOP languages: > public class test { > publ

Python & DOM

2005-05-23 Thread Drazen Gemic
Hi ! I need to create a XML document using DOM. How do I set the element value, after creating it with 'createElement' ? Documentation states that there is a 'read-only' 'nodeValue' variable. I don't know what means 'read-only variable' in Python, but the fact is that setting that variable does no

ClientForm question

2005-05-23 Thread kostem
Hi, I need some help on using ClientForm to post to cgi and getting response. I have done this many times and it worked very well until now. I have contacted the webmaster of the page I'm interested in an this is the response I got: > Indeed, a simple wget does _not_ do the trick for > our servers

Re: What are OOP's Jargons and Complexities?

2005-05-23 Thread Kay Schluehr
Xah Lee wrote: > As part of this new syntax and purity, where everything in a program is > of Classes and Objects and Methods, many complex issues and concept > have arisen in OOP. Yes and it is easy to communicate a class which represents some thing determined by object oriented analysis and can

slow sql server DB reads

2005-05-23 Thread bart
I run a python website on a IIS server. I replaced my flat file DB with SQL server, but the reads are very slow. 7 seconds for 3 querrys like these conn= adodbapi.connect( "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Password=xxx;Initial Catalog=dlpl;Data Source=(local)" ) c

Re: overhead of starting threads

2005-05-23 Thread Will McGugan
Simon Percivall wrote: > How much you gain by starting threads is also determined by what you're > doing in those threads. Remember (or learn): In CPython only one thread > at a time can execute python code, so depending on your task threading > might gain you little. If you're doing I/O or calling

Re: Comparing 2 similar strings?

2005-05-23 Thread Oleg Paraschenko
Hello, Scott David Daniels <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > William Park wrote: > > How do you compare 2 strings, and determine how much they are "close" to > > each other? > > Here's a really weird idea: Measure the size difference between the > pair of strin

Re: Comparing 2 similar strings?

2005-05-23 Thread Oleg Paraschenko
Hello William, William Park <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > How do you compare 2 strings, and determine how much they are "close" to > each other? > ... If your strings are between 1 and 16 Kb, look at GetReuse SDK: http://getreuse.com/sdk/ It has Perl and

Re: line-by-line output from a subprocess

2005-05-23 Thread Jp Calderone
On 23 May 2005 13:22:04 -0700, Simon Percivall <[EMAIL PROTECTED]> wrote: >Okay, so the reason what you're trying to do doesn't work is that the >readahead buffer used by the file iterator is 8192 bytes, which clearly >might be too much. It also might be because the output from the >application you

Re: python24.zip

2005-05-23 Thread "Martin v. Löwis"
Robin Becker wrote: > ie if we have N importers and F leading failure syspath entries before > the correct one is found do we get order N*F failed stats/opens etc etc? No. Each path hook is supposed to provide a decision as to whether this is a useful item on sys.path only once; the importer objec

Re: overhead of starting threads

2005-05-23 Thread Simon Percivall
How much you gain by starting threads is also determined by what you're doing in those threads. Remember (or learn): In CPython only one thread at a time can execute python code, so depending on your task threading might gain you little. If you're doing I/O or calling functions written in C (and if

Re: Access lotus notes using Python

2005-05-23 Thread Kartic
The Great 'Michael Ströder' uttered these words on 5/23/2005 2:43 PM: > Kartic wrote: > >>The Great 'Sateesh' uttered these words on 5/23/2005 7:14 AM: >> >> >>>Is it possible to access Lotus notes using Python? Can anyone provide me >>>some pointers? >> >>Yes, you can... You need the win32all dis

Re: first release of PyPy

2005-05-23 Thread Kay Schluehr
Carl Friedrich Bolz wrote: > Rocco Moretti wrote: > > Alex Stapleton wrote: > > > >>The question still remains, can it run it's self? ;) > >> > > This allready worked in the past, though it doesn't at the moment. > > > > > > > I think they try, every once in a while, to self host. The only problem

Re: no win32com.client

2005-05-23 Thread Do Re Mi chel La Si Do
Hi ! Or : http://sourceforge.net/project/showfiles.php?group_id=78018 @-salutations -- Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

Re: line-by-line output from a subprocess

2005-05-23 Thread Simon Percivall
Okay, so the reason what you're trying to do doesn't work is that the readahead buffer used by the file iterator is 8192 bytes, which clearly might be too much. It also might be because the output from the application you're running is buffered, so you might have to do something about that as well.

Re: What are OOP's Jargons and Complexities?

2005-05-23 Thread Erik Max Francis
Jonathan Bartlett wrote: > I think you're misreading some of what is being said. I think you're giving the author too much credit. -- Erik Max Francis && [EMAIL PROTECTED] && http://www.alcyone.com/max/ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis Love is the true price of lov

Problem with DispatchWithEvents

2005-05-23 Thread ccahoon
Traceback (most recent call last): File "windowedfax.py", line 223, in OnClick self.iexplore = DispatchWithEvents("InternetExplorer.Application", eventHandling) File "C:\Python24\Lib\site-packages\win32com\client\__init__.py", line 268, in DispatchWithEvents user_event_class.__init__(in

Re: no win32com.client

2005-05-23 Thread Matt
plsullivan wrote: > In 2.4.1 the following is generated from a script that ran in 2.2: > > import sys, string, os, win32com.client > ImportError: No module named win32com.client > > thanks for any input, > Phil Have you downloaded the win32com extensions? http://starship.python.net/crew/mhammond

Re: Memory errors with large zip files

2005-05-23 Thread John Machin
On 23 May 2005 09:28:15 -0700, "Marcus Lowland" <[EMAIL PROTECTED]> wrote: >Thank for the detailed reply John! I guess it turned out to be a bit >tougher than I originally thought :-) > >Reading over your links, I think I better not attempt rewriting the >zipfile.py program... a little over my

no win32com.client

2005-05-23 Thread plsullivan
In 2.4.1 the following is generated from a script that ran in 2.2: import sys, string, os, win32com.client ImportError: No module named win32com.client thanks for any input, Phil -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie python design question

2005-05-23 Thread Bruno Desthuilliers
Michael a écrit : > Hi, > I'm trying to write a script to parse a .cpp file and begin to create a > 'translational unit'. > To do this i need to: > > Go through the file and remove all 'C' comments as > /* Comment 1*/ > (can be on multiple lines) > > Go through and remove all 'C++' comments, anyt

Re: blabla

2005-05-23 Thread Jwaixs
Peter Maas wrote: > Noud Aldenhoven schrieb: >> Python rulz and sorry for this spam... > > news.test is made for testing :) > I really should appoligize for this spam, I though I couldn't post it but actually it did. I was trying to get Pan running, but I couldn't find a place where I could put m

Re: what is addMethod ?

2005-05-23 Thread Bruno Desthuilliers
[EMAIL PROTECTED] a écrit : > Thnks, > I wrongly took it for a standard method; > I found where it is defined (it's part of the project); Then it would be nice to fully answer your question, so everyone may know what's this method and what it does (and what project it comes from). -- http://ma

Re: how do you return an exit code with out exiting

2005-05-23 Thread Matthew Thorley
thanks thats perfect! Grant Edwards wrote: > On 2005-05-23, Matthew Thorley <[EMAIL PROTECTED]> wrote: > > >>I wrote a simple python program that scrapes a web page every >>30 secons and dumps the result in a data base. I want to use >>my linux distros build in init tools to run the script in th

Re: ANNOUNCE: twill v0.7, scriptable Web testing

2005-05-23 Thread Alex Stapleton
This is exactly the sort of thing ive been trying to avoid implementing my self for ages :) I will take it for a spin and see how it behaves, looks great though. On 23 May 2005, at 05:07, C. Titus Brown wrote: > ANNOUNCING twill v0.7. > > twill is a simple Web scripting language built on top

Re: first release of PyPy

2005-05-23 Thread Shane Hathaway
Mike Meyer wrote: > Basically, there's a *lot* of history in programming languages. I'd > hate to see someone think that we went straight from assembler to C, > or that people didn't understand the value of dynamic languages very > early. Yes, although I wasn't following historical events; I was f

Re: Terminating a thread from the parent

2005-05-23 Thread Peter Hansen
DE wrote: > I have an app with embedded Python. Python scripts create their own > threads and I need to terminate these threads at the point where the > user wants to leave the application. I use threading.Thread as base > classes. > > I have tried to use call the join method of the python thread

Re: What are OOP's Jargons and Complexities?

2005-05-23 Thread Peter Dembinski
"Xah Lee" <[EMAIL PROTECTED]> writes: [snap] put it on your blog -- http://www.peter.dembinski.prv.pl -- http://mail.python.org/mailman/listinfo/python-list

Re: how do you return an exit code with out exiting

2005-05-23 Thread Grant Edwards
On 2005-05-23, Matthew Thorley <[EMAIL PROTECTED]> wrote: > I wrote a simple python program that scrapes a web page every > 30 secons and dumps the result in a data base. I want to use > my linux distros build in init tools to run the script in the > back ground as a daemon. The problem is when I

Re: Access lotus notes using Python

2005-05-23 Thread Michael Ströder
Kartic wrote: > The Great 'Sateesh' uttered these words on 5/23/2005 7:14 AM: > >> Is it possible to access Lotus notes using Python? Can anyone provide me >> some pointers? > > Yes, you can... You need the win32all distribution installed and you can > access Notes using the COM interface (win32c

how do you return an exit code with out exiting

2005-05-23 Thread Matthew Thorley
I wrote a simple python program that scrapes a web page every 30 secons and dumps the result in a data base. I want to use my linux distros build in init tools to run the script in the back ground as a daemon. The problem is when I call the daemon script to background the program I wrote it just ha

Re: python24.zip

2005-05-23 Thread Robin Becker
Martin v. Löwis wrote: > > > Now I remember what makes this stuff really difficult: PEP 302 > introduces path hooks (sys.path_hooks), allowing imports from > other sources than files. So the items on sys.path don't have > to be directory or file names at all, and importing from them > may st

Fwd: Running a python program during idle time only

2005-05-23 Thread James Carroll
I think you can keep your sleep commands in your program to keep it from hogging the cpu even when you are running it as nice. You know, even more important than cpu load (since your indexer is accessing the hard drive, is hard drive access..) You can monitor the bytes / second going to the hard

Re: Running a python program during idle time only

2005-05-23 Thread James Carroll
I think you can keep your sleep commands in your program to keep it from hogging the cpu even when you are running it as nice. You know, even more important than cpu load (since your indexer is accessing the hard drive, is hard drive access..) You can monitor the bytes / second going to the hard

Re: What are OOP's Jargons and Complexities?

2005-05-23 Thread Thomas G. Marshall
Paul McGuire coughed up: > Is this supposed to be some sort of wake-up call or call-to-arms to > all the CS lemmings who have been hoodwinked by Sun into the realm of > jargon over substance? ...[rip]... > You certainly seem to have a lot of energy and enthusiasm for these > topics. It would be

Re: MUD Client and Python Plugin Framework

2005-05-23 Thread Jack Diederich
On Mon, May 23, 2005 at 10:51:47AM -0700, Discipulus wrote: > Hey, > I'm contemplating starting a MUD client in Python, and I would like to > make it so that people can write their own plugins, but I need ideas on > the framework. Any suggestions? Use Lyntin? (http://lyntin.sourceforge.net/) An ex

Problems installing SOAPpy.

2005-05-23 Thread Amitpython5
Hello,     I'm having some problems installing SOAPpy module on my host, which has python 2.1 First when it attempts it import logging, it complains that classmethod is not defined. When I commented out (import logging), I got a different errror, about missing module thread. Specifically: Tra

MUD Client and Python Plugin Framework

2005-05-23 Thread Discipulus
Hey, I'm contemplating starting a MUD client in Python, and I would like to make it so that people can write their own plugins, but I need ideas on the framework. Any suggestions? -- http://mail.python.org/mailman/listinfo/python-list

Re: execution error

2005-05-23 Thread Paul McNett
Ximo wrote: > Hello, I'm programing an advanced calculator, and I have many problems with > the execution errors, specually with the division by 0. > > And my question is how can show the execution error whitout exit of the > program, showing it in the error output as Wrap the math in a try/ex

Re: What are OOP's Jargons and Complexities?

2005-05-23 Thread Paul McGuire
Is this supposed to be some sort of wake-up call or call-to-arms to all the CS lemmings who have been hoodwinked by Sun into the realm of jargon over substance? Please do some informed research and homework before spouting off with such blather. Sun Microsystems is hardly The Great Satan of OOP,

Re: No encodings after freezing

2005-05-23 Thread "Martin v. Löwis"
mmf wrote: > text_new = text.encode('utf_8') [...] > But everytime I run this binary the utf-8 encoding cannot be found. > (Also any other encoding like iso8859_15 cannot be found...) > > What am I doing wrong? Codecs are modules (in the encodings package). So if the codecs you need aren't frozen

Re: python24.zip

2005-05-23 Thread "Martin v. Löwis"
Scott David Daniels wrote: >>> Is the interpreter unable to call "C" functions ("stat" for example) >>> to determine whether an object exists before it puts it on "path". >> >> >> What do you mean, "unable to"? It just doesn't. > > In fact, the interpreter doesn't necessarily know when it is > aff

Re: Running a python program during idle time only

2005-05-23 Thread los
Thanks for all the replies. I did try using nice under windows. I created a java program that would just loop and print numbers on the screen. Even when I ran that simple program with nice, (lets call it program A) as soon as I started the program the cpu went all the way to 100% usage. Then wh

Re: execution error

2005-05-23 Thread Skip Montanaro
Ximo> And my question is how can show the execution error whitout exit Ximo> of the program, showing it in the error output as You need to catch ZeroDivisionError. Here's a trivial example: >>> try: ... 6/0 ... except ZeroDivisionError: ... print "whoops! divide by z

Re: execution error

2005-05-23 Thread Paul Rubin
"Ximo" <[EMAIL PROTECTED]> writes: > And my question is how can show the execution error whitout exit of the > program, showing it in the error output as... > >>6/0 > >>"Error: Division per 0" Trap the ArithmeticError exception and go by the name of the exception class. See the language ref manu

Terminating a thread from the parent

2005-05-23 Thread DE
Hello, I have an app with embedded Python. Python scripts create their own threads and I need to terminate these threads at the point where the user wants to leave the application. I use threading.Thread as base classes. I have tried to use call the join method of the python thread objects from C

execution error

2005-05-23 Thread Ximo
Hello, I'm programing an advanced calculator, and I have many problems with the execution errors, specually with the division by 0. And my question is how can show the execution error whitout exit of the program, showing it in the error output as >>2+2 >>4 >>3*4 >>12 >>6/0 >>"Error: Division pe

Re: first release of PyPy

2005-05-23 Thread Carl Friedrich Bolz
Rocco Moretti wrote: > Alex Stapleton wrote: > >>The question still remains, can it run it's self? ;) >> This allready worked in the past, though it doesn't at the moment. > > > I think they try, every once in a while, to self host. The only problem > at this stage of the game is the ~2000x s

concurrent access to object file

2005-05-23 Thread Frank Abel
Hi all! I will build a HTTPServer and dislike that one request is handled at a time (synchronous). So I write: class MyHTTPServer(SocketServer.ThreadingMixIn, BaseHTTPServer.HTTPServer): For log the request and error I create a file and atteched it to the server instance. Then t

line-by-line output from a subprocess

2005-05-23 Thread Chermside, Michael
I am using the subprocess module to invoke a command-line utility and process the output. However, I would like to process the output line-by-line as it is generated rather than running the subprocess to completion and THEN processing the results. So, for instance, I'd like to write code like this

Re: SQL Query via python

2005-05-23 Thread Gerhard Haering
On Mon, May 23, 2005 at 04:12:31PM +, Austyn Bontrager wrote: > How about: > > cursor.execute(""" > SELECT name, month, day ,category, city FROM bday > WHERE %(col_name)s = %%s > """ % dict(col_name=arg1), > (arg2) > ) > > The "%(col_name)s" will be replaced by n

Re: Memory errors with large zip files

2005-05-23 Thread Marcus Lowland
Thank for the detailed reply John! I guess it turned out to be a bit tougher than I originally thought :-) Reading over your links, I think I better not attempt rewriting the zipfile.py program... a little over my head :-). The best solution, from everything I read seems to be calling an unzip

Re: SQL Query via python

2005-05-23 Thread Austyn Bontrager
How about: cursor.execute(""" SELECT name, month, day ,category, city FROM bday WHERE %(col_name)s = %%s """ % dict(col_name=arg1), (arg2) ) The "%(col_name)s" will be replaced by normal Python string substitution, while the "%%s" will be quoted by the db

Re: What are OOP's Jargons and Complexities?

2005-05-23 Thread Jonathan Bartlett
Mike Meyer wrote: > "Xah Lee" <[EMAIL PROTECTED]> writes: > > So now we find out that Xah Lee is as ignorant of other programming > languages as he is of Python and Perl. I think you're misreading some of what is being said. > Nested subroutines date back to Algol, which was first specified in >

Error sending message [1116860878726.2800.mailserver_papl] from [www.pansegroup.com]

2005-05-23 Thread www.pansegroup.com PostMaster
[<00>] V-POP3bounce: [EMAIL PROTECTED];Error=[550 Error: Invalid Attachment] [<01>] Error sending message [1116860878726.2800.mailserver_papl] from [www.pansegroup.com]. ID: Mail From: Rcpt To: <[EMAIL PROTECTED]> Server: [209.120.245.170] [<02>] The reason of the delivery fail

Re: None module reference

2005-05-23 Thread Peter Hansen
Stefan Seefeld wrote: > In a python module of mine I import system modules > ('sys', say) and then use them from within some functions. > > However, during program termination I'm calling > one such function and the module reference ('sys') > is 'None' ! Are you running any daemon threads? This

Re: SQL Query via python

2005-05-23 Thread Scott David Daniels
Steve Holden wrote: > Jeff Elkins wrote: >>... cursor.execute("SELECT name, month, day ,category, city " >> " FROM bday WHERE %s = %s", (arg1,arg2)) >> No results. However, if I hardcode the WHERE argument with a field name: >>cursor.execute("SELECT name, month, da

No encodings after freezing

2005-05-23 Thread mmf
Hi. I have the following script (for example): #!/usr/bin/python text = 'Hallo' text_new = text.encode('utf_8') print text_new The I tried to "freeze" this script with cx_freeze 3.0.1 (command ./FreezePython example.py). Everything worked finde, a binary was created correctly. But everytime I r

Re: detached subprocess

2005-05-23 Thread Robin Becker
Robin Becker wrote: . > before the child ends its sleep. Of course it may be that it's just the > handles > that are being held. After further tests with procexp it seems that the parent is allowed to die, but its output is held up (perhaps apache is waiting on an eof) until the child die

Re: python24.zip

2005-05-23 Thread Scott David Daniels
Martin v. Löwis wrote: > Dieter Maurer wrote: > >>Really? >> >>Is the interpreter unable to call "C" functions ("stat" for example) >>to determine whether an object exists before it puts it on "path". > > What do you mean, "unable to"? It just doesn't. In fact, the interpreter doesn't necessarily

Re: Optimise Europython competition

2005-05-23 Thread Jacob Hallen
In article <[EMAIL PROTECTED]>, Carl Friedrich Bolz <[EMAIL PROTECTED]> wrote: >Jacob Hallen wrote: >> 2. A track should be continuous. Each track that is continuous gives you >>10 points. > >What exactly do you mean by "continuous track"? Continuous means that from the time of the first talk

Re: blabla

2005-05-23 Thread Peter Maas
Noud Aldenhoven schrieb: > Python rulz and sorry for this spam... news.test is made for testing :) -- --- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64') -

detached subprocess

2005-05-23 Thread Robin Becker
After struggling with os.spawnxxx to get a detached process I tried using Pyhton2.4's new subprocess module. I struggled with that as well even when trying to use the creation flags for DETACHED_PROCESS 0x8 and CREATE_NEW_PROCESS_GROUP = 0x200 I am using the following cgi script parent.cgi #!c

Re: What are OOP's Jargons and Complexities?

2005-05-23 Thread Mike Meyer
"Xah Lee" <[EMAIL PROTECTED]> writes: So now we find out that Xah Lee is as ignorant of other programming languages as he is of Python and Perl. > In advanced languages such as LISP family, it is not uncommon to define > functions inside a function. For example: > subroutine f (x1, x2, ...) { >

Re: first release of PyPy

2005-05-23 Thread Rocco Moretti
Alex Stapleton wrote: > The question still remains, can it run it's self? ;) > I think they try, every once in a while, to self host. The only problem at this stage of the game is the ~2000x speed slowdown. Using that figure, a five second startup time for PyPy on CPython would take about 3 ho

Re: minidom and DTD

2005-05-23 Thread Laszlo Zsolt Nagy
Martin v. Löwis wrote: >Laszlo Zsolt Nagy wrote: > > >>How can I put the >> >> >> >>thing into an XML created by xml.dom.minidom? >> >> > >You should put a DocumentType node into your >DocumentNode, and pass a qualifiedName of >"collection" and a systemId of "recipes.dtd" >to the createDocum

re[2]: Com object questions

2005-05-23 Thread Gijs Korremans
> Does IPADDRESSSTRUCT appear anywhere in the makepy-generated module ? Specifically, there should be a RecordMap dict containing any defined Records and their GUID's. No it's not in the genereted module, but it is in the COM Browser so I'm sure the struct is in the com object Maybe I can find

Re: minidom and DTD

2005-05-23 Thread "Martin v. Löwis"
Laszlo Zsolt Nagy wrote: > How can I put the > > > > thing into an XML created by xml.dom.minidom? You should put a DocumentType node into your DocumentNode, and pass a qualifiedName of "collection" and a systemId of "recipes.dtd" to the createDocumentType call. Regards, Martin -- http://mail

Re: Binding the names in a module in a class instance

2005-05-23 Thread Neal Norwitz
Jacob H wrote: > Hello all, > > I would like to be able to take a module full of class instances, > functions, etc and bind all its names to a separate container class in > a different module. I have come up with the following way to do it.. [snip] > I feel uneasy about this method. I foresee bad

ANNOUNCE: twill v0.7, scriptable Web testing

2005-05-23 Thread C. Titus Brown
ANNOUNCING twill v0.7. twill is a simple Web scripting language built on top of Python and mechanize. It's designed for automated testing of Web sites, but it may be useful for anybody who needs to deal with Web sites (with e.g. logins and cookies) in a non-interactive manner. twill is a reimple

Re: problem uploading ZIP file tp PyPI

2005-05-23 Thread John Machin
On Mon, 23 May 2005 15:04:27 +1000, richard <[EMAIL PROTECTED]> wrote: >John Machin wrote: >> FYI, there are a few unreconstructed diehards out here who neither run >> on a *x platform nor run bleeding-edge Python straight out of last >> night's CVS. > >I think you need to pull your head in, mate.

Re: I want to ask you the most important question of your life. The question is: Are you saved? It is not a question of how good you are, nor if you are a church member, but are you saved? Are you sure you will go to Heaven when you die? The reason some people don't know for sure if they are going to Heaven when they die is because they just don't know. The good news is that you can know for sure you are going to Heaven. May 22, 2005 12:10:55 pm

2005-05-23 Thread Linønut
[EMAIL PROTECTED] poked his little head through the XP firewall and said: > THE MOST IMPORTANT QUESTION OF YOUR LIFE > > This is the most important question of your life. > > The question is: Are you saved? Yeah! I'm saved! I use Linux! Hallelujah! -- When all you have is a hammer, everythin

Re: Multiple selections in Tix Hlist

2005-05-23 Thread Peter Saffrey
To answer my own question: HList(selectmode="extended") does all the work for you. Peter -- http://mail.python.org/mailman/listinfo/python-list

Re: Strange behaviour of floating point constants in imported modules

2005-05-23 Thread John Machin
On Mon, 23 May 2005 12:39:00 +0200, Tomasz Lisowski <[EMAIL PROTECTED]> wrote: >Hi, > >We are distributing our Python application as the short main script (.py >file) and a set of modules compiled to the .pyc files. So far, we have >always treated .pyc files as portable between platforms, Ther

Re: Strange behaviour of floating point constants in imported modules

2005-05-23 Thread Jeff Epler
This may be relevant to the problems you're seeing: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=774665&group_id=5470 The short story, as the tracker item paints it, is that setting LC_NUMERIC to anything other than 'C' can give results like the ones you describe---Python itse

Re: Access lotus notes using Python

2005-05-23 Thread Peter Dembinski
"Sateesh" <[EMAIL PROTECTED]> writes: > Hi, > Is it possible to access Lotus notes using Python? Can anyone > provide me some pointers? jython + LN Java bindings may be usable -- http://www.peter.dembinski.prv.pl -- http://mail.python.org/mailman/listinfo/python-list

Re: Access lotus notes using Python

2005-05-23 Thread Kartic
The Great 'Sateesh' uttered these words on 5/23/2005 7:14 AM: > Hi, > Is it possible to access Lotus notes using Python? Can anyone provide me > some pointers? > > Thanks > Sateesh > > Yes, you can... You need the win32all distribution installed and you can access Notes using the COM interface

Re: Access lotus notes using Python

2005-05-23 Thread Simon Brunning
On 5/23/05, Sateesh <[EMAIL PROTECTED]> wrote: > Hi, > Is it possible to access Lotus notes using Python? Can anyone provide me > some pointers? http://www.google.com/search?q=python+lotus+notes&btnI=Lucky -- Cheers, Simon B, [EMAIL PROTECTED], http://www.brunningonline.net/simon/blog/ -- http:

  1   2   >