Getting Started

System Requirements

Aspose.Diagram 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.Diagram for Python via .NET from pypi with the following command.

 $ pip install aspose-diagram-python

Linux:

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

 $ pip install aspose-diagram-python

Creating the Hello World Application

  • Create a file named CreatingNewVisioFile.py and use the following sample code:
  • Now save the code above to “CreatingNewVisioFile.py” and run “python CreatingNewVisioFile.py” @command prompt.