In recent years, the application of Python programming language has become more and more extensive, from cutting-edge artificial intelligence development to general data analysis statistics, small program application development, etc. Python can be seen everywhere. As an important content in the network economy, e-commerce websites have also appeared based on the Python Web framework. In view of the wide application of Python, for higher vocational students, it is still important to develop e-commerce website construction courses based on the Python Web framework. This article designed a course for e-commerce website construction based on the Python Web framework for higher vocational students.