Re: New to group

2008-03-24 Thread pythonnubie
On Mar 24, 12:18 pm, George Sakkis <[EMAIL PROTECTED]> wrote: > On Mar 24, 3:13 pm, pythonnubie <[EMAIL PROTECTED]> wrote: > > > > > > > > > i  have  come across my first exeption using randrange . The exeption > > > > is " no such  attribute " in  module random > > > > > platform  is xp  home  and

Re: New to group

2008-03-24 Thread pythonnubie
On Mar 24, 12:18 pm, George Sakkis <[EMAIL PROTECTED]> wrote: > On Mar 24, 3:13 pm, pythonnubie <[EMAIL PROTECTED]> wrote: > > > > > > > > > i  have  come across my first exeption using randrange . The exeption > > > > is " no such  attribute " in  module random > > > > > platform  is xp  home  and

Re: New to group

2008-03-24 Thread George Sakkis
On Mar 24, 3:13 pm, pythonnubie <[EMAIL PROTECTED]> wrote: > > > i have come across my first exeption using randrange . The exeption > > > is " no such attribute " in module random > > > > platform is xp home and the python build is activestate 2.5 > > > Welcome aboard! > > > There's defini

Re: New to group

2008-03-24 Thread Peter Otten
pythonnubie wrote: > On Mar 24, 11:57 am, Jeff <[EMAIL PROTECTED]> wrote: >> What does the code look like? > > # Random Access > # Demonstrates string indexing > # Michael Dawson - 1/27/03 > > import random > > word = "index" > print "The word is: ", word, "\n" > > high = len(word) > low = -le

Re: New to group

2008-03-24 Thread Jeffrey Froman
pythonnubie wrote: > The exeption > is " no such  attribute " in  module random Is your own source file named "random.py" by chance? If so, rename it, and be sure to remove the leftover random.pyc file as well. Jeffrey -- http://mail.python.org/mailman/listinfo/python-list

Re: New to group

2008-03-24 Thread George Sakkis
On Mar 24, 3:03 pm, pythonnubie <[EMAIL PROTECTED]> wrote: > On Mar 24, 11:57 am, Jeff <[EMAIL PROTECTED]> wrote: > > > What does the code look like? > > # Random Access > # Demonstrates string indexing > # Michael Dawson - 1/27/03 > > import random > > word = "index" > print "The word is: ", word,

Re: New to group

2008-03-24 Thread pythonnubie
> > > i  have  come across my first exeption using randrange . The exeption > > is " no such  attribute " in  module random > > > platform  is xp  home  and the python  build is activestate 2.5 > > Welcome aboard! > > There's definitely a randrange function in the random module, so > something else

Re: New to group

2008-03-24 Thread Robert Kern
pythonnubie wrote: > On Mar 24, 11:57 am, Jeff <[EMAIL PROTECTED]> wrote: >> What does the code look like? > > # Random Access > # Demonstrates string indexing > # Michael Dawson - 1/27/03 > > import random Make sure that you do not have a random.py module in the current directory. Python check

Re: New to group

2008-03-24 Thread George Sakkis
On Mar 24, 2:53 pm, pythonnubie <[EMAIL PROTECTED]> wrote: > Hi Everyone > > I am new to programming in general although I have read alot and > done alot of experimentation as well as researched afew languages > namely java python and visual basic . My conclusion is that python > is one of

Re: New to group

2008-03-24 Thread pythonnubie
On Mar 24, 11:57 am, Jeff <[EMAIL PROTECTED]> wrote: > What does the code look like? # Random Access # Demonstrates string indexing # Michael Dawson - 1/27/03 import random word = "index" print "The word is: ", word, "\n" high = len(word) low = -len(word) for i in range(10): position = rand

Re: New to group

2008-03-24 Thread Mike Driscoll
On Mar 24, 1:53 pm, pythonnubie <[EMAIL PROTECTED]> wrote: > Hi Everyone > > I am new to programming in general although I have read alot and > done alot of experimentation as well as researched afew languages > namely java python and visual basic . My conclusion is that python > is one of

Re: New to group

2008-03-24 Thread Jeff
What does the code look like? -- http://mail.python.org/mailman/listinfo/python-list

New to group

2008-03-24 Thread pythonnubie
Hi Everyone I am new to programming in general although I have read alot and done alot of experimentation as well as researched afew languages namely java python and visual basic . My conclusion is that python is one of the best because it eliminates the need to learn about access modifi