1.introduction to python
about python
http://kaiwu.city/index.php/python
books on python
http://kaiwu.city/index.php/python-book
2.install python
python 3.13 you can download from official website
https://www.python.org/downloads/
or
http://kaiwu.city/openfiles/python-3.13.0-amd64.exe
http://kaiwu.city/index.php/python-vscode
3.python and Excel
http://kaiwu.city/openfiles/hotel50python_EN.xlsx
http://kaiwu.city/openfiles/python_excel50hotel_EN.ipynb
import openpyxl as xl; # be sure to modify the folder where the files are stored. # load the workbook # create a new workbook # The "i" represents the row number. # Save the created Excel workbook. print('save No. %d Excel file。' % (i-1))
|