Re: Question on asyncio

2015-02-23 Thread pfranken85
Hello Marko! Am Sonntag, 22. Februar 2015 22:21:55 UTC+1 schrieb Marko Rauhamaa: In asyncio, you typically ignore the value returned by yield. While generators use yield to communicate results to the calling program, coroutines use yield only as a trick to implement cooperative multitasking

Question on asyncio

2015-02-22 Thread pfranken85
Hello! I am just trying to get familiar with asyncio. It seems to be a good thing, however, I am still having troubles and feel pretty puzzled although I think I got the point what async IO means. This is the problem I am trying to accomplish: I have some functions which are reading values

Best practice: Sharing object between different objects

2015-02-21 Thread pfranken85
Hello! I have a best-practice question: Imagine I have several hardware devices that I work with on the same I2C bus and I am using the python smbus module for that purpose. The individual devices are sensors, ADC, DAC components. As I said, I would like to derive the corresponding classes

Re: Own network protocol

2014-12-29 Thread pfranken85
Hello Steven! Thank you for your answer! RPyC indeed looks great! I need to deep dive into the API reference, but I think its capabilities will suffice to do what I want. Do you know whether non-python related clients can work with this as well, i.e. are their corresponding tools on the

Re: Own network protocol

2014-12-29 Thread pfranken85
Hello Tim, Am Samstag, 27. Dezember 2014 14:19:21 UTC+1 schrieb Tim Chase: The eventual solution would depend on a variety of factors: - how critical is synchronization? - do clients need to know if they missed a message? (somebody disconnected from the LAN for a moment) This would be

Own network protocol

2014-12-27 Thread pfranken85
Hello! I am just about setting up a project with an Raspberry Pi that is connected to some hardware via its GPIO pins. Reading the data already works perfectly but now I want to distribute it to clients running in the network. Hence, I have to setup a server in Python. I do not want to