Software Alternatives & Reviews

How to actually use python code in browser or application?

Transcrypt Pyjs asciinema
  1. Transcrypt is a Python to JavaScript transpiler.
    Pricing:
    • Open Source
    I have a Python program that takes user input from the console and shows some results on the console, and I want the user to be able to type stuff into it instead of pre-recorded runs. How do I do that? I'm not really sure. You could have a copy of Python running on the server and have the front-end communicating with it, but you'd have to be sure it's secured -- there are a lot of dangerous Python commands people could run. Also you have to worry about how you'd limit people's ability to consume memory or CPU on your server. Alternatively you could use something like pyjs or transcrypt to run Python code locally in the browser. I don't know how active or well these projects work, so you could have issues.

    #Programming Language #OOP #Generic Programming Language 5 social mentions

  2. 2
    pyjs is a Rich Internet Application (RIA) Development Platform for both Web and Desktop.
    Pricing:
    • Open Source
    I have a Python program that takes user input from the console and shows some results on the console, and I want the user to be able to type stuff into it instead of pre-recorded runs. How do I do that? I'm not really sure. You could have a copy of Python running on the server and have the front-end communicating with it, but you'd have to be sure it's secured -- there are a lot of dangerous Python commands people could run. Also you have to worry about how you'd limit people's ability to consume memory or CPU on your server. Alternatively you could use something like pyjs or transcrypt to run Python code locally in the browser. I don't know how active or well these projects work, so you could have issues.

    #Programming Language #OOP #Generic Programming Language 1 social mentions

  3. Record and share your terminal sessions, the right way. Forget screen recording apps and blurry video. Enjoy a lightweight, purely text-based approach to terminal recording.
    Pricing:
    • Open Source
    Block. If you want it to be animated, you can record a video and show it using an HTML5 video tag. Or you can upload it to Youtube. Or you can use asciinema.

    #Development Tools #Terminal Tools #Terminal Session Sharing 67 social mentions

Discuss: How to actually use python code in browser or application?

Log in or Post with