0

I have a github repo consisting of python files/modules which looks like this.

Folder1 >>> file_to_import + Folder2 
Folder2 >>> more_files

Can I directly import the file_to_import into folder 2's more_files using python's command

import file_to_import

If not what should I do?

Brian61354270
  • 8,690
  • 4
  • 21
  • 43
KUSHAGRA BANSAL
  • 85
  • 1
  • 10

1 Answers1

1
import ../filesToImport

that should work