π
<-
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

Message non lude 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 :-(
Avatar de l’utilisateur
VogtinatorPremium
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Prochain niv.: 1.6%
 
Messages: 217
Inscription: 29 Mar 2014, 15:55
Genre: Homme
Calculatrice(s):
MyCalcs profile

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

Message non lude 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 :)
Avatar de l’utilisateur
Handers
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Prochain niv.: 99.4%
 
Messages: 29
Images: 11
Inscription: 20 Juin 2012, 20:12
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: MP

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

Message non lude 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.
Avatar de l’utilisateur
VogtinatorPremium
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Prochain niv.: 1.6%
 
Messages: 217
Inscription: 29 Mar 2014, 15:55
Genre: Homme
Calculatrice(s):
MyCalcs profile

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

Message non lude Handers » 10 Sep 2014, 22:39

Ah ok :) thanks for your help :)
Avatar de l’utilisateur
Handers
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Prochain niv.: 99.4%
 
Messages: 29
Images: 11
Inscription: 20 Juin 2012, 20:12
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: MP

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

Message non lude 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
Avatar de l’utilisateur
torito
Niveau 0: MI (Membre Inactif)
Niveau 0: MI (Membre Inactif)
Prochain niv.: 40%
 
Messages: 1
Inscription: 11 Oct 2014, 06:01
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

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

Message non lude 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.
Avatar de l’utilisateur
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Prochain niv.: 11.2%
 
Messages: 6859
Inscription: 23 Déc 2009, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: -
GitHub: debrouxl

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

Message non lude 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)
Fichiers joints
micropython.tns
(549.28 Kio) Téléchargé 161 fois
Avatar de l’utilisateur
VogtinatorPremium
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Prochain niv.: 1.6%
 
Messages: 217
Inscription: 29 Mar 2014, 15:55
Genre: Homme
Calculatrice(s):
MyCalcs profile

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

Message non lude Bisam » 27 Oct 2014, 23:27

Thanks for these changes... I'll get a try as soon as tomorrow.
Avatar de l’utilisateur
BisamAdmin
Niveau 15: CC (Chevalier des Calculatrices)
Niveau 15: CC (Chevalier des Calculatrices)
Prochain niv.: 69.5%
 
Messages: 5665
Inscription: 11 Mar 2008, 00:00
Localisation: Lyon
Genre: Homme
Calculatrice(s):
MyCalcs profile

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

Message non lude 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...)
Avatar de l’utilisateur
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 80.1%
 
Messages: 14606
Images: 1216
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb

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

Message non lude 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.
Avatar de l’utilisateur
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Prochain niv.: 11.2%
 
Messages: 6859
Inscription: 23 Déc 2009, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: -
GitHub: debrouxl

PrécédenteSuivante

Retourner vers News TI-Nspire

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 55 invités

-
Rechercher
-
Social TI-Planet
-
Sujets à la une
Comparaisons des meilleurs prix pour acheter sa calculatrice !
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
Phi NumWorks jailbreak
123
-
Faire un don / Premium
Pour plus de concours, de lots, de tests, nous aider à payer le serveur et les domaines...
Faire un don
Découvrez les avantages d'un compte donateur !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partenaires et pub
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
1037 utilisateurs:
>1021 invités
>11 membres
>5 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Autres sites intéressants
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)