Salome HOME
Porting to python3
[tools/yacsgen.git] / Examples / pydoc1 / components.py
index f56fd8fccdcd2fc6b8890e59bd1702dcc5434730..6a8fc904024f003b192613af17898e4c9ae17f85 100644 (file)
@@ -20,7 +20,7 @@
 import os
 
 #import context from ..
-execfile("../context.py")
+exec(compile(open("../context.py").read(), "../context.py", 'exec'))
 
 from module_generator import *