pyserial: wait for execute

2016-10-15 Thread Michael Okuntsov
Hello, is there a way, other than time.sleep(), to be sure that the command sent through a serial port has been fully executed? I'm interested specifically in SCPI commands in VA-meters such as Keithley and Tektronix. Thanks. -- https://mail.python.org/mailman/listinfo/python-list

Re: [beginner] What's wrong?

2016-04-03 Thread Michael Okuntsov
03.04.2016 20:52, Rustom Mody пишет: To really localize python one would have to 1. Localize the keywords 2. Localize all module names 3. Localize all the help strings 4. Localize the entire stuff up at https://docs.python.org/3/ 5. ... That is probably one or two orders of magnitude more work

Re: [beginner] What's wrong?

2016-04-01 Thread Michael Okuntsov
Nevermind. for j in range(1,8) should be for j in range(8). -- https://mail.python.org/mailman/listinfo/python-list

[beginner] What's wrong?

2016-04-01 Thread Michael Okuntsov
Hello, I have a Pascal code for some hash function. I've tried to rewrite it on Python but it doesn't give the right value (which is 32202). Please tell me where is the error. Thanks. ** Pascal program ** Program K_S; Var ST: String;