Forum Archive

Loading other .py projects from one .py project

qwirrr

I’ve tried doing it myself but all I get is both of the projects being loaded (despite the project I want to load when a button is pressed is in a def) with the main project being the one on top of the other project and thus I can’t access the project I want to load

sam rod

be sure of use Python 3 and implement the next code

import namefile

is we are using a file called paranimo.py
It is write like this

import paronimo

look is not the type used