How does python handle different python versions for code & imported custom libraries

21 Views Asked by At

Say, An app is using python3, but it leverages/installs a custom library (which uses python2.7), will the respective python versions be maintained when their methods are executed?

Ex - a method in the app(using python3) calls the method 'display_result()' of the custom library(written in python2.7), will each method be interpreted & executed with their respective python versions?

The custom library

0

There are 0 best solutions below