π
<-
Chat plein-écran
[^]

Le Python et la Nspire enfin réunis grâce à "Micro Python" !

:32tins: :32tinsktpb: :32tinsktpn: :32tinscas: :32tinstpkc: :32tinstpktpb: :32tinstp: :32tinscastp: :32tinscmc: :32tinscx: :32tinscxcas:

Re: Le Python et la Nspire enfin réunis grâce à "Micro Pytho

Unread postby Vogtinator » 10 Sep 2014, 21:29

I don't know, maybe it works already?
If you get https://github.com/micropython/micropython-lib and install them (the search path is "/documents/ndless") there could be enough available to run numpy. But beware: The more files you have on your nspire, the slower it is :-(
User avatar
VogtinatorPremium
Niveau 8: ER (Espèce Rare: nerd)
Niveau 8: ER (Espèce Rare: nerd)
Level up: 39.8%
 
Posts: 136
Joined: 29 Mar 2014, 15:55
Gender: Male
Calculator(s):

Re: Le Python et la Nspire enfin réunis grâce à "Micro Pytho

Unread postby Handers » 10 Sep 2014, 21:44

I think I did not understand ^^ because I don't see the link between all those lib could help in running numpy ?
Thanks for the link anyway, it might be fun to try some of the libs :)
User avatar
Handers
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 99.4%
 
Posts: 29
Images: 11
Joined: 20 Jun 2012, 20:12
Gender: Male
Calculator(s):
Class: MP

Re: Le Python et la Nspire enfin réunis grâce à "Micro Pytho

Unread postby Vogtinator » 10 Sep 2014, 21:53

That repository contains community-developed implementations of python standard libraries, which are likely needed by numpy.
I'd install micropython on my desktop in a chroot first and try to copy and install micropython-lib and copy the whole folder once numpy works.
User avatar
VogtinatorPremium
Niveau 8: ER (Espèce Rare: nerd)
Niveau 8: ER (Espèce Rare: nerd)
Level up: 39.8%
 
Posts: 136
Joined: 29 Mar 2014, 15:55
Gender: Male
Calculator(s):

Re: Le Python et la Nspire enfin réunis grâce à "Micro Pytho

Unread postby Handers » 10 Sep 2014, 22:39

Ah ok :) thanks for your help :)
User avatar
Handers
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 99.4%
 
Posts: 29
Images: 11
Joined: 20 Jun 2012, 20:12
Gender: Male
Calculator(s):
Class: MP

Re: Le Python et la Nspire enfin réunis grâce à "Micro Pytho

Unread postby torito » 11 Oct 2014, 10:33

hi....im just starting to learn python....but i wanna know how im i suposed to run the test.py.tns from the micropyton.tns..... i mean...what im i supposed to write?? :#fou#: :#fou#: ..thx
User avatar
torito
Niveau 1: MD (Membre Débutant)
Niveau 1: MD (Membre Débutant)
Level up: 0%
 
Posts: 1
Joined: 11 Oct 2014, 06:01
Gender: Not specified

Re: Le Python et la Nspire enfin réunis grâce à "Micro Pytho

Unread postby Lionel Debroux » 11 Oct 2014, 10:36

You could run test.py.tns directly from outside micropython.tns, thanks to the file association feature of Ndless.
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
User avatar
Lionel DebrouxModo.G
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 4%
 
Posts: 6311
Joined: 23 Dec 2009, 00:00
Location: France
Gender: Male
Calculator(s):
Class: -
GitHub: debrouxl

Re: Le Python et la Nspire enfin réunis grâce à "Micro Pytho

Unread postby Vogtinator » 27 Oct 2014, 23:23

A new version is ready.
Changes:
-No crashes anymore (I couldn't produce any)
-Improved input method (like PC, hold shift for upper case)
-Exit with ESC or "quit"
-Latest upstream version of micropython
-nsp.Texture class (Documentation)
Attachments
micropython.tns
(549.28 KiB) Downloaded 47 times
User avatar
VogtinatorPremium
Niveau 8: ER (Espèce Rare: nerd)
Niveau 8: ER (Espèce Rare: nerd)
Level up: 39.8%
 
Posts: 136
Joined: 29 Mar 2014, 15:55
Gender: Male
Calculator(s):

Re: Le Python et la Nspire enfin réunis grâce à "Micro Pytho

Unread postby Bisam » 27 Oct 2014, 23:27

Thanks for these changes... I'll get a try as soon as tomorrow.
User avatar
BisamAdmin.
Niveau 15: CC (Chevalier des Calculatrices)
Niveau 15: CC (Chevalier des Calculatrices)
Level up: 47.4%
 
Posts: 5419
Joined: 11 Mar 2008, 00:00
Location: Lyon
Gender: Male
Calculator(s):

Re: Le Python et la Nspire enfin réunis grâce à "Micro Pytho

Unread postby Adriweb » 28 Oct 2014, 04:15

Thanks, (tested and working great so far)
Updated the archive :)
User avatar
AdriwebAdmin.
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 50.8%
 
Posts: 12448
Images: 1080
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
Class: (ingénieur)
Twitter: adriweb
GitHub: adriweb

Re: Le Python et la Nspire enfin réunis grâce à "Micro Pytho

Unread postby Lionel Debroux » 28 Oct 2014, 07:14

I've (belatedly) made a topic about pyWrite on TI-Planet: viewtopic.php?f=17&t=15440 .
You'd have had more replies and earlier feedback on TI-Planet, Fabian - notice that Adriweb and Bisam are the ones who made the most useful contributions on the Omnimaga topic :)

Omnimaga and Cemetech don't care much about Micro Python and its ecosystem... their loss after all.
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
User avatar
Lionel DebrouxModo.G
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 4%
 
Posts: 6311
Joined: 23 Dec 2009, 00:00
Location: France
Gender: Male
Calculator(s):
Class: -
GitHub: debrouxl

PreviousNext

Return to News TI-Nspire

Who is online

Users browsing this forum: No registered users and 5 guests

-
Search
-
Featured topics
Offre TI-Planet/Jarrety pour avoir la TI-83 Premium CE avec son chargeur pour 79,79€ port inclus !
Offre TI-Planet/Jarrety pour avoir la TI-Nspire CX CAS à seulement 130€ TTC port inclus!
Jailbreake ta TI-Nspire avec Ndless et profite des meilleurs jeux et applications !
123
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...

Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety 
-
Stats.
448 utilisateurs:
>418 invités
>25 membres
>5 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)