User Tools

Site Tools


python_getstarted

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_getstarted [2023/01/20 00:52] – [Creating a Script] g00r00python_getstarted [2023/01/20 02:28] (current) – [Getting Started with Scripting] g00r00
Line 10: Line 10:
 The goal of this section is not to teach you Python, but to show you The goal of this section is not to teach you Python, but to show you
 how to get started specifically with Mystic's embedded Python.  There are how to get started specifically with Mystic's embedded Python.  There are
-many Python references and tutorials all over the Internet to help develop+many Python references and tutorials all over the Internet to help develop
 the skills needed to create your Python programs.  Python is a very popular the skills needed to create your Python programs.  Python is a very popular
-scripting language used both at the hobby and professional levels and the+scripting language used both at the hobby and professional levelsand the
 resources available via Google are plentiful. resources available via Google are plentiful.
  
Line 119: Line 119:
 conversions in Mystic Python.  To execute Python 3 script from command line, use -Z conversions in Mystic Python.  To execute Python 3 script from command line, use -Z
 instead of -Y. instead of -Y.
 +
 +=== Through MPL Hooks ===
 +
 +Mystic has hooks in various locations where functionality of Mystic can be completely replaced by MPL scripts, such as the user login and new user application processes.  It is possible to use these MPL hooks to call a Mystic Python script using the MenuCmd MPL function.
 +
 +This type of approach would allow the entire login and new user application process to be completely scripted in Python, for example.  Your BBS could then call another script from a start menu to completely replace the menu system. 
 +
 +A BBS can range from a completely scripted experience, to a completely customized theme without using any scripting, or anything in between.
python_getstarted.1674197544.txt.gz · Last modified: 2023/01/20 00:52 by g00r00

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki