Syntaxerror: invalid syntax

190 views
Skip to first unread message

Marialejandra Castro Farias

unread,
Nov 19, 2017, 5:31:35 PM11/19/17
to PartitionFinder

Hola Rob! I'm having this problem. When I drag and drop the PartitionFinder.py in the command line I get this message:


I'm using PartitionFinder 2.1.1 and Python 2.7.14. I'm doing the PartitionFinder tutorial and I pretty sure that I'm following all the instructions. Can you help me? I attach the PartitionFinder.py if you want to take a look. Thank you so much!


P.DI 'm sorry if I send this message already, I from Venezuela and we always have Internet problems, so I don't really know if you get this message!

PartitionFinder.py
Auto Generated Inline Image 1

Rob Lanfear

unread,
Nov 19, 2017, 6:28:23 PM11/19/17
to PartitionFinder
Hi Marialejandra,

It looks like a simple problem. From what I can see you are hitting return after you type Python. You shouldn't. 

You should only hit return once you have finished typing your commandline in full.

Your commandline should look something like this:

python C:\Users\Negrita\Desktop\Programas\partitionfinder-2.1.1\PartitionFinder.py partition_finder.cfg

Once the whole thing is typed out, hit return.

Let us know how it goes.

Rob

Marialejandra Castro Farias

unread,
Nov 24, 2017, 10:30:33 AM11/24/17
to PartitionFinder
Gracias Rob! Totally true! Thank you for you response!
Reply all
Reply to author
Forward
0 new messages