"kevin hayes" wrote
Hi all! I'm trying to write a basic text adventure game to start
learning
python (just for fun). I've gone through the first four chapters of
a "learn
python game programming book" and I'm having trouble with the
exercise on
writing a text adventure.
Sorry I don't know
Hello,
Im trying to do a import on a linux machine.
But now Im gettting this message :
Python 2.6.5 (r265:79063, Apr 1 2010, 05:28:39)
[GCC 4.4.3 20100316 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import calender
Traceback (most recent
But the module calender exist
> I can be found here : /usr/lib/python26/site-packages
>
> How to solve this one ?
>
> Roelof
>
>
> ___
> Tutor maillist - Tutor@python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/
tutor-bounces+christopher.henk=allisontransmission@python.org wrote on
08/28/2010 12:54:28 PM:
> Hello,
>
> Im trying to do a import on a linux machine.
> But now Im gettting this message :
>
> Python 2.6.5 (r265:79063, Apr 1 2010, 05:28:39)
> [GCC 4.4.3 20100316 (prerelease)] on linux2
Thanks to Luke for pointing out that Room1() did not return anything.
I now add a return statement:
9) have the functions return text rather than printing it. Use triple
quoted text. e.g.:
def Room1():
description = """You find yourself in a large room. Above you is a
massive crystal
cha
> Date: Sat, 28 Aug 2010 10:24:06 -0700
> Subject: Re: [Tutor] import prroblem
> From: thud...@opensuse.us
> To: rwob...@hotmail.com
>
> On Sat, Aug 28, 2010 at 9:54 AM, Roelof Wobben wrote:
> > Hello,
> >
> > Im trying to do a import on a linux machine.
> > But now Im gettting this message :
Ok I think I got it. Thanks everybody. And sorry for the late reply. My
classes have just started so learned python unfortunately must be bumped
down on the priority list
On Thu, Aug 26, 2010 at 4:32 AM, Alan Gauld wrote:
>
> "Andrew Martin" wrote
>
> I want to compare zenith, a floating point
it is >>> import calendar not calender
--nitin
On Sat, Aug 28, 2010 at 10:51 PM,
wrote:
>
>
> tutor-bounces+christopher.henk=allisontransmission@python.org wrote on
> 08/28/2010 12:54:28 PM:
>
> > Hello,
> >
> > Im trying to do a import on a linux machine.
> > But now Im gettting this messag