Post

PythonPython

S
Surya kumar

Posted on 23rd April 2024|15 views

0
votes

Python Import File From Another Directory

How to import a python module from another folder?

Answers
P
Athiq mohd

Posted on 23rd April 2024

There are three main steps to import a python module form another folder they are:

  1. Firstly you have to check the path.
  2. Next, add the --INIT-- .
  3. Then finally you can import the module.

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos