Reputation: 405
I have a file called connector.py deep in my project directory. How do I import it correctly? I'll give you my directory from my project:
/myproject/venv/lib/python3.8/site-packages/aiohttp/connector.py
I tried some steps on the internet but that would not work. Do I need to import specific libraries in order for this to work?
Upvotes: 0
Views: 19
Reputation: 605
You can use below import for importing this module
from aiohttp import connector
Just make sure that you using the correct environment.
Upvotes: 2