Table of Contents
Python is one of the most notorius languages in the industry. Known for its flexibility and english-like syntax, Python serves as a great language for beginners. As beginners may not have adequate development environments, Python Playground acts as a simple tool to get started with python.
- Excellent code editing experience
- Powered by Monaco, the editor that powers VS Code
- Rich python intellisense and syntax highlighting
- Powered WebSockets and a Python Language Server Protocol (LSP) implementation
- Containerized python runtime environments to bolster server security
- Powered by Docker
- Resizeable editor and output panes
- Built-in package manager to use the most cutting-edge
pippackages - Download code from brower directly into
.pyfiles - Modern UI with a variety of light and dark themes
Python Playground uses modern frameworks and technologies to provide an ideal user experience with adequate security.
Node.js(withnpm) version 16+Dockerversion 18+Python(withpip)
- Clone the repo
git clone https://github.com/UPDATE_LINK
- Install client
npmpackagescd client # from the root of the project npm install
- Install server
npmpackagescd server # from the root of the project npm install
- Install python LSP
pip install python-lsp-server pip install python-lsp-server[yapf]
- Find path of python LSP
which pylsp # save this output - Create a
.envfile inserverput the path there asPYTHON_LSP_SERVER_PATH - Start client (
cdintoclient)npm run dev
- Start server (
cdintoserver)npm start
If the ports used by Python Playground are already in use, you can change
the frontend port in client/vite.config.ts and/or change the backend port
in server/core/index.js

