Lut5 Wiki

More
27 Jul 2020 12:58 #176074 by Nitram
Lut5 Wiki was created by Nitram
Hello.

I have been using Lut5 a little bit lately.

I have found the Wiki to be good, however there is a python script available for download which does the math for the "function" parameter (truth table) in hex to set the desired results.

The problem is that I get an error message. From that message I am strongly wondering whether it is a python version (syntax) problem (as I seem to recall a difference in the print syntax requirements between older/newer versions of python...???)
I have attached the error message for reference.

Thanks Marty.
Attachments:

Please Log in or Create an account to join the conversation.

More
27 Jul 2020 15:10 #176084 by tommylight
Replied by tommylight on topic Lut5 Wiki
Opening it with a text editor and adding missing parentheses should work.
The lut5_table.py file.
The following user(s) said Thank You: Nitram

Please Log in or Create an account to join the conversation.

More
27 Jul 2020 15:51 #176092 by cmorley
Replied by cmorley on topic Lut5 Wiki
yes that looks like a python3 vrs python2 problem. python3 requires brackets on print statements. There is a utility program for python2 to python3 conversion.
The following user(s) said Thank You: tommylight, Nitram

Please Log in or Create an account to join the conversation.

More
27 Jul 2020 21:46 #176150 by Nitram
Replied by Nitram on topic Lut5 Wiki
Thanks Gents.

Yep, got it, "2to3" did the trick (I used the online conversion tool).

Thanks again!
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
28 Jul 2020 07:59 #176224 by andypugh
Replied by andypugh on topic Lut5 Wiki

Please Log in or Create an account to join the conversation.

Time to create page: 0.112 seconds
Powered by Kunena Forum