PyFile

class cgp_generic_utils.files.PyFile(path)

Bases: cgp_generic_utils.files.File

file object that manipulates a .py file on the file system

importAsModule()

import the python file as module

Returns:the module object
Return type:python