On Fri, 23 Apr 2010 03:11:36 pm David Hutto wrote:
> Hello List!
>
> While experimenting with Tkinter(python2.6), when from Tkinter
> import* is used I came across the following error:
>
> C:\Users\ascent>c:\python26/Script3.py
> Traceback (most recent call last):
> File "C:\python26
Hello List!
While experimenting with Tkinter(python2.6), when from Tkinter import*
is used I came across the following error:
C:\Users\ascent>c:\python26/Script3.py
Traceback (most recent call last):
File "C:\python26\Script3.py", line 1, in
from Tkinter import *
File "C:\Pyt
On Fri, 23 Apr 2010 10:34:02 am Garry Willgoose wrote:
> My question is so simple I'm surprised I can't find an answer
> somewhere.
Did you read the Fine Manual?
> I'm interested if I can rely on the order of the
> directories in the sys.path list.
[...]
> The question is can I rely on entry
My question is so simple I'm surprised I can't find an answer
somewhere. I'm interested if I can rely on the order of the
directories in the sys.path list. When I'm running a file from the
comand line like
python tellusim.py
The string in entry sys.path[0] appears to be the full path to th
"Bill Jordan" wrote
If we have 100 apples, for example, and we need to distrubte
the 100 apples randomly in 10 boxes, how can we do this in python?
This sounds like homework, and we don't do homework for you.
But if you'd like to tell us your ideas, or even better show us whatever
code you
I suggest you take a look at the random module. There should be
something in there that suits your needs.
On Thu, Apr 22, 2010 at 2:13 PM, Bill Jordan wrote:
> Hey everbody,
>
> If we have 100 apples, for example, and we need to distrubte the 100 apples
> randomly in 10 boxes, how can we do this
Hey everbody,
If we have 100 apples, for example, and we need to distrubte the 100 apples
randomly in 10 boxes, how can we do this in python?
Cheers
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://