tektronix/keithley

Fix 'The input method in Python 2 will read from standard input, evaluate and run the resulting string as python source code. This is similar, though in many ways worse, then using eval. On Python 2, use raw_input instead, input is safe in Python 3.' issue in Application_Specific\Three_Reasons_to_Consider_Solid_State_Switching_Examples\Appendix_A\KEIDAQ6510_Speed_Scanning.py

codefactor-io opened this issue · 1 comments

Please look for this design pattern in all files. KEIDAQ6510_Speed_Scanning.py:134 is just one example.

CodeFactor found an issue: The input method in Python 2 will read from standard input, evaluate and run the resulting string as python source code. This is similar, though in many ways worse, then using eval. On Python 2, use raw_input instead, input is safe in Python 3.

It's currently on:
Application_Specific\Three_Reasons_to_Consider_Solid_State_Switching_Examples\Appendix_A\KEIDAQ6510_Speed_Scanning.py:134

Issue closed since raw_input is not applicable for python 3 code.