File Path/Global name issue

Skip Montanaro skip at pobox.com
Thu Mar 20 16:05:41 EDT 2014


On Thu, Mar 20, 2014 at 2:55 PM,  <roy.snuffles at gmail.com> wrote:
> File "simpleRun.py", line 29
>     help= ~/home/lai/Downloads/influence_matrix_files/hprd_inf_.mat)
>            ^
> SyntaxError: invalid syntax

You need quotes around the filename. It's a string literal.

Skip



More information about the Python-list mailing list