You are not logged in Log in Join
You are here: Home » Members » 4AM Productions (Evan Simpson) » Python Method Product 0.0.1 Released » View NewsItem

Log in



Python Method Product 0.0.1 Released

The very first fully working version of PythonMethod is ready. After installing it, you can create Python Methods. These can have any parameter list that a Python function could have, and contain regular Python code. Right now, you can't import and there are no builtins, so you're pretty much restricted to manipulating the parameters. All print commands are redirected into a magical read-only printed variable. You must return printed in order to have the text you've printed be the return value of the Python Method.

Python Methods do not allow del, exec, or the use of names starting with _. You can create local variables through assignment, but you cannot assign to attributes, indexes, slices, or anything else besides bare names.