3 thoughts on “Best Practices Regarding Python Script Compilation”
Hi Support,
I bought a GM862-GPS and I would like to know what are the best way of compiling a python script, because, I know I can compile it inside my modem or only sent the compiled code.
I am asking it because some function in the GPS class are dummy in the PythonWin lib(for example GPS.getPosition() ), and I dont know if classes like time are implemented inside de GM862-GPS.
Thanks in Advance,
Andre Mariano
There is no choice: once you reach the point where you start using module specific functions all the debug and testing must be done with code running on it. The best way in terms of procedures speed is to write the code with a debug system in place, simple prints or anything else appropriate, compile on PC, with an eye at errors and warnings, upload application and go on with testing.
We use cookies to enhance your browsing experience and help us improve our websites. To improve our website, we carefully select third parties that use cookies to allow us to serve specific content and achieve the purposes set out in our cookie policy. For more information on how to make adjustments through your browser to the cookies being used on your device, please click Find Out More link. By closing this banner or continuing to browse our website, you agree to our use of such cookies. FIND OUT MORE
Hi Support,
I bought a GM862-GPS and I would like to know what are the best way of compiling a python script, because, I know I can compile it inside my modem or only sent the compiled code.
I am asking it because some function in the GPS class are dummy in the PythonWin lib(for example GPS.getPosition() ), and I dont know if classes like time are implemented inside de GM862-GPS.
Thanks in Advance,
Andre Mariano
There is no choice: once you reach the point where you start using module specific functions all the debug and testing must be done with code running on it. The best way in terms of procedures speed is to write the code with a debug system in place, simple prints or anything else appropriate, compile on PC, with an eye at errors and warnings, upload application and go on with testing.
Thanks, I will do that