Lut5 Wiki
- Nitram
 - 
				
									Topic Author
											 - Offline
 - Elite Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 210
 - Thank you received: 15
 
			
	
						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.
					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 or Create an account to join the conversation.
- tommylight
 - 
				
											 - Away
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 20860
 - Thank you received: 7115
 
			
	
						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 lut5_table.py file.
		The following user(s) said Thank You: Nitram 	
			Please Log in or Create an account to join the conversation.
- cmorley
 - Offline
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 7230
 - Thank you received: 2106
 
			
	
						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.
- Nitram
 - 
				
									Topic Author
											 - Offline
 - Elite Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 210
 - Thank you received: 15
 
			
	
						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!
					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.
- andypugh
 - 
				
											 - Offline
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 19678
 - Thank you received: 4559
 
			
	
						28 Jul 2020 07:59				#176224
		by andypugh
	
	
		
			
	
			
			 		
													
	
				Replied by andypugh on topic Lut5 Wiki			
			
				See also my online spreadsheet tool:
docs.google.com/spreadsheets/d/1_VlL39jU...Lzs/edit?usp=sharing
					docs.google.com/spreadsheets/d/1_VlL39jU...Lzs/edit?usp=sharing
Please Log in or Create an account to join the conversation.
		Time to create page: 0.121 seconds