Re: How to write GUI and event separately in wxPython??

2007-07-30 Thread star . public
On Jul 30, 11:42 am, Chris Mellon [EMAIL PROTECTED] wrote: On Mon, 30 Jul 2007 06:32:55 -0400, Steve Holden wrote: [x for x in xrange(0, 101)] == [y for y in xrange(101)] True nitpick: list(xrange(42)) == list(xrange(42)) is slightly more concise than the list comp.. Not that it

Re: Imported globals?

2007-07-27 Thread star . public
On Jul 27, 1:30 pm, Valentina Vaneeva [EMAIL PROTECTED] wrote: Thank you, Gary, but I still have one question. What happens in the second case? If I add a call to change_value() to module_a, the value in module_b is imported changed. Why? What exactly does the import statement import in my

Re: From D

2007-07-25 Thread star . public
On Jul 25, 1:22 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: So, spaces will no longer be delimiters? Won't that cause much wailing and gnashing of teeth? I can't think of a circumstance in which 48 1906 is valid, so . . . I like it, too :) -- Star Weaver --

Re: Fetching a clean copy of a changing web page

2007-07-17 Thread star . public
On Jul 16, 4:50 am, Stefan Behnel [EMAIL PROTECTED] wrote: Diez B. Roggisch wrote: John Nagle wrote: I'm reading the PhishTank XML file of active phishing sites, at http://data.phishtank.com/data/online-valid/; This changes frequently, and it's big (about 10MB right now) and on a busy

Re: In a dynamic language, why % operator asks user for type info?

2007-07-17 Thread star . public
On Jul 17, 2:19 am, Paddy [EMAIL PROTECTED] wrote: On Jul 17, 1:10 am, Karthik Gurusamy [EMAIL PROTECTED] wrote: Hi, The string format operator, %, provides a functionality similar to the snprintf function in C. In C, the function does not know the type of each of the argument and

Re: Pass by reference or by value?

2007-07-13 Thread star . public
On Jul 13, 3:10 pm, Robert Dailey [EMAIL PROTECTED] wrote: Hi, I noticed in Python all function parameters seem to be passed by reference. ... [And later otherwise, etc, snip] Heya. Go read through the thread from yesterday, title starts with Understanding Python Functions -- they go through

Re: New guy help with setup

2007-07-12 Thread star . public
On Jul 12, 5:55 pm, meg99 [EMAIL PROTECTED] wrote: got the prompt Type fun things at the prompt, such as: print 'Some Obligatroy Greeting Like Hello World.' or [x*5 for x in [1,2,3,4,5]] or import os os.listdir('.') [os.isdir(x) for x in os.listdir('.')] Also, you should now be

Re: wxPython vs. Tkinter event loops

2007-07-11 Thread star . public
On Jul 11, 11:17 am, Chris Mellon [EMAIL PROTECTED] wrote: No again. wxPython provides a Process class for executing external applications and providing events in response to input, app exit, and similar. You can also implement it in a similar way to your Tkinter implementation, but backwards