I would like to know if executing:
c = compile('a=5\np rint a','<string>',' exec')
on a Linux box, then pickling+beamin g the result on a Windows box, will give me the expecting result:
[color=blue][color=green][color=darkred]
>>> exec(c)[/color][/color][/color]
5
In other words, does 'compile()' generate platform-dependent code?
Regards,
Vio
c = compile('a=5\np rint a','<string>',' exec')
on a Linux box, then pickling+beamin g the result on a Windows box, will give me the expecting result:
[color=blue][color=green][color=darkred]
>>> exec(c)[/color][/color][/color]
5
In other words, does 'compile()' generate platform-dependent code?
Regards,
Vio
Comment