omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Running a socket together with scene

    Pythonista
    socket tcp scene
    2
    3
    2498
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • OTPSkipper
      OTPSkipper last edited by

      I am writing an app that receives data over a tcp socket and displays the data graphically with some user interaction too.

      I can't just call "run" for scene support because I need to poll the socket too.

      Will threads work?

      1 Reply Last reply Reply Quote 0
      • ccc
        ccc last edited by

        https://github.com/cclauss/Pythonista_scene/blob/master/remote_control_scene.py

        1 Reply Last reply Reply Quote 2
        • OTPSkipper
          OTPSkipper last edited by

          Thanks. That is working for me.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors