Getting Started

System Requirements

Aspose.Cells for Python via Java is a platform‑independent API and can be used on any platform (Windows, Linux, and macOS) where Python is installed. The machine must have Java 8 or higher installed before proceeding with the installation.

Python Version

  • Python 3.5 or higher

Java Version

  • Java 1.8 or higher

Installation

Windows:

  • Install Java and set the JAVA_HOME and PATH environment variables
    For example:

      
      JAVA_HOME=C:\jdk1.8.0_131
      
      PATH=C:\jdk1.8.0_131\bin;
      
      

  • Install Aspose.Cells for Python via Java from PyPI
    You can easily use Aspose.Cells for Python via Java from PyPI with the following command.

      
       $ pip install aspose-cells
      
      

Linux:

  • Install Java

  • Install Aspose.Cells for Python via Java from PyPI
    You can easily use Aspose.Cells for Python via Java from PyPI with the following command.

      
       $ pip install aspose-cells
      
      

macOS:

  • Install Java

  • Install Aspose.Cells for Python via Java from PyPI
    You can easily use Aspose.Cells for Python via Java from PyPI with the following command.

      
       $ pip install aspose-cells
      
      

Creating the Hello World Application

  • Create a file named CreatingHelloWorldFile.py and use the following sample code:
  • Now save the code above to CreatingHelloWorldFile.py and run python CreatingHelloWorldFile.py at the command prompt.