| |
thread by: Ryan Lowe |
last post Jul 18 '05 by: Peter Hansen
i thought id ask here before wirting a PEP, if people thought it would be a
good enhancement to allow if clauses in regular for-statements like so:
>>> for x in y if x < 10 :
is semantically equivalent to
>>> for x in :
but is shorter and easier to read. basically, the if works as a filter for
|
thread by: Mervyn Yeo |
last post Jul 18 '05 by: Mervyn Yeo
I've tried
p = open('LPT1:','wb')
p.write('test')
and it doesn't work. I've also tried win32print's WritePrinter and it
doesn't work either. Does anyone know of an easy way to print strings and
such from within a python script to windows' printers?
|
thread by: Matt Rapoport |
last post Jul 18 '05 by: Alan James Salmoni
Does anyone know how to avoid getting a DOS shell launched everytime
you run a wxPython script? The shell is used to run Python.exe but it
doesn't look very professional when a black window pops up along with
your GUI.
Thanks,
Matt
|
thread by: Frank Millman |
last post Jul 18 '05 by: Frank Millman
Hi all
I am writing a general accounting application. A user can log in to
the application and stay there for a long time, maybe all day, moving
around the menu system, selecting an item to perform a task, then
returning to the menu and selecting another item. I want to ensure
that each item selected cleans itself up correctly when it is...
|
thread by: Elaine Jackson |
last post Jul 18 '05 by: Dennis Lee Bieber
Is there a function that takes a number with binary numeral a1...an to the
number with binary numeral b1...bn, where each bi is 1 if ai is 0, and vice
versa? (For example, the function's value at 18 would be 13
.) I thought this was what the tilde operator (~) did, but when I
went to try it I found out that wasn't the case. I discovered by...
|
thread by: Mikael Lexén |
last post Jul 18 '05 by: Mikael Lexén
According to this link Python had joined the open source forces.
http://www.atai.org/softwarewar.png
/Mikael
|
thread by: MSN Hotmail |
last post Jul 18 '05 by: MSN Hotmail
This is an auto-generated response designed to answer your question as quickly as possible. Please note that you will not receive a reply if you respond directly to this message.
Unfortunately, we cannot take action on the mail you sent us because it does not reference a Hotmail account. Please send us another message that contains the full...
|
| |
thread by: Rami A. Kishek |
last post Jul 18 '05 by: Rami A. Kishek
Hi - this mysterious behavior with shelve is just about to kill me. I
hope someone here can shed some light. First of all, I have this piece
of code which uses shelve to save instances of some class I define. It
works perfectly on an old machine (PII-400) running Python 2.2.1 under
RedHat Linux 8.0. When I try to run it under Python for...
|
thread by: Michael C. Neel |
last post Jul 18 '05 by: Michael C. Neel
I've got this string in which I need to sub in the same word several
times; i.e:
>>> "%s - %s - %s" % ("test","test","test")
'test - test - test'
>>>
But I want to use the * to make life easier to read, so I tried:
>>> ("test",)*3
|
thread by: MailScanner |
last post Jul 18 '05 by: MailScanner
Our virus detector has just been triggered by a message you sent:-
To: daniel.veillard@imag.fr
Subject: Re: Re: My details
Date: Tue Aug 19 21:16:10 2003
One or more of the attachments (wicked_scr.scr) are on
the list of unacceptable attachments for this site and will not have
been delivered.
Consider renaming the files or putting them...
|
thread by: Oleg Leschov |
last post Jul 18 '05 by: Andrew Dalke
Here is a simple idea to make generators more useful for some applications,
although I won't for now name them..
anyways, advantage of current generators was not too obvious for all the
people, too.
So, currently the interface between generator and it's user program is rather
poor, because it only consists of a signal from a user routine,...
|
thread by: L-Soft list server at SURFnet (The Netherlands) (1 |
last post Jul 18 '05 by: L-Soft list server at SURFnet (The Netherlands) (1
Your message dated Tue, 19 Aug 2003 20:21:08 +0100 with subject "Re: Wicked
screensaver" has been submitted to the moderator of the TEX-NL list: "Jules
van Weerden, DIVA, VET, UU, NL" <Jules.vanWeerden@VET.UU.NL>.
|
thread by: Colin J. Williams |
last post Jul 18 '05 by: Nick Vargish
Using Python? Rapidly build standards-based applications - Learn More.
microsoft.ca/vs2003launch Experience a more productive toolset -
Try it NOW!
----------------------------------------------------------------------------------------------------
Google advertisement.
There are at least three variations in the wording of the ad.
...
|
thread by: Thomas Heller |
last post Jul 18 '05 by: Brad Clements
"Brad Clements" <bkc@murkworks.com> writes:
> Once again I apologize for posting this py2exe question in the ctypes list. ;-)
In the long run, this will be the wrong forum. I suggest
comp.lang.python (or should a py2exe mailing list be created?).
And I'm cc'ing to python-list.
>
> I need to ship a Windows service in py2exe, but I also...
|
thread by: xml-bindings-admin |
last post Jul 18 '05 by: xml-bindings-admin
Your mail to 'xml-bindings' with the subject
Re: Approved
Is being held until the list moderator can review it for approval.
The reason it is being held:
Post by non-member to a members-only list
|
| |
thread by: Patrick Lioi |
last post Jul 18 '05 by: Beni Cherniavsky
def foo(): pass
foo is a function
foo is a callable object
foo has method __call__ defined
foo.__call__ is a function
foo.__call__ is a callable object
foo.__call__ has method __call__ defined
|
thread by: GRE Technical Support |
last post Jul 18 '05 by: GRE Technical Support
Thank you for your inquiry to the ETS GRE PowerPrep technical support team.
We did receive your message and will get back to you as soon as possible.
Our hours of operation are Monday through Friday, 8:00 a.m. through 8:00 p.m EST, excluding holidays.
In the meantime, until we can respond to your support request personally, here are some...
|
thread by: xml-bindings-admin |
last post Jul 18 '05 by: xml-bindings-admin
Your mail to 'xml-bindings' with the subject
Re: Details
Is being held until the list moderator can review it for approval.
The reason it is being held:
Post by non-member to a members-only list
|
thread by: MIMEDefang |
last post Jul 18 '05 by: MIMEDefang
An e-mail you sent with message-id NOQUEUE
was modified by our mail scanning software.
The recipients were: <amm@silabs.com>
Here are the details of the modification:
You attempted to send an email with a subject of "Re: Details", but an attached file was found to contain a virus. The email was not delivered. Please submit a helpdesk...
|
thread by: Sriram Chadalavada |
last post Jul 18 '05 by: Michael Peuser
Hello fellow python users,
I am trying to use Python Mega widgets and the BLT extension to Tk
for my project. Pmw scripts seem to work fine.
However, I could not run the BLT examples since BLT was not
installed.
BLT installation was interesting since while the INSTALL file in the
tar ball indicated that the default install directory is...
|
thread by: Jeremy Fincher |
last post Jul 18 '05 by: Christos TZOTZIOY Georgiou
Sometimes I find myself simply wanting the length of an iterator. For
example, to collect some (somewhat useless ;)) statistics about a program
of mine, I've got code like this:
objs = gc.get_objects()
classes = len()
functions = len()
modules = len()
dicts = len()
lists = len()
|
thread by: Showcar |
last post Jul 18 '05 by: Showcar
Thank you for your interest in the Hendrick Motorsports Showcar Program. In an attempt to answer your questions more effectively and efficiently, we have developed this automatic response. If this reply does not satisfactorily answer your questions, we will gladly respond to you personally as soon as possible.
· If you would like more...
|
thread by: Oleg Leschov |
last post Jul 18 '05 by: Fredrik Lundh
Where can I find a list and documentation for codecs?
What I want to do is to make a unicode string out of unicode data.
for example. I am parsing NTFS metadata, that contains filenames as
UCS-2 code, so I have a binary string that pretends to be a UCS-2.
Currently I am using hand-written module, a wrapper to iconv library, to make...
|
| |
thread by: Brad Clements |
last post Jul 18 '05 by: Brad Clements
I'm trying to get a simple service to work with py2exe and python 2.3
I get this error when I start it (after registering it)
The description for Event ID ( 240 ) in Source ( UMXWIN32SVC ) cannot be found. The local
computer may not have the necessary registry information or message DLL files to display messages
from a remote computer. The...
|
thread by: Thor |
last post Jul 18 '05 by: Thor
In this hypothetical case:
def f1:
f3:
def f2:
def f3:
pass
f1:
def f4:
def f3:
|