Iron Python
|
|
Python Skin 32mm Iron Core 10 Wrap Tattoo Machine Repair Kit – Liner $30.00 |
|
|
Python Skin 32mm Iron Core 10 Wrap Tattoo Machine Repair Kit – Shader $30.00 |
|
|
Multi-Colored Python Skin 32mm Iron Core 10 Wrap Coil Machine Repair Kit – Liner $30.00 |
|
|
MultiColored Python Skin 32mm Iron Core 10 Wrap Coil Machine Repair Kit – Shader $30.00 |
How is invalid Python syntax?
Ok, so I'm making a program that begins several mods for a game I play, but never mind how to change the syntax tells me that it is valid. I changed the input function to raw_input, did the number of channels and everything, but I can not work. He says that the syntax is after making one in the case. valid import statement I print "Welcome to the Hearts of Iron 2 Game Selector print "1: Hearts of Iron 2 Doomsday-Armageddon" print "2 Hearts of Iron 2 Mod 1914" print "3: Hearts of Iron 2 Fallout Mod" option = input ("Choose the version of Hearts of Iron 2, you want to play:") if choice == 1 ^ os.system ("F: \ Doomsday \ Hoi2.exe) elif choice == 2 os.system ("F: \ Hearts of Iron 1914 \ Hoi2.exe") == 3 choice os.system ("F: \ Fallout Mod \ Hoi2.exe) Python version 2.6 is the use of ActiveState ActivePython.
An if statement requires a drain and block of text after the colon. Sales covers all other conditions and do a comparison. Elif change another person if necessary to make one final comparison or get rid of the choice == 3 comparison:. If the choice == 1 os.system ("F: \ Doomsday \ Hoi2.exe") elif choice == 2: os.system ("F: \ Hearts of Iron 1914 \ Hoi2.exe) else: os.system ("F: \ Fallout Mod \ Hoi2.exe)
