How do you use a variable originally from a def function?
one way is to return it
variable = 3
x = func()
In this example, you call the function func() it does stuff and returns variable.
variable is assigned to x.
Edited 7 Years Ago
by Enders_Game: n/a
Sorry for the lousy title, "InterProcess Communication" was too long
Basically, I'm looking to use the native _winapi and msvcrt modules to launch an integrated python interpreter and communicate with ...
I am building a atm machine but havent actually coding it as yet, just the gui interface part i have done so far because i am doing something ...
I recently inherited a project that has been in production for a number of years. They want a new field added. Easy peasy - or so you would ...