How import works in Python

Sasidhar Donaparthi (~sasidhar)




Import machinery has been revamped and has been re-written in Python3. Not many of the developers are aware of the internal mechanics of how the import system works and how this can be leveraged for some specific use cases

This talk will introduce the audience to:

  • Evolution of import system in python
  • What happens under the hoods when a module/package is imported into Python namespace
  • Various hooks available that can be leveraged for customization
  • Some of the usecases where this can be leveraged

After the talk, audience will get a clear idea of how import system is implemented in Python3 and will be able to leverage the hooks available for any future use cases


Knowledge of python programming, basic understanding of Python modules and Packages, knowledge of python standard library modules like sys, os, etc

Content URLs:

Speaker Info:

I am a mechanical engineering graduate with 25+ years of experience in manufacturing and financial services domains, I have started my career as design engineer in hydraulic turbine manufacturing company. After spending 5 years, I have stated my IT journey at Aspect Development/i2 Technology. I have worked primarily on data scrubbing, modelling, analysis and data migration projects for supply chain management. I then joined technology services side of Fidelity, financial services company. I have been using python for last 5 years for automation, data analysis, web development, etc. I am very excited about the endless opportunities that arise in day today work and application of python for solving/automating the same. I am very passionate about teaching python to engineering students thru pythonexpress program. I conduct regular training sessions for data analys ( numpy, pandas and matplotlib).

Speaker Links:

github link -

linkedin profile -

twitter handle - @sdonapar

Section: Python 3k
Type: Talks
Target Audience: Intermediate
Last Updated:

Hi, It would be nice if you add your slides too. It will help our team to review your proposal. Thanks

Rajat Saini (~rajataaron)

Sure, will do, can you please specify which slides you think were busy

Sasidhar Donaparthi (~sasidhar)

slides are present at github repo - Please let me know if you are looking for additional information

Sasidhar Donaparthi (~sasidhar)

Login to add a new comment.