User Tools

Site Tools


python

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
python [2017/12/30 16:54] g00r00python [2023/01/20 01:07] (current) – [Installation and Getting Started] g00r00
Line 8: Line 8:
 Custom Python scripts can be executed by a menu command on any menu, and can also replace any prompt in a Theme's prompts file so that the script is executed instead of the prompt that normally we have been displayed.  Python scripts can also be executed by MPL scripts and even other Python scripts as well. Custom Python scripts can be executed by a menu command on any menu, and can also replace any prompt in a Theme's prompts file so that the script is executed instead of the prompt that normally we have been displayed.  Python scripts can also be executed by MPL scripts and even other Python scripts as well.
  
-==== Why Python 2 ====+This is a full implementation of Python, meaning you can use external modules to accomplish just about anything alongside with many built in BBS-related functions for user input/output, user security, BBS database access, and so on.
  
-For those familiar with Python, it is important to note that Mystic uses the 2.x style of Python.  Even though there is a 3.0 version, the 2.x line was selected for a pretty long list of reasons at the time when support for Python was added into Mystic.  Here are some of reasons 2.x was selected: 
- 
-  * Better package support for Python 2.x 
-  * Python 2 is the default Python version used in the latest LTS versions of Ubuntu 
-  * Python 2 is the default Python version used in the latest of Apple's OS X 
-  * Proven stability over many years in production environments 
-  * The Python 2 syntax will not change, causing your scripts to break while the same cannot be said about Python 3 
  
 ==== Installation and Getting Started ==== ==== Installation and Getting Started ====
  
-See the subsections of this documentation for information on installation, creating your first Python script, and a function reference.+See the subsections of this documentation for information on [[python_install|installation]][[python_getstarted|creating your first Python script]], and a [[python_functions|function reference]].
python.1514674453.txt.gz · Last modified: 2017/12/30 16:54 by g00r00

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki