Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python Program with Ndless #341

Open
renzixilef opened this issue Apr 1, 2022 · 2 comments
Open

Python Program with Ndless #341

renzixilef opened this issue Apr 1, 2022 · 2 comments
Labels

Comments

@renzixilef
Copy link

Hi,
i dont know if this is a really dumb question or not :). I programmed a Python Script for my TI-Nspire CX 2, but sadly the TI-Nspire doesnt support the use of external python libraries, so i cant use it. I now wonder if I could integrate it using the Ndless SDK, but i cant think of a way to integrate my programm into C-code to make it executable on the calculator (i am not very familiar with c coding). Is there a way to extend the calculators Python libraries or even some kind of way to make this program executable on the TI-Nspire?
I really hope, someone can help me.

@Vogtinator
Copy link
Contributor

Hi!

While it's theoretically possible to use ndless to write python libraries in native code, the API for that is not exposed to Ndless applications yet. The issue is that it is OS specific, so applications would have to be build (and most likely written) against a specific OS version or set thereof.

If it's just about allowing .py files to import other .py files in the form of python modules, that should already be possible.

@renzixilef
Copy link
Author

Basically its just about imports, but i couldnt make it work. Technically i have to be able to import a whole package not a module though. What can i try?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants