Jul-23-2019, 04:05 PM
Hello, I'm new to python but I was formally a C language programmer for many years. I'm reviewing some code I found online and I don't understand some syntax which is below. I think it's a string parsing issue. Specifically I don't understand " code'freq' " The code is below
f = open("/codes.txt", "r") for line in f: code = eval(line) print(code) pwm.frequency = code'freq'Can someone help me with this and perhaps point me to an online tutorial for further study. Thanks
