Is it possible to add non-native libraries to python?

0

I'm wondering if there's a possibility of adding a non-native library of python .

Example, I'm using NetworkX to create graph, so I need to install the library and everything.

I want to add this library directly to the program, if I use it on another pc so I do not need to install it any more, I already encapsulate this library with the code.

Is there any way to do this?

Thank you.

    
asked by anonymous 17.07.2015 / 14:50

1 answer

0

There is a way for you to add it directly to your project code and to let it, in a way, already embedded.

Or you can use a folder in your project with a name you want and in python you put:

from modulo import modulo

This should work for you!

    
17.07.2015 / 16:29