Reputation: 45
I have nothing to do with Python, just needed it for one script from Adding a prefix to Bootstrap CSS classes. In "how-to" author instruct to call the script in this way:
$python bootstrap_namespace_prefixer.py /path/to/boostrap/dir
so in command line I have typed
$python bootstrap_namespace_prefixer.py c:\bootstrap
which is giving me an error
File "", line 1
$python bootstrap_namespace_prefixer.py c:\bootstrap
^
SyntaxError: invalid syntax
Here is the link to script on github As I said I'm not Python programmer, just need this script to help me in my work, but have no idea what I am doing wrong...
Upvotes: 2
Views: 917
Reputation: 24238
Have you installed the Python
?
Python
, choose any version you like: x64
or x86
.Python
to PATH
:
Advanced System Settings
.Environment Variables
.;C:\Python33
to the PATH
variable.cmd.exe
or Powershell
.python bootstrap_namespace_prefixer.py c:\bootstrap
.Upvotes: 1