Jump to Post
Just make sure they are both in the same directory (probably c:/python or something like that).
Then you can just import the other file and use it like it is a module.
import test.py #just imports the file from test.py import * #brings every class and function …
All 4 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.