Im creating a framework in python, and I have two files main_part.py and class_part.py, in class_part.py I have a class CreateParserClass and inside the class CreateParserClass I have a function create_parser that will create a parser, how can I import the class CreateParserClass from the python file class_part.py, and use it to execute the function create_parser from the class CreateParserClass in main_part.py?
            Asked
            
        
        
            Active
            
        
            Viewed 38 times
        
    0
            
            
        - 
                    2Possible duplicate of [Python: How to import other Python files](https://stackoverflow.com/questions/2349991/python-how-to-import-other-python-files) – Chiheb Nexus Jun 08 '17 at 22:44
- 
                    `import class_part`? – John Zwinck Jun 08 '17 at 23:04
