I'm trying to learn Python from a tutorial. I'm supposed to create a folder using mkdir
, but when I try that, I see this result:
> python
Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> mkdir mystuff
File "<stdin>", line 1
mkdir mystuff
^
SyntaxError: invalid syntax
I couldn't figure this out from the tutorial. What is wrong here, and how do I fix it?