I have two files first_file and second_file in the same directory dir. When I am trying to import second_file in first_file using
from dir import second_file
I am getting ImportErorr. I have also tried using
from . import second_file
in the first_file but still I am getting that error. I am using Python 3.6 How to import correctly?