Post Reply 
Python oddities
05-06-2021, 12:28 AM (This post was last modified: 05-06-2021 12:53 AM by toml_12953.)
Post: #4
RE: Python oddities
(05-05-2021 10:24 PM)Guenter Schink Wrote:  
(05-05-2021 08:56 PM)toml_12953 Wrote:  Where is PPL-Changes + python.odt?

When I try to export the program name (hat), I get an error at

Export hat()

It was in Tim's announcement

I think the syntax is not really obvious, could you post your code? Perhaps I can help. There are two distinct structures in the mentioned document, either one works, but don't mix them.

BTW, I took the freedom to tailor your Pyhat a bit. There is no improvement, I just played a little bit with Python things.

This has to be copied into an PPL program to work. Then it can be called by "pyhat(0)", any number instead of "0" will do.


OK, I got it to work now. Thanks!
I did change the line to


since that keeps the figure green and doesn't exact a time penalty by being enclosed in the loop.

What's the purpose of "mache"?

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
Python oddities - Guenter Schink - 05-05-2021, 07:41 PM
RE: Python oddities - toml_12953 - 05-05-2021, 08:56 PM
RE: Python oddities - Guenter Schink - 05-05-2021, 10:24 PM
RE: Python oddities - toml_12953 - 05-06-2021 12:28 AM

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