Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 [split] Array in numpy
#1
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?
Quote
#2
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?
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  memory issue loading movie to numpy array djf123 1 80 Nov-07-2019, 06:19 AM
Last Post: ThomasL
  Numpy structured array Nitram 3 252 Sep-17-2019, 10:09 PM
Last Post: jefsummers
  numpy.copy / numpy.delete paul18fr 3 296 Jul-26-2019, 01:51 PM
Last Post: paul18fr
  AttributeError: module 'numpy' has no attribute 'array aapurdel 7 5,299 May-29-2019, 02:48 AM
Last Post: heiner55
  Array in numpy Truman 5 4,215 May-26-2019, 10:14 AM
Last Post: snippsat
  [numpy]add a value to an array elmismo999 1 418 May-23-2019, 04:15 PM
Last Post: michalmonday
  "erlarge" a numpy-matrix to numpy-array PhysChem 2 439 Apr-09-2019, 04:54 PM
Last Post: PhysChem
  while creating a array using numpy.arrange, how to negate only the last 50 numbers? vicky53 1 450 Apr-06-2019, 11:52 AM
Last Post: scidam
  How to get the size of a numpy array? mcgrim 2 487 Mar-23-2019, 02:25 PM
Last Post: perfringo
  creating an empty NumPy array in Python sandeepatel 2 1,267 Jan-16-2019, 09:24 AM
Last Post: rinu

Forum Jump:


Users browsing this thread: 1 Guest(s)