Post Reply 
How to use Python syntax ?
12-12-2019, 09:33 PM
Post: #3
RE: How to use Python syntax ?
(12-12-2019 04:28 PM)parisse Wrote:  You did not indent your code correctly (good indentation is mandatory in Python because it's the way to mark programming blocs).

Thanks for your reply. The code now runs. I was a little bit skeptical initially about how much of python structures is supported, but I've been pleasantly surprised that most things work with very little tweaking. Like in some places where I need to use something from numpy or scipy, I just replace with the with the corresponding one from the calculator. Really nice.

I would like to ask you two more questions, if you don't mind:

1. Is there a document where I can know exactly which Python syntax is supported and which isn't?

2. Is it possible for me to see the code that gets generated from the python syntax ? This would enable me to see learn programming in the Prime's native language and also see if I can optimize the converted code?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
How to use Python syntax ? - hamorabi - 12-12-2019, 05:04 AM
RE: How to use Python syntax ? - parisse - 12-12-2019, 04:28 PM
RE: How to use Python syntax ? - hamorabi - 12-12-2019 09:33 PM
RE: How to use Python syntax ? - parisse - 12-13-2019, 06:12 AM
RE: How to use Python syntax ? - hamorabi - 12-14-2019, 02:23 AM
RE: How to use Python syntax ? - parisse - 12-15-2019, 07:02 AM



User(s) browsing this thread: 1 Guest(s)