Python Forum

Full Version: [split] Array in numpy
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I renamed __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?
Please don't hi-jack threads. Post your questions in separate thread.
Please, use proper tags when post code, traceback, output, etc.
See BBcode help for more info.
It's not clear what you talk about. what __init__.py file you renamed and why you decide you need to rename it?