Re: I have a question.

2005-06-30 Thread Jags
Hi,

  You can use the "Random" module. You need to first import it using
"from random import Random, random".

Try the following sequence of steps on the Python/IDLE command line to
get an idea:

>>> from random import Random, random
>>> myRandom = Random()
>>> myRandom.random()

  Hope this helps.

  Cheers!
  -- Jags.

Nathan Pinno wrote:
> Hi all,
>
>   Does Python have a random function? If so, can you show me an example
> using it?
>
>   Thanks,
>   Nathan Pinno
>   http://www.npinnowebsite.ca/
>
>
>
> --
>
>
> 
>  Posted via UsenetRevolution.com - Revolutionary Usenet
> ** HIGH RETENTION ** Specializing in Large Binaries Downloads **
>  http://www.UsenetRevolution.com

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Seeking IDE

2005-06-30 Thread Jags
Hi there,

  You could use the IDLE that is bundled along with the Python
installation.

  If you don't like that, you could use any of the following editors:
EditPlus, TextPad, UltraEdit, WingIDE, Komodo (from ActiveState) or
jEdit. All these are Windows based.

  Cheers!
  - Jags.

-- 
http://mail.python.org/mailman/listinfo/python-list