π
<-
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 162 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: 5665
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: 80.2%
 
Posts: 14614
Images: 1218
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 52 guests

-
Search
-
Social TI-Planet
-
Featured topics
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
-
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.
1368 utilisateurs:
>1337 invités
>26 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)