Hi David,
Thanks for the bit of code on finding shares! I'd been using something a
bit different (win32com.client stuff) but your code looks better.
I've found that win32file.FindFilesIterator (suggested to me by another
person on this mailing list) allows the gui to remain responsive. Using
Hi All,
I'm currently using os.listdir to obtain the contents of some slow Windows
shares. I think I've seen another way of doing this using the win32 library
but I can't find the example anymore.
My main problem with using os.listdir is that it hangs my gui application.
The tread running the
Hi Tim,
That does the trick! Now my gui remains responsive during the long search
time.
Thanks!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Tim Golden
Sent: 30 December 2004 10:54
To: python-list@python.org
Subject: RE: Is there a better way of
I rather like it! I prefer writing obj.spam to obj[spam]! I wonder if
there is a technical downside to this use of Python?
P.S.
Certainly makes writing 'print obj.spam, obj.spam, obj.eggs, obj.bacon,
obj.sausages, and, obj.spam' a lot easier ;-)
-Original Message-
From: [EMAIL
If a default value would be acceptable to the application (which is quite
likely), then this would be a much cleaner solution.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Roland Heiber
Sent: 16 December 2004 10:28
To: [EMAIL PROTECTED]
Subject: Re:
Hi Craig,
How about creating your own module that does this in __init__.py.
You could create a directory (Eg craig_init) and in that directory create
the file __init__.py containing the following code:
try: import libxml
except:
# Blah, blah, blah. A clever bit of code goes here!
WARNING:
Hi Claudio,
If I recall correctly Guido van Rossum (creator/father of Python) did not
mention AsmL as being an influence. Also AsmL appears to be more recent
(circa .NET epoch) than Python (circa 1991). Hence, I would suggest that the
Foundations of Software Engineering group at Microsoft have
Here are my suggestions:
1. A larch (nice play on early Java)
2. Shoebox in middle o' road! (totally meaningless)
3. A Python sitting in a comfy chair (indicating ease-of-use)
4. A larch
All very Pythonic and non-controversial (unless you're a member of the
Prevention of Cruelty to Shoeboxes
If you want to spend the $35 I can recommend WingIDE.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Chris
Sent: 14 December 2004 16:37
To: [EMAIL PROTECTED]
Subject: Python IDE
What IDE's do y'all recommend for Python? I'm using PythonWin atm, but
You could try the following:
regex = re.compile([\$]\w+, re.IGNORECASE)
I've only done a bit of testing. Maybe somebody has a better solution.
Cheers!!
Dermot.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 01 December 2004
10 matches
Mail list logo