Single Executable Statement : Exec : Buildin Function PYTHON TUTORIALS


PYTHON TUTORIALS » Buildin Function » Exec »

 

Single Executable Statement


single_code = compile('print "Hello world!"', '', 'single')
exec single_code



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Buildin Function
» Exec