May 2018
Intermediate to advanced
380 pages
9h 37m
English
Again, this section will present pseudocode provided in the PEP, though it looks like Python code, to demonstrate how the PEP would work:
interp = interpreters.create() print('before') interp.run('print("during")') print('after')
interp = interpreters.create() def run(): interp.run('print("during")') t = threading.Thread(target=run) print('before') t.start() print('after')
Read now
Unlock full access