On 6/8/2009 7:20 PM Christopher Spears said...
Hey,
I am trying to get to www.wxpython.org, but my connection keeps timing out. Is
the site down? I just want to download wxPython for Python 2.6 (Windows Vista
32 bit).
Will this one work?
http://sourceforge.net/project/showfiles.php?group
Hey,
I am trying to get to www.wxpython.org, but my connection keeps timing out. Is
the site down? I just want to download wxPython for Python 2.6 (Windows Vista
32 bit).
Thanks.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailm
On Mon, Jun 8, 2009 at 1:12 PM, Allen Fowler wrote:
>
>>
>
>> My 2 cents...
>>
>> 1) Since you are describing your source code layout, any virtual
>> environment should be outside. A virtual environment (virtualenv) is
>> part of deployment and not part of source. If you need to make a
>> reproduci
On Mon, Jun 8, 2009 at 12:56 PM, Gonzalo
Garcia-Perate wrote:
> Kent, Emile thank you both. You're absolutely right, I was going for
> range because I thought it made the code more readable/more explicit.
> I hadn't taken into account the performance hit of creating the list
> and iterating through
Accidentally sent I have added the rest
(by the way I refrain from using the terms attribute, method, as I
will likely miss use them)
> I am reading several tutorials about classes and trying to figure out
> how to apply it to my project. I have a working program that basically
> matches up ap
I am reading several tutorials about classes and trying to figure out
how to apply it to my project. I have a working program that basically
matches up applicants and schools. Schools and applicants have and
"true" quality and an "observed" quality. Then there is an algorithm
that matches them up.
Hi,
I made a very simple program to send everybody I know a change of address I am
parsing the .msg files with another function, which returns a set called
'recipients'.
The code below works, but it displays all recipients in the 'to' field. That
is, in the Nth iteration, N recipients are sho
On Mon, Jun 8, 2009 at 5:15 PM, Albert-jan Roskam wrote:
>
> (sorry for posting this again, but something might have gone wrong)
>
> Hi,
>
> I made a very simple program to send everybody I know a change of address I
> am parsing the .msg files with another function, which returns a set called
>
Albert-jan Roskam wrote:
(sorry for posting this again, but something might have gone wrong)
Hi,
I made a very simple program to send everybody I know a change of address I am
parsing the .msg files with another function, which returns a set called
'recipients'.
The code below works, but it
(sorry for posting this again, but something might have gone wrong)
Hi,
I made a very simple program to send everybody I know a change of address I am
parsing the .msg files with another function, which returns a set called
'recipients'.
The code below works, but it displays all recipients in
On Mon, Jun 8, 2009 at 10:53 AM, The Green Tea Leaf <
thegreenteal...@gmail.com> wrote:
> On Mon, Jun 8, 2009 at 17:26, Wayne wrote:
> > On Mon, Jun 8, 2009 at 10:07 AM, The Green Tea Leaf
> > wrote:
> >>
> >> Could it be some import statement? That the gzip file is "shadowed" in
> >> some way?
>
>
> My 2 cents...
>
> 1) Since you are describing your source code layout, any virtual
> environment should be outside. A virtual environment (virtualenv) is
> part of deployment and not part of source. If you need to make a
> reproducible deployment environment, then you need a deployment syst
On Sat, Jun 6, 2009 at 11:10 PM, wesley chun wrote:
>>> Hello, I thought I understood **kwargs until I stumbled with this
>>> function:
>>>
>>> def changeflexion(myword, mytag, **dicty):
>>> :
>>>
>>> but when I import the module and call:
>>> a = conjugate.changeflexion('estaban', 'VLFin',
Kent, Emile thank you both. You're absolutely right, I was going for
range because I thought it made the code more readable/more explicit.
I hadn't taken into account the performance hit of creating the list
and iterating through it. I'm not sure it was more readable either.
the function now reads
On Mon, Jun 8, 2009 at 17:26, Wayne wrote:
> On Mon, Jun 8, 2009 at 10:07 AM, The Green Tea Leaf
> wrote:
>>
>> Could it be some import statement? That the gzip file is "shadowed" in
>> some way?
>
> based on what the OP said, there's really nothing that should produce that
> that I can think of t
On Mon, Jun 8, 2009 at 10:07 AM, The Green Tea Leaf <
thegreenteal...@gmail.com> wrote:
> Could it be some import statement? That the gzip file is "shadowed" in some
> way?
based on what the OP said, there's really nothing that should produce that
that I can think of that would produce the given
Could it be some import statement? That the gzip file is "shadowed" in some way?
On Mon, Jun 8, 2009 at 16:11, Alan Gauld wrote:
>
> "Mike Hoy" wrote
>
>
>> I have the following code:
>
> Is this in a file or are you typing it at the python
> interpreter >>> primpt?
>
>> import gzip
>> import dat
"Eddie" wrote
Hi, I'm new and just starting to learn Python. Just testing if this
works or not and if anybody reads it lol.
Welcome! If you take a look at the archive on the web site
you'll see that quite a lot of folks read it - and many reply too!
You might even find answers to a lot
"Mike Hoy" wrote
I have the following code:
Is this in a file or are you typing it at the python
interpreter >>> primpt?
import gzip
import datetime
date = datetime.date.today()
name = date.strftime('%m-%d-%Y')+'.gz'
date.strftime('%m-%d-%Y')+'.gz'
print "The name of the file will be", na
"xbmuncher" wrote
Thanks for the reply Alan. I'm unfamiliar on both methods you suggested.
Can
you give me examples with code of them?
Yes:
In a console(untested):
#
x = 0
try:
while True:
x += 1
print x
sleep(0.1)
except KeyboardInterrupt:
print 'stopped'
Thanks for the reply Alan. I'm unfamiliar on both methods you suggested. Can
you give me examples with code of them?
I saw this piece of code on your webpage:
import msvcrt
def doKeyEvent(key):
if key == '\x00' or key == '\xe0': # non ASCII
key = msvcrt.getch() # fetch second character
Le Mon, 8 Jun 2009 09:23:08 +0100,
"Alan Gauld" s'exprima ainsi:
> There are two normal ways to do this in a GUI:
> 1) break the loop into small chunks and run them in response
> to timer events. The function then calls the timer at the end of
> each chunk until it completes its task. This frees
Eddie wrote:
Hi, I'm new and just starting to learn Python. Just testing if this
works or not and if anybody reads it lol.
Eddie
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Welcome to the list and enjoy you
Thanks for the reply Alan. I'm unfamiliar on both methods you suggested. Can
you give me examples with code of them?
I saw this piece of code on your webpage:
import msvcrt
def doKeyEvent(key):
if key == '\x00' or key == '\xe0': # non ASCII
key = msvcrt.getch() # fetch second characte
On Mon, Jun 8, 2009 at 7:30 AM, Eddie wrote:
> Hi, I'm new and just starting to learn Python. Just testing if this
> works or not and if anybody reads it lol.
Yes, it works. Welcome!
Kent
___
Tutor maillist - Tutor@python.org
http://mail.python.org/ma
Hi, I'm new and just starting to learn Python. Just testing if this
works or not and if anybody reads it lol.
Eddie
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Mike Hoy wrote:
I have the following code:
import gzip
import datetime
date = datetime.date.today()
name = date.strftime('%m-%d-%Y')+'.gz'
date.strftime('%m-%d-%Y')+'.gz'
print "The name of the file will be", name
the output is:
The name of the file will be
The name of the file will be 06-08-20
On Mon, Jun 8, 2009 at 11:57 AM, Mike Hoy wrote:
> I have the following code:
>
> import gzip
> import datetime
> date = datetime.date.today()
> name = date.strftime('%m-%d-%Y')+'.gz'
> date.strftime('%m-%d-%Y')+'.gz'
> print "The name of the file will be", name
>
> the output is:
> The name of the
This doesn't happen on my machine. What is the filename ?
--
The Green Tea Leaf thegreenteal...@gmail.com thegreentealeaf.blogspot.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
I have the following code:
import gzip
import datetime
date = datetime.date.today()
name = date.strftime('%m-%d-%Y')+'.gz'
date.strftime('%m-%d-%Y')+'.gz'
print "The name of the file will be", name
the output is:
The name of the file will be
The name of the file will be 06-08-2009.gz
I can't fi
"xbmuncher" wrote
def longLoop():
x = 0
for n in range(10):
time.sleep(5)
x = x + n
It will run in the console for a long time. How can I send a command and
cause it to stop and pursue hello() function?
You can use Ctrl-C and put the loop insiode a try/except clause
t
31 matches
Mail list logo