I'm currently reading a huge Python book. I've just written my first Python code (from this book). It's [CODE]import sys print(sys.platform) print(2 ** 100) x = 'spam!' print(x*8) [/CODE] It works fine and I get the results I want. The only problem I have right now is running it off the system Shell prompt. I'm typing [CODE]python script1.py[/CODE] And that doesn't work. I'm also typing [CODE]% python script1.py[/CODE] I'm getting this syntax error [CODE]File "<stdin>", line 1 python script1.py SyntaxError: invalid syntax[/CODE] What am I doing wrong? I have tried both Python Command Line and CMD just to test anything. …

Member Avatar
Member Avatar
+0 forum 13

I know it's one of those programming languages thought of as an easy thing to learn (or so it seems like it). My problem is not with the difficulty of learning the language, rather the outdated guides and the problems with Python 3.2. So I looked into a book called Diving into Python. It's free and I thought I would give it a go. It directed me to a website with a download to Python 3.2. I downloaded it and now I'm regretting of trying to learn Python. I don't like to give up easily, but I think this might …

Member Avatar
Member Avatar
+0 forum 10

The End.