Python, how to export variable?
|
10-16-2023, 08:05 PM
Post: #1
|
|||
|
|||
Python, how to export variable?
I bought a Prime a month or so ago and I'm enjoying learning how to program it with python. The lack of official python docs (at least that I can find) make it more challenging, but I'm making progress.
One thing I haven't succeeded at yet and seems should be easy, is how to export a variable from python. Trying to export 'n' into variable 'x' like this doesn't seem to work: Code: cmd = 'x=%e; export x' % n Some initial learning efforts are shared at https://udel.edu/~mm/hp/ Thanks, Mike |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Python, how to export variable? - ab3ap - 10-16-2023 08:05 PM
RE: Python, how to export variable? - Guenter Schink - 10-17-2023, 07:04 PM
RE: Python, how to export variable? - ab3ap - 10-17-2023, 10:01 PM
RE: Python, how to export variable? - Guenter Schink - 10-19-2023, 07:46 AM
RE: Python, how to export variable? - ab3ap - 10-19-2023, 12:37 PM
RE: Python, how to export variable? - Guenter Schink - 10-20-2023, 09:13 PM
RE: Python, how to export variable? - ab3ap - 11-07-2023, 11:31 PM
RE: Python, how to export variable? - Allaman - 11-13-2023, 08:39 PM
RE: Python, how to export variable? - ab3ap - 11-13-2023, 09:51 PM
|
User(s) browsing this thread: 2 Guest(s)