from gcstruct import gcstruct_uebersetzung import cProfile if __name__ == "__main__": cProfile.run( 'gcstruct_uebersetzung("C:\\GlobalCube\\Tasks\\scripts")', "gcstruct_profiler.prof", )