python_getstarted
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
python_getstarted [2023/01/08 12:29] – g00r00 | python_getstarted [2023/01/20 01:04] – [Executing a Python Script] g00r00 | ||
---|---|---|---|
Line 61: | Line 61: | ||
writeln(" | writeln(" | ||
writeln(" | writeln(" | ||
+ | |||
+ | |||
+ | Refer to the [[python_functions|function reference]] and [[python_examples|Python examples]] section for more information on Python functions available as part of the Mystic module. | ||
---- | ---- | ||
Line 72: | Line 75: | ||
Python scripts can be executed from your menus by using the " | Python scripts can be executed from your menus by using the " | ||
- | command. | + | command |
- | .mpy files using the same logic that Mystic Programming Language uses. | + | Mystic looks in the theme' |
+ | same logic that Mystic Programming Language uses. | ||
* If you supply a file with no extension, Mystic will add .mpy to it | * If you supply a file with no extension, Mystic will add .mpy to it | ||
Line 115: | Line 119: | ||
conversions in Mystic Python. | conversions in Mystic Python. | ||
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. | ||
+ | |||
+ | This type of approach would allow the entire login and new user application process to be completely scripted in Python, for example. | ||
+ | |||
+ | A BBS can range from a completely scripted experience, to a completely customized theme without using any scripting, or anything in between. |
python_getstarted.txt · Last modified: 2023/01/20 02:28 by g00r00