Start viewing 170+ popular document formats in your .NET applications using GroupDocs.Viewer for .NET APIs by adding a few lines of code. Developers can easily display PDF, Word Processing, Excel Spreadsheet, Presentation, Visio, Project, Outlook and many other popular document formats in HTML5, image or PDF modes. The document rendering is fast, identical to the original source file, and it does not require installing Microsoft Office or any other external libraries.
GroupDocs.Viewer makes it easy for .NET developers to add PY file viewing feature in their applications by implementing a few easy steps.
GroupDocs.Viewer for .NET APIs are supported on all major platforms and operating systems. Before executing the code below, please make sure that you have the following prerequisites installed on your system.
// Instantiate viewer
using (Viewer viewer = new Viewer("sample.py"))
{
// Set view options
ViewOptions viewOptions = new PngViewOptions();
// Convert file to PNG and check the output in the current directory
viewer.View(viewOptions);
}
Display PY file right now by visiting GroupDocs.Viewer Live Demos website.
The live demo has the following benefits
No need to download API
No need to write any code
Just upload the source file
Get download link to save the file
Files with the .py extension contain the python source code. It is a very popular language that can be used for web development, software development, mathematics, and system scripting. Python is a cross-platform language that can work on different platforms like Windows, MAC, Linux, Raspberry Pi, etc. Python provides a simple syntax that is similar to the English language and is easier to read. Pythons syntax allows programs to be written with fewer lines of code. Python runs on an interpreter system so the code can be executed as soon as it is written which makes it very good for prototyping.
Read More About PY File FormatMulti format documents and images viewer API for .NET. View some of the popular file formats below without any external viewers.
(Microsoft Word Document)
(Microsoft Word Macro-Enabled Document)
(Microsoft Word Open XML Document)
(Microsoft Word Document Template)
(Microsoft Word Macro-Enabled Template)
(Word Open XML Document Template)
(Rich Text File Format)
(Plain Text File Format)
(Microsoft Excel Binary File Format)
(Microsoft Excel Open XML Spreadsheet)
(Microsoft Excel Macro-Enabled Spreadsheet)
(Microsoft Excel Binary Spreadsheet File)
(Microsoft Excel Open XML Template)
(Tab Separated Values File)
(Microsoft Excel Macro-Enabled Add-In)
(Comma Separated Values File)
(PowerPoint Presentation)
(Microsoft PowerPoint Slide Show)
(PowerPoint Open XML Presentation)
(PowerPoint Open XML Slide Show)
(Microsoft PowerPoint Open XML Template)
(Microsoft PowerPoint Template)
(Microsoft PowerPoint Presentation)
(Microsoft PowerPoint Slide Show)
(Adobe Portable Document Format)
(Open XML Paper Specification)
(LaTeX Source Document)
(Open Document Spreadsheet)
(OpenDocument Presentation File Format)
(Origin Graph Template)
(Open Document Text)
(Open Document Template)
(Microsoft Visio 2003-2010 XML Drawing)
(Tagged Image File Format)
(JPEG Image)
(Portable Network Graphic)
(Graphical Interchange Format File)
(Bitmap File Format)
(Microsoft Icon File)
(Adobe Photoshop Document)
(Raster Web Image File Format)
(Scalable Vector Graphics File)
(JPEG 2000 Core Image File)
(Microsoft Project Document)
(Microsoft Project Template)
(Hyper Text Markup Language)
(MIME Encapsulation of Aggregate HTML)
(MIME Encapsulation of Aggregate HTML)
(Microsoft Outlook E-mail Message)
(E-mail Message)
(Microsoft OneNote)
(Windows Metafile)
(Windows Enhanced Metafile)
(Adobe Photoshop Document)
(Microsoft Visio 2003-2010 Drawing)
(Microsoft Visio Drawing)
(Microsoft Visio 2003-2010 Stencil)
(Microsoft Visio 2003-2010 XML Drawing)
(Microsoft Visio 2010 Web Drawing)
(Digital E-Book File Format)