Help with HP Prime Python Documentation
|
10-04-2021, 08:32 PM
Post: #4
|
|||
|
|||
RE: Help with HP Prime Python Documentation
(10-04-2021 06:57 PM)Namir Wrote: Thank you Gunter. I have been using Python on the TI NSpire CAS emulator and it works well. I write numerical analysis code and copy-and-run various sorting algorithms from the internet. I appreciate sample code that shows me how to include Python source code and then launch it! Preface: don't rely on what I say, I'm an amateur. But let's give it a try. I've changed my benchmark code a little to avoid the hassle with sys.argv Code: #PYTHON name with [Shift][1][New] create a new program e.g. sums, delete the template that is in it, copy and paste the code above. Now from the program catalog run this program. Disregard the input field and touch OK. Now it asks for an exponent, enter e.g. 5 and your done. Alternatively, create a new APP. Save the Python App under a new name e.G. "Sums" Open its ("Sums") source code editor by touching [Symb]. Copy the following part of the code Code:
Günter |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Help with HP Prime Python Documentation - Namir - 10-04-2021, 12:08 PM
RE: Help with HP Prime Python Documentation - Guenter Schink - 10-04-2021, 03:46 PM
RE: Help with HP Prime Python Documentation - Namir - 10-04-2021, 06:57 PM
RE: Help with HP Prime Python Documentation - Guenter Schink - 10-04-2021 08:32 PM
RE: Help with HP Prime Python Documentation - toml_12953 - 10-05-2021, 06:49 AM
RE: Help with HP Prime Python Documentation - Guenter Schink - 10-05-2021, 06:27 PM
RE: Help with HP Prime Python Documentation - Namir - 10-05-2021, 05:59 AM
RE: Help with HP Prime Python Documentation - Namir - 10-05-2021, 09:13 PM
RE: Help with HP Prime Python Documentation - Guenter Schink - 10-05-2021, 10:10 PM
|
User(s) browsing this thread: 1 Guest(s)