Re: [Tutor] gendata.py

2007-08-02 Thread Kyle Brooks
Hi. If you think time.ctime is Unix specific, it is not. - Kyle On 8/2/07, Eric Brunson <[EMAIL PROTECTED]> wrote: > > What is it that you think makes it Unix specific? > > Que Prime wrote: > > > > This script appears to be written for Unix systems. Is there a way to > > get it to work for Pyth

Re: [Tutor] gendata.py

2007-08-01 Thread Eric Brunson
What is it that you think makes it Unix specific? Que Prime wrote: > > This script appears to be written for Unix systems. Is there a way to > get it to work for PythonWin? > > from random import randint, choice > from string import lowercase > from sys import maxint > from time import ctime >

[Tutor] gendata.py

2007-08-01 Thread Que Prime
This script appears to be written for Unix systems. Is there a way to get it to work for PythonWin? from random import randint, choice from string import lowercase from sys import maxint from time import ctime doms = ( 'com', 'edu', 'net', 'org', 'gov' ) for i in range(randint(5, 10)): dtin