How to Install Spire.Presentation for Python on Windows
Spire.Presentation for Python is a Python library for reading, creating, editing and converting PowerPoint (.ppt or .pptx) files in any Python application. This article shows you how to install Spire.Presentation for Python on Windows.
Step 1
Download the latest version of Python and install it on your computer. If you have already installed it, skip to step 2.

Step 2
Click "Extensions" in VS Code, search for "Python" and then install it.

Step 3
Click "Explorer" - "NO FOLRDER OPENED" - "Open Folder".

Choose an existing folder as the workspace, or you can create a new folder and then select it.

Add a .py file to the folder you just added (Python folder in this case), and name it whatever you like.

Step 4
Click "Terminal" and then "New Terminal".

Input the following pip command to install Spire.Presentation for Python and plum-dispatch v1.7.4.
pip install Spire.Presentation

Alternatively, you can download Spire.Presentation for Python from our website, and unzip it to get two .whl files from the "lib" folder. They're for Linux system and Windows system respectively.

After that, install Spire.Presentation for Python and plum-dispatch v1.7.4 by running the following pip command.
pip install E:\Library\Python\spire.presentation.python_8.8.3\lib\Spire.Presentation-8.8.3-py3-none-win_amd64.whl

Step 5
Add the following code snippet to the "HelloWorld.py" file.

Once you run the Python file, you'll see the result PowerPoint document in the "EXPORER" panel.

How to Install Spire.PDF for Python on Windows
Spire.PDF for Python is a Python library for reading, creating, editing and converting PDF files in any Python application. This article shows you how to install Spire.PDF for Python on Windows.
Step 1
Download the latest version of Python and install it on your computer. If you have already installed it, skip to step 2.

Step 2
Click "Extensions" in VS Code, search for "Python" and then install it.

Step 3
Click "Explorer" - "NO FOLRDER OPENED" - "Open Folder".

Choose an existing folder as the workspace, or you can create a new folder and then select it.

Add a .py file to the folder you just added (Python folder in this case), and name it whatever you like.

Step 4
Click "Terminal" and then "New Terminal".

Input the following pip command to install Spire.PDF for Python and plum-dispatch v1.7.4.
pip install Spire.PDF

Alternatively, you can download Spire.PDF for Python from our website, and unzip it to get two .whl files from the "lib" folder. They're for Linux and Windows systems, respectively.

Then, install Spire.PDF for Python and plum-dispatch v1.7.4 by running the following pip command.
pip install E:\Library\Python\spire.pdf.python_9.8.0\lib\spire.pdf-9.8.0-py3-none-win_amd64.whl

Step 5
Add the following code snippet to the "HelloWorld.py" file.
- Python
from spire.pdf.common import *
from spire.pdf import *
doc= PdfDocument()
page = doc.Pages.Add()
str = "Hello, World"
x = 10.0
y = 10.0
font = PdfFont(PdfFontFamily.Helvetica ,30.0)
color = PdfRGBColor(Color.get_Black())
textBrush = PdfSolidBrush(color)
page.Canvas.DrawString(str, font, textBrush, x, y)
doc.SaveToFile("output.pdf")
doc.Close()

Once you run the Python file, you'll see the result PDF document in the 'EXPORER' panel.

How to Install Spire.Doc for Python on Windows
Spire.Doc for Python is a Python library for reading, creating, editing and converting Word (.doc & .docx) files in any Python application. This article shows you how to install Spire.Doc for Python on Windows.
Step 1
Download the latest version of Python and install it on your computer. If you have already installed it, skip to step 2.

Step 2
Click "Extensions" in VS Code, search for "Python" and then install it.

Step 3
Click "Explorer" - "NO FOLRDER OPENED" - "Open Folder".

Choose an existing folder as the workspace, or you can create a new folder and then select it.

Add a .py file to the folder you just added (Python folder in this case), and name it whatever you like.

Step 4
Click "Terminal" and then "New Terminal".

Input the following pip command to install Spire.Doc for Python and plum-dispatch v1.7.4.
pip install Spire.Doc

Alternatively, you can download Spire.Doc for Python from our website, and unzip it to get two .whl files from the "lib" folder. They're for Linux and Windows systems, respectively.

Then, install Spire.Doc for Python and plum-dispatch v1.7.4 by running the following commands.
pip install E:\Library\Python\spire.doc.python_11.8.0\lib\Spire.Doc_for_Python-11.8.0-py3-none-win_amd64.whl

Step 5
Add the following code snippet to the "HelloWorld.py" file.
- Python
from spire.doc.common import *
from spire.doc import *
document = Document()
section = document.AddSection()
paragraph = section.AddParagraph()
paragraph.AppendText("Hello World!")
document.SaveToFile("output.docx", FileFormat.Docx)
document.Close()

Once you run the Python file, you'll see the result Word document in the "EXPORER" panel.

How to Install Spire.XLS for Python on Windows
Spire.XLS for Python is a Python library for reading, creating, editing and converting Excel (.xls & .xlsx) files in any Python application. This article shows you how to install Spire.XLS for Python on Windows.
Step 1
Download the latest version of Python and install it on your computer. If you have already installed it, skip to step 2.

Step 2
Click 'Extensions' in VS Code, search for 'Python' and then install it.

Step 3
Click 'Explorer' - 'NO FOLRDER OPENED' - 'Open Folder'.

Choose an existing folder as the workspace, or you can create a new folder and then select it.

Add a .py file to the folder you've just added (Python folder in this case), and name it whatever you like.

Step 4
Click 'Terminal' and then 'New Terminal'.

Input the following command to install Spire.XLS for Python and plum-dispatch v1.7.4.
pip install Spire.XLS

Alternatively, you can download Spire.XLS for Python from our website, and unzip it to get the .whl file from the 'lib' folder.

Then, install Spire.XLS for Python and plum-dispatch v1.7.4 by running the following commands.
pip install E:\Library\Python\spire.xls.python_13.5.0\lib\Spire.Xls-13.5.0-py3-none-any.whl

Step 5
Add the following code snippet to the 'HelloWorld.py' file.
- Python
from spire.xls.common import *
from spire.xls import *
workbook = Workbook()
sheet = workbook.Worksheets[0]
sheet.Range["A1"].Text = "Hello World"
sheet.Range["A1"].AutoFitColumns()
workbook.SaveToFile("HelloWorld.xlsx", ExcelVersion.Version2010)
workbook.Dispose()

Once you run the Python file, you'll see the result Excel document in the 'EXPORER' panel.
