Pyro – Networking made simple

Conclusion

As I've walked through the code, you've probably noticed that the majority of it is not related to Pyro at all; rather, the code does whatever your application would normally do. Pyro is just an overlay that allows multiple hardware devices to interact as if they are all on a local machine by hiding all of the networking, so you don't have to worry about it.

Another application I set up was connected to a sound system, so any calls for sound effects were directed to the Pyro server. Other Pyro daemons controlled four scoreboard screens similar to the application described here. Another one ran a high score display on a fifth monitor. Pyro hid all of the networking code, so all I had to do was call things like sound.playBuzzer() and highScore.addTeam().

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • DIY Scoreboard

    We look at a broadcast video system network that uses Python code to control a video router and check out another program that creates a scoreboard.

  • Nerf Target Game

    A cool Nerf gun game for a neighborhood party provides a lesson in Python coding with multiple processors.

  • Python generators simulate gambling

    Can 10 heads in a row really occur in a coin toss? Or, can the lucky numbers in the lottery be 1, 2, 3, 4, 5, 6? We investigate the law of large numbers.

  • Csound

    The powerful Csound software provides an impressive set of features for audio production and processing. We walk you through the entire system.

  • Panda3D

    Several free game engines are available for Linux users, but programming with them is often less than intuitive. Panda3D is an easy-to-use engine that is accessible enough for newcomers but still powerful enough for the pros at Disney Studios.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News