Getting Started

System Requirements

Aspose.Cells for Python via .NET is platform-independent API and can be used on any platform (Windows and Linux) where Python is installed.

Python Version

  • Python 3.6 or higher

Installation

Windows:

You can easily use Aspose.Cells for Python via .NET from pypi with the following command.

 $ pip install aspose-cells-python

Linux:

You can easily use Aspose.Cells for Python via .NET from pypi with the following command.

 $ pip install aspose-cells-python

MacOS:

You can easily use Aspose.Cells for Python via .NET from pypi with the following command.

 $ pip install aspose-cells-python

  • Note:If your python is Python3.7(take python3.7, for example, here),after installing the aspose-cells-python,there may be the following errors ‘/usr/local/lib/libpython3.7m.dylib’ (no such file), ‘/usr/lib/libpython3.7m.dylib’ (no such file) prompt. In such a situation,please add the following command to your bash_profile(Find where is libpython3.7m.dylib first,take /Library/Frameworks/Python.framework/Versions/3.7/lib for example here)
    export DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:/Library/Frameworks/Python.framework/Versions/3.7/lib"
    export LIBRARY_PATH="$LIBRARY_PATH:/Library/Frameworks/Python.framework/Versions/3.7/lib/"

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” @command prompt.