Relative Content

Tag Archive for functionclassimport

importing related classes and functions from different .py files

I want to separate the classes and functions which ara in a single .py script into different .py scripts to be tidy. for example, my_functions.py and my_class.py. but some functions contain “my_class.py” ‘s class parameters or attributes. for example: