Hi everybody,
I am new to python and trying to write a lottery program for a
schoolproject.
The program is supposed to draw the lottery any entered(user input) number
of times, then store the drawing results in a file. After drawings the user
should see (if he wants to) how many times each of
Hi,
I'm trying to use the join() method on a list to be able to store the
contents of that list in a file. Basically I want the contents of the list
stored without the []. I've tried numerous ways of using the join() method,
but they all return errors. I've tried using the tutorial and document
string to file
fout.close()
vDraws = vDraws - 1
>From: "Andreas Kostyrka" <[EMAIL PROTECTED]>
>Reply-To: "Andreas Kostyrka" <[EMAIL PROTECTED]>
>To: "Moedeloos Overste" <[EMAIL PROTECTED]>
>CC: tutor@python.org
>Subje
r@python.org
>Subject: Re: [Tutor] Newbie question: join() string method
>Date: Mon, 27 Nov 2006 18:46:04 -
>
>"Moedeloos Overste" <[EMAIL PROTECTED]> wrote
>
> > One question: When I run the program from IDLE it writes the data to
> > file
> > but
Hi everybody,
I'm in the process of learning Python and working my way through O'Reilly's
"Learning Python". As an excercise I wrote (some copy/paste as well) a small
lottery program just to learn how to work with lists and dictionarys etc.
The user has to enter 6 numbers from a range(1-45). Th
egards,
Robert
>From: Luke Paireepinart <[EMAIL PROTECTED]>
>To: Moedeloos Overste <[EMAIL PROTECTED]>
>CC: tutor@python.org
>Subject: Re: [Tutor] Newbie question: random.sample illusion?
>Date: Thu, 07 Dec 2006 12:17:23 -0600
>
>Moedeloos Overste wrote:
>>Hi eve