Work in progress - Work in progress - Work in progress - Work in progress - Work in progress
Work in progress - Work in progress - Work in progress - Work in progress - Work in progress
The NinjaPython B4A library brings you the ability of utilizing the Python language inside your B4A games and apps.
This can range from a few lines of code to entire scripts or object oriented modules, the choice is yours.
Quickstart:
Practice:
Features:
Test project:
KanBan board:
Library files (1.03):
Resource files:
Usage:
Learn:
/SPOILER]
Work in progress - Work in progress - Work in progress - Work in progress - Work in progress
The NinjaPython B4A library brings you the ability of utilizing the Python language inside your B4A games and apps.
This can range from a few lines of code to entire scripts or object oriented modules, the choice is yours.
Quickstart:
- Switch 'Compilation Mode' to Release
- Download the library files and place them in your B4A external libraries folder.
- Option A: Download the resource files and place them in your project's Files folder.
- Option B: Download the test project below.
- See the 'usage' example below.
- Download the library files and place them in your B4A external libraries folder.
- Option A: Download the resource files and place them in your project's Files folder.
- Option B: Download the test project below.
- See the 'usage' example below.
Practice:
Features:
- CPython Interpreter 2.7.9
- Python Standard Library
- x86 and ARM compatible
- Ongoing development
Wishlist:- Python Standard Library
- x86 and ARM compatible
- Ongoing development
- Dedicated function calls
- Passing and returning B4A objects such as lists and maps
- Support for 3rd party libraries
Price (pay what you want):- Passing and returning B4A objects such as lists and maps
- Support for 3rd party libraries
Test project:
KanBan board:
Library files (1.03):
Resource files:
Usage:
B4X:
Dim Py As NinjaPython
Py.Initialize
Py.Exec($"
def SayHello(subject):
print 'Hello, ' + subject + '!'
"$)
...
...
...
...
Py.Exec("SayHello('world')") 'Outputs and returns 'Hello, world!'
Py.Finalize
Learn:
Enjoy!
Last edited: