File: class/Workbook/Examples/Lecture6/client2.py

import stack1
if not stack1.empty():     # qualify by module name
    x = stack1.pop()
stack1.push(1.23)          # both clients share same stack



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