π
<-
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 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 1.6%
 
Posts: 217
Joined: 29 Mar 2014, 15:55
Gender: Male
Calculator(s):
MyCalcs profile

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):
MyCalcs profile
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 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 1.6%
 
Posts: 217
Joined: 29 Mar 2014, 15:55
Gender: Male
Calculator(s):
MyCalcs profile

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):
MyCalcs profile
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 0: MI (Membre Inactif)
Niveau 0: MI (Membre Inactif)
Level up: 40%
 
Posts: 1
Joined: 11 Oct 2014, 06:01
Gender: Not specified
Calculator(s):
MyCalcs profile

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 DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 11.2%
 
Posts: 6859
Joined: 23 Dec 2009, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
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 170 times
User avatar
VogtinatorPremium
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 1.6%
 
Posts: 217
Joined: 29 Mar 2014, 15:55
Gender: Male
Calculator(s):
MyCalcs profile

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: 69.6%
 
Posts: 5666
Joined: 11 Mar 2008, 00:00
Location: Lyon
Gender: Male
Calculator(s):
MyCalcs profile

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 :)
Image

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 78.3%
 
Posts: 14653
Images: 1118
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
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 DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 11.2%
 
Posts: 6859
Joined: 23 Dec 2009, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Class: -
GitHub: debrouxl

PreviousNext

Return to News TI-Nspire

Who is online

Users browsing this forum: No registered users and 88 guests

-
Search
-
Social TI-Planet
-
Featured topics
"1 calculatrice pour tous", le programme solidaire de Texas Instruments. Reçois gratuitement et sans aucune obligation d'achat, 5 calculatrices couleur programmables en Python à donner aux élèves les plus nécessiteux de ton lycée. Tu peux recevoir au choix 5 TI-82 Advanced Edition Python ou bien 5 TI-83 Premium CE Edition Python.
Enseignant(e), reçois gratuitement 1 exemplaire de test de la TI-82 Advanced Edition Python. À demander d'ici le 31 décembre 2024.
Offre de test des nouveautés de rentrée 2024 par Casio. Enseignant(e), reçois gratuitement 1 exemplaire, à ton choix, de la Graph Light ou bien de la Graph Math+
14€ remboursés par Casio sur l'achat de ta calculatrice Graph 35 d'ici le 31 Octobre 2024
10€ remboursés par Casio sur l'achat de ta calculatrice Graph 90+E d'ici le 31 Décembre 2024
10€ remboursés par Casio sur l'achat de ta calculatrice Graph 25 d'ici le 31 Décembre 2024
8€ remboursés par Casio sur l'achat de ta calculatrice Graph Math+ d'ici le 31 Octobre 2024
Reprise de ton ancienne fx-92 Collège ou Graph 25/35/90 à 3€ peu importe son état. Même non fonctionnelle et donc invendable, même ancienne Graph 35 non conforme aux programmes (pas de Python), même ancienne Graph 25/35 inutilisable aux examens (pas de mode examen) et donc invendable. Etiquette de retour fournie, pas de frais de port à payer.
3€ remboursés par Casio sur l'achat de ta calculatrice fx-92 Collège d'ici le 30 Septembre 2024
5€ de remise immédiate sur l'achat de ta calculatrice TI-83 Premium CE Edition Python chez les revendeurs partenaires
4€ de remise immédiate sur l'achat de ta calculatrice TI-82 Advanced Edition Python chez les revendeurs partenaires
3€ de remise immédiate sur l'achat de ta calculatrice TI-82 Advanced chez les revendeurs partenaires
Comparaisons des meilleurs prix pour acheter sa calculatrice !
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
1234567891011121314
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...
Donate
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 Calculatrices à acheter chez Calcuso
-
Stats.
1265 utilisateurs:
>1233 invités
>28 membres
>4 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)