Apr-21-2020, 03:12 AM
(This post was last modified: Apr-21-2020, 03:16 AM by deanhystad.)
I just did this:
page1.py
page1.py
value = 'This is a test' def echo(): print(value)page2.py
import page1 print(page1.value) page1.value = 'Are you listening?' page1.echo()When I run the page2.py script it prints
Output:This is a test
Are you listening?