MD Python (Free)

MD Python boasts three scripts: Python, C and MatDeck’s C++ styled script, which has been designed with simplicity in mind and the ability to handle the most intricate programs. All these scripts can be operated individually, however MD Python comes equipped with the ability to combine MD scripts and Python scripts with a range of other MD features into single MD documents. This includes:

  • Various GUIs
  • Narrative text editing with spelling
  • Tables
  • Build and run exe
  • Drawings
  • 2D GUI Graphs 2 per document
  • GUI Designer
  • Databases SQLite, MySQL, MSSQL and Postgres
  • Mathematical formula editor
  • Other numerous functions and features

Python IDE and MD IDE

In MD Python, programmers can switch to Classical Python IDE and use Python files with all Python libraries. To achieve even greater productivity, this Python environment can be used with numerous additional MD functions and GUIs. MD GUIs, MD functions and Python code can be combined together in the same MD document/file delivering advanced computing for various applications. More about Python IDE and MD IDE.

Databases

MD Python interacts with databases SQLite, MySQL, MSSQL, Postgres. To simplify your database work, database SQLite is installed with MD Python. In order to use MD Python with MySQL, MSSQL, Postgres databases, all these need to be installed. A database browser is available in MD Python Designer, which is more advanced and extremely affordable. MD Python Designer also includes a complete visual GUI designer which can convert visual GUI designs into Python or MD C style script.  While MD Python is equipped with a limited GUI Designer but you can use GUI functions from the Python libraries.

To become more familiar with MD Python’s features and other MD products, please look at Products Feature Table.

Advanced, EXE processing, mathematics and text editing

Build and run EXE is a feature in MD documents which allows documents to be processed in EXE level speeds. To make an independent app, Deploy EXE must be utilised, which is not available in MD Python but in other MD products, such as the affordable MD Python Designer. More in Products Feature Table.

As MD documents are “live” documents they process: code, mathematic formulas and GUIs. They can be used as presentation or documentation for the users applications or as ordinary code file for programming. MD python is our free software. However, MatDeck additionally offers other affordable and sophisticated software products such as Python Designer, Engineering Designer, MatDeck, etc. Each MD software comes with the same MD compatible files. Our documents MD include mathematical functions that can be called and edited in real time and have symbolic mathematics. The output produced using these functions can be manipulated at any point with the narrative text editing function that is included and mixed with the code. MD documents combine the most multiplex math with any code in fewer lines. Apart from these scripts’, MD documents also possess text editing with bullet points, headings, headers , footers and tables as well as a variety of GUIs. Example of MD document shown below:

Naive Bayes Training function

MD Python’s unique framework

MD Python uses MatDeck’s unique user interface to allow users to mix functions and features from different academics together in the same file. Above is a clever example that uses MD mathematics functions with Python to produce crisp and clear graphs without having to use unnecessary lines of code.

Variables and functions are examples of objects that can be transferred to and from Python code and MatDeck. Variables are automatically exchanged between MD’s mathematical editor and the code editor as they can both mix.

MD documents have mathematical functions that can be called and edited in real time and have symbolic mathematics. The output produced using these functions can be manipulated at any point with the narrative text editing function that is included and mixed with the code.

Objects that are transferred can be manipulated and processed further. In short, there is no need for extra code when performing complex math with Python as MatDeck provides.

MD Python’s interactive learning environment

While being able to integrate Python with a range of other features, MD Python also focuses on providing a comfortable and user-friendly interface. This is especially beneficial for beginners and those learning Python by easing the transition to Python.

By being committed to an ergonomic and easy to use interface both beginner and experienced programmers can enjoy shorter coding times and stress free programing.

These added features make learning and using Python much easier and simpler. Students or beginners who are not yet accustomed to the complexities of Python will prefer MD Python’s interface. Professionals and veteran coders will also enjoy the added features.

Auto fill generator – will predict and make suggestion for the user. This includes variables and functions the user declares in their code.

Math Tab – Under the programming group, users can access a library of definitions and arguments listed for all base functions

Zoom in sidebar – Allows users to view areas of code further down or above the current field of view of the code. Makes checking and copying syntax and variables much easier

Collapse brackets – minimises code placed within function brackets. Produces a compacter and easier to follow code

Find usages – produces an extensive list of all mentions of the word, variable or functions that is selected. Extremely useful for finding and changing Python objects as well as finding errors.

GUI Designer for MD Python

MatDeck’s GUI designer is a graphical work environment which allows users to create custom GUI applications. The complete GUI designer contains an exhaustive list of 19 individual GUI objects/elements that can be placed and used within the GUI designer. In a free MD Python, the designer GUI is limited to five elements being placed on the work area. However non limited MD Python GUI designer is available at extremely affordable price.

GUI designer
MatDeck Python GUI Designer example element

MD Python Designer, it is equipped with the complete set of features and functions. This includes 19 individual GUI objects/elements and an uncapped limit of objects/elements that can be place on the work area.

MatDeck GUI Designer element properties

Each GUI element/object contains a high level of customisation and personalisation. GUI applications are more bespoke than and as close as possible to the user’s requirements.

Once a user has completed their design, they can generate their entire application in the form of programming code. Depending on the type of code file used, the generated code will be outputted in Python or MatDeck script (Similar to C++).

MatDeck GUI Designer code

MatDeck , Python and C++  style script

All MatDeck documents boast powerful scripts for MatDeck programming. The script itself is modified for easy to use C++ styled script, allowing for both beginners and professionals programmers to make a smooth transition to the MatDeck script. Due to the nature of MatDeck scripts and Python, you can combine graphs, GUIs and thousands of other MatDeck functions and feature all in to one document. In this document we will showcase the advantages of MatDeck in comparison to pure Python. Both MatDeck script and Python can be written and executed in MatDeck. Moreover, Python code can be called into a MatDeck script allowing for the best of both worlds. In this document we will showcase Matdeck and Python programming in similar situations and on three different levels: basic, medium and advanced to see the benefits of both.

Simple Graphs

On the left hand side we have the MatDeck code needed for plotting a simple graph. On the right hand side we have the Python code needed for plotting the same simple graph.

matdeck graph code
python graph code

As we can see the MatDeck code on the left requires significantly less code. However, the Python code is longer as both the axis label and the title are all generated via the code. Whereas the Matdeck code is used with a Graph created in a canvas for ease of use.

matdeck graph example
python graph example

As we can see the two outputs are nearly identical, only little differences are present. Nevertheless, In MatDeck graph properties can easily be changed by going onto the Graph properties GUI seen below. Every aspect of a MatDeck graph can be changed here to allow for a personalized experience.

graph properties

More about Python and MD C++ Style script

More

For tips and useful information on how to use the different features in MD Python, use the following manuals: