| With the extensive application of the internet, programming environment has been a gradual transition from the local to the web. After ten years of development, web-based programming environment already has a good performance and user base, forming a stable industrial chain and becoming a important field of concern. In order to meet people’s growing programming requirements, developed for different fields and different request of programming environment has become the development trend of the future.Firstly, this paper describes the basic concepts of web-based python programming environment, the research background and the reaearch significance. Also, this paper describes the domestic and international development status of the web-based programming environment.And then, this paper expounds the implementation method of the web-based python programming environment. At the meantime, it analyzes and compares the performance, characteristics and system structure of two open source python programming environment: Skulpt and repl.it.Secondly, this paper describes the design method and implementation process in details of CSPython, the web-based python programming environment. Specificly analysis the main function and implementation details of its nine main modules: constuctions of the underline web framework module, front page display module, code editing module, syntax, keywords, and built-in function modules, browser interface module, python standard library loading module, code conversion module, compile and run module, remote code sharing module.Finally, this paper designed a complete set of test scheme to test the performance of three programming environment-Skulpt, repl.it and CSPython.Test result shows that the CSPython have a better performance in terms of functional integrity or using performance, and it is suitable for promotion in practical application. |