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
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
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
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
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
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,
>
> > 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
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
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
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
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
What does the code look like?
--
http://mail.python.org/mailman/listinfo/python-list
12 matches
Mail list logo