Lut5 Wiki

More
6 years 3 months ago #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.

Please Log in to join the conversation.

More
6 years 3 months ago #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.

Please Log in to join the conversation.

More
6 years 3 months ago #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.

Please Log in to join the conversation.

More
6 years 3 months ago #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!

Please Log in to join the conversation.

More
6 years 3 months ago #176224 by andypugh
Replied by andypugh on topic Lut5 Wiki

Please Log in to join the conversation.

Time to create page: 0.265 seconds
Powered by Kunena Forum