Bypassing import in Python so that I don't have to upload multiple libraries and classes?
Posted
by Rob
on Stack Overflow
See other posts from Stack Overflow
or by Rob
Published on 2010-05-23T14:36:54Z
Indexed on
2010/05/23
14:40 UTC
Read the original article
Hit count: 201
For example, I have a few python scripts, that link together and some libraries for it that need to be imported. I'm trying to reduce it to only one script.
So instead of:
import library.py
Can I just take the coding from library.py and put into the main script?
© Stack Overflow or respective owner