Reputation: 1030
I am trying to follow a bad instructions website and because of that i'm getting troubles in executing scripts.
The website URL: http://www.tripleoxygen.net/wp/2014/01/sagemcom-modem-fst-2764-gv-power-box-gvt-desbloqueio/
The following commands is the ones i'm getting trouble with:
./unlocker.py --mode=install
The steps i'm doing:
Open CMD
D:(my flash drive directory)
python
unlocker.py --mode=install
What I get:
File "<stdin>", line 1
SyntaxError: can't assign to operator
but I don't think i'm executing the script, because there is no stdin in the file... So what I'm asking is:
Are my steps wrong?
How can I execute the script correctly from another directory?
Thanks in advance.
Upvotes: 0
Views: 96
Reputation: 600026
That website doesn't say to start python then enter unlocker.py
. It says to type ./unlocker.py
from the command prompt, not the Python prompt. You may need to do python unlocker.py
, but again, you're doing that from the command prompt.
Upvotes: 1