May-26-2019, 03:25 AM
I renamed the file we are talking about above, __init__.py to numpy.py
I run >>> import numpy as np
I run >>> np.__file__ 'C:\Adrian\Python37\Lib\numpy-1.11.2\numpy\numpy.py'
SyntaxError: invalid syntax
what should my last command be for there to be no error? It worked once, I don't remember how I did it.
I run >>> import numpy as np
I run >>> np.__file__ 'C:\Adrian\Python37\Lib\numpy-1.11.2\numpy\numpy.py'
SyntaxError: invalid syntax
what should my last command be for there to be no error? It worked once, I don't remember how I did it.