Coder Social home page Coder Social logo

pro1515151515 / pythonwebide Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vimior/pythonwebide

0.0 0.0 0.0 1.8 MB

A Simple Python Web IDE

Shell 0.01% JavaScript 21.83% C++ 0.51% Python 20.93% C 0.50% C# 0.10% CSS 0.35% Makefile 0.16% HTML 0.37% Vue 55.22% Less 0.02%

pythonwebide's Introduction

Python-Web-IDE


一个简易的在线Python的IDE
基于Vue3 + Python3.10 + Tornado6.1实现
前后端分离

功能说明

  • 支持工程、文件、文件夹的增删查改
  • 支持Python代码基本补全
  • 支持Python代码(GUI不支持)运行管理和输出
  • 支持Markdown文件的编辑和预览

更新说明

  • 基于Vue3+Python3.10的全新实现
  • 引入markdown编辑器
  • 引入图标vscode-icons
  • 更改编辑器主题

编译和运行

环境

  • Node: 16.13.2
  • Npm: 8.1.2
  • Python: 3.10
  • Tornado: 6.1

前端

# 安装依赖
npm install 或者 yarn install

# 开发运行(默认端口是8080)
npm run serve

# 打包编译(默认打包的路径在dist目录,后端程序已经配置从该目录加载资源)
npm run build

后端

# 假定已经安装好Python环境(建议使用虚拟Python环境并激活)

# 进入后端目录
cd server

# 安装依赖
pip install -r requirements.txt

# 运行(运行端口为10086)指定端口可以使用参数 --port=10010
# 如果前端页面是独立运行的,不可指定后端端口(除非修改前端代码)
python server.py

# 访问 (工程保存在projects/ide里面)
# 开发运行前端的情况: localhost:8080
# 打包好前端的情况: localhost:10086

py_code

md_code

py_complete

py_run

projects

pythonwebide's People

Contributors

vimior avatar pro1515151515 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.