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.


    Pythonista AirCode

    Pythonista
    3
    7
    6706
    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.
    • JadedTuna
      JadedTuna last edited by

      Hey guys! ShadowSlayer here. I've noticed that these is no AirCode function in Pythonista... So I made a simple app :). It has:<br>
      GUI Client (Computer)<br>
      Simple server (iOS)<br>
      GUI Client uses wxPython toolkit.

      Basically, it allows you to edit files on your computer and then save them to Pythonista.

      If you find any bugs, please report them to my email!

      [Website][]
      [Website]: http://www.randomgalaxy.com/programming/python/Pythonista-AirCode/

      1 Reply Last reply Reply Quote 1
      • Dann239
        Dann239 last edited by

        Error 404

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

          @Dann, sorry for this one, I was working on my website, and probably modified the file. It is fixed now

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

            i am interested in this, but its offline again... why not use github?

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

              @siddbudd, well fixed it again. Now I have link pointing straight to the website.
              And yeah, I will probably create github for this project

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

                thx SS :)
                I don't yet know how to use it though, but I will try to figure out... the client on Windows runs just fine after installing wxPy, but the server on my iPad seems to have some problem. First of all, its unstoppable, after launching it, I cannot quit it, nothing happens when tapping on the x button, I have to force quit Pythonista. Also cannot get connection to it from the client.

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

                  @siddbudd, Well, I am working on the code. I plan adding select so you can stop the script any time. And to connect to the server, you have to get it's local IP address (like 192.168.0.xxx), and then in the Connect window enter IP:port (default port is 28899).

                  Good luck with it XD.

                  P. S. Here is example how to find local IP address
                  You have to start server.py on the computer, and then client.py on the iDevice.

                  server.py

                  import socket
                  s = socket.socket()
                  s.bind(("0.0.0.0", 8080))
                  c, a = s.accept()
                  print(a)
                  c.close()
                  s.close()
                  

                  client.py

                  import socket
                  socket.create_connection(("your-computer-local-ip", 8080)).close()
                  
                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB Forums | Contributors