File: pyedit-products/unzipped/docetc/4.0-examples/emojis-and-runcode.py

# a 4.0 Run Code test script: results vary on older PyEdits and Pythons

import sys, os
print(f'{os.getcwd()=}')
print(f'{sys.version=}')       # show run context (see also os.environ dict)
print(f'{sys.executable=}')

print('👁️ 🖊️ ' + '🐍')
for i in range(10):
   print('👍' * (i+1))         # emojis work if your Py+Tk support them, else replaced

import html   # works in app+exe only if mod RunCode_PYTHONEXECUTABLE in textConfig.py 



[Home page] Books Code Blog Python Author Train Find ©M.Lutz