rsudp.c_custom (run code)¶
Custom(q=False, codefile=False, win_ovr=False, testing=False)¶
New in version 0.4.3.
A consumer class that runs custom code from a python file passed to it. Please read the disclaimers and warnings at custom (run custom code) prior to using this module.
If you are running Windows and have code you want to pass to the
exec()function, Python requires that your newline characters are in the UNIX style (
\n), not the standard Windows style (
\r\n). To convert, follow the instructions in one of the answers to this stackoverflow question. If you’re not sure what this means, please read about newline/line ending characters here. If you are certain that your code file has no Windows newlines, you can set
Read more warnings about this module at custom (run custom code).
Reads data from the queue and executes self.codefile if it sees an
ALARMmessage. Quits if it sees a