|
|
#1 |
|
Python troble
I'm learning Python IDLE. I'm trying to write a very simple text game. I'm one error away to have it working.
SyntaxError: invalid syntax items = ["Cup","Vase","Table","Lamp","Bowl","Door"] (Bold is highlighted) All I want to do is create a list. Somebody please help.
|
|
|
|
0
|
|
|
#2 |
|
Try a different name; maybe "items" is a reserved name?
Also, what is on the line above it? Many times, the context can help a lot. |
|
|
|
0
|
|
|
#3 |
|
The syntax of that line is fine. We need more details.
__________________
ACSA, ACMT |
|
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| thread | Thread Starter | Forum | Replies | Last Post |
| Python per instance properties? | Analog Kid | Mac Programming | 0 | Jan 31, 2012 05:21 PM |
| Python and mac applications | jangoforhire | Mac Programming | 1 | Dec 4, 2011 05:38 AM |
| bash/python question | lynkynpark86 | Mac Programming | 2 | Jun 8, 2011 01:05 AM |
| Python terminal command? | lynkynpark86 | Mac Programming | 2 | May 28, 2011 04:28 PM |
| i.e. trobles with flex | Cabbit | Web Design and Development | 4 | Jul 27, 2007 09:26 AM |
All times are GMT -5. The time now is 01:43 AM.






Linear Mode

