Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Mon Jul 15, 2024 7:08 am

Hello, I am a licensed professional.

I have a license.
I would like to activate my Spire.PDF license using Python.
I could not find how to implement it.
Please tell me how to implement the import clause and license activation.
It works with Python 3.11 in Azure Functions.

Does the error "Evaluation Warning : The document was created with Spire.PDF for Python." disappear when I activate the license?

Thank you very much.

suyama_hiroyoshi
 
Posts: 2
Joined: Mon Jul 15, 2024 6:58 am

Mon Jul 15, 2024 7:35 am

Hello,

Thanks for your inquiry.
Please refer to the code below to apply your license. For more details on applying a license, please visit https://www.e-iceblue.com/Tutorials/Lic ... ply_by_Key. If you have any other questions, please feel free to write back.
Code: Select all
from spire.pdf import *
from spire.pdf.common import License as pdfLicense
# Apply license for Spire.PDF
pdfLicense.SetLicenseKey(key)


Sincerely,
William
E-iceblue support team
User avatar

William.Zhang
 
Posts: 419
Joined: Mon Dec 27, 2021 2:23 am

Mon Jul 15, 2024 9:08 am

Thank you very much.

The license was for Java to begin with, so it didn't seem to work in Python.

Thank you for adding that to Tutorials.

suyama_hiroyoshi
 
Posts: 2
Joined: Mon Jul 15, 2024 6:58 am

Mon Jul 15, 2024 9:34 am

Hello,

Thanks for your reply.
Yes, we provide different licenses for different programming languages, and they are not universal. If you need a license for Python products, you can contact our sales colleagues via email: sales@e-iceblue.com. If you have any other technical questions, please feel free to write back.

Sincerely,
William
E-iceblue support team
User avatar

William.Zhang
 
Posts: 419
Joined: Mon Dec 27, 2021 2:23 am

Return to Spire.PDF