0

Inside numpy.fft._pocketfft.py you can find import commands like:

from . import _pocketfft_internal as pfi

How would I interpret this line?

Artur Müller Romanov
  • 2,304
  • 3
  • 30
  • 64

1 Answers1

1

. means from current package. Hence, this line means:

from . import _pocketfft_internal as pfi

Import _pocketfft_internal from current package, you should be able to see a file named _pocketfft_internal.py in the current directory. You can study more about this from here

Zain Arshad
  • 1,875
  • 1
  • 11
  • 24