/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

www.curiousefficiency.org
| | tinkering.xyz

After learning about async/await in Python I wondered how I could apply it to software in my lab. Much of that involves talking to equipment via serial ports. Libraries for talking to serial ports exist, but I found the documentation for doing so via async/await sparse. Here's an example of how to use PySerial asynchronously.
3.1 parsecs

Travel
| |
| | akaptur.github.com

Nick Coghlan added another interesting note in response to my last post about creating side-effecting assignments in python. Here's Nick: @ ...
2.5 parsecs

Travel
| |
| | pydev.blogspot.com

In Python asyncio land it's always a bit of a hassle when you have existing code which runs in sync mode which needs to be retrofitted to ...
2.9 parsecs

Travel
| |
| | blog.jetbrains.com

Want to write faster Python code? Discover the difference between `async/await` and `threading` and how concurrency works in Python with real-world examples.
9.0 parsecs

Travel
|