fel1x0u / run-code-securely

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

run-code-securely

What is run-code-securely?

run-code-securely is a python package to run python3 code securely using the Piston API.

Examples

Example 1

For example, let's say that you want to run print('hello world') with the 3.7.0 version of Python. Note the single quotes.

The following code can do that.

import run-code-securely

run-code-securely.run("print('hello world')", 3.7.0)

About


Languages

Language:Python 100.0%