beginner's question
Hadi
hadi at nojunk.com.au
Fri May 14 10:08:16 EDT 2004
Peter,
You're right. This is related to my assignment. I've checked the website
you've pointed me but I didn't find it useful. First, I need to know what
python file looks like, how to declare attributes etc.
regards,
hadi
> Can you post some sample code that you've written to show that you've
> actually tried by yourself first? That will also give us a starting
> point in helping you.
>
> Otherwise we're likely to be spoonfeeding you answers to your homework
> assignment. Presumably you have already learned some basic programming
> in class and are supposed to be trying to apply that learning in this
> exercise?
>
> Hints: How do you open a file in Python and read lines from it? (see
> the tutorial online at www.python.org) How do you define an "array"
> in Python? (see tutorial again, looking at dictionaries) How do you
> write a loop in Python? (use the 'for' or 'while' keywords, depending
> on what exactly you want to do: see the tutorial for examples)
>
> -Peter
More information about the Python-list
mailing list