HP Forums
Python docs - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Python docs (/thread-17050.html)



Python docs - cahlucas - 06-04-2021 05:27 PM

Hi all,
Where can I download the documentation in PDF format, in particular the version of Python used in the Prime? I have searched the internet but found nothing practical. Can anybody please give me some information? Sincerely, Karel.


RE: Python docs - Liamtoh Resu - 06-04-2021 05:59 PM

Python on the hp prime needs a text wrapper around it.

eg.

Code:

#PYTHON name
# 20190704 HP Prime
# micro python
# print string array 
# test0004.py
import math
j=3
a=['moe','larry','curly']
print (j)
print (a)
for j in range(3):
  x=a[j]
  print (x)
#end
EXPORT test0004()
BEGIN
  PYTHON(name);
END;


see the link at

"https://www.hpmuseum.org/forum/thread-16995.html"

Some book publishers have sample chapters online, eg. No Starch Press, etc.

There is some info on other forum sites.

Python is new to prime--be patient and persistent.

Meanwhile you may want to get more familiar with PPL program.

I hope this information helps you.


RE: Python docs - cahlucas - 06-04-2021 07:53 PM

Dear Mr. Resu,
Thanks for your reply. I will be patient, and wait for some documentation to come out. In the meantime, I will study the docs I can find. Sincerely, Karel.