Thanks Vogtinator
In the attachment you provided, do you think it is stable enough to be the main download (I'd update the archive, then) ?
(The current archive download si the version without native code emission, just the first one I did my timings with)
Also, an idea : lots of people won't know that it's possible to modify the file exts association file - Could micropython automatically append the correct line to associate itself with .py files if it's not already the case (or if the file doesn't exist at all) ?
Le Python et la Nspire enfin réunis grâce à "Micro Python" !
Re: Le Python et la Nspire enfin réunis grâce à "Micro Pytho
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...)My calculator programs
Mes programmes pour calculatrices
-
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Posts: 14746
- Images: 1119
- Joined: 01 Jun 2007, 00:00
- Location: France
- Gender:
- Calculator(s):→ MyCalcs profile
- Twitter: adriweb
- GitHub: adriweb
Re: Le Python et la Nspire enfin réunis grâce à "Micro Pytho
It's not stable at all, some testing would be good, to find out why it crashes sometimes.
That's already the case, even with the version you benchmarked
Also, an idea : lots of people won't know that it's possible to modify the file exts association file - Could micropython automatically append the correct line to associate itself with .py files if it's not already the case (or if the file doesn't exist at all)?
That's already the case, even with the version you benchmarked
-
VogtinatorPremium
Niveau 9: IC (Compteur Infatigable)- Posts: 217
- Joined: 29 Mar 2014, 15:55
- Gender:
- Calculator(s):→ MyCalcs profile
Re: Le Python et la Nspire enfin réunis grâce à "Micro Pytho
Oh, I must have done something wrong when I tested, then, ok
And ok, I'll just mention the dev. version but not update the main download
(Edit : done - see description. Edit2 : also updated the news about that)
And ok, I'll just mention the dev. version but not update the main download
(Edit : done - see description. Edit2 : also updated the news about that)
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...)My calculator programs
Mes programmes pour calculatrices
-
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Posts: 14746
- Images: 1119
- Joined: 01 Jun 2007, 00:00
- Location: France
- Gender:
- Calculator(s):→ MyCalcs profile
- Twitter: adriweb
- GitHub: adriweb
Re: Le Python et la Nspire enfin réunis grâce à "Micro Pytho
Excellent projet et excellente news
Je signale juste deux fautes que j'ai trouvées en passant
Je signale juste deux fautes que j'ai trouvées en passant
Lionel Debroux wrote:Compte tenu de tout ceci, il est assez naturel de vouloir [essayer de] porter d’autres langages de script comme le Javascript, Perl, PHP, Python, Ruby… sur calculatrice - d'une part parce que l'on peut le faire, et d'autre part car une partie des utilisateurs de calculatrices qui deviendront développeurs professionnels un jour peuvent avoir envie d'appendre des langages populaires en premier
...
Ansi, nous (admins de TI-Planet) avons initié le projet de port d'un interpréteur Python pour la TI-Nspire. Le Python est clairement le choix le plus populaire parmi les 5 listés plus haut, et il est devenu le langage le plus populaire à des fins éducatifs d'après un récent sondage :Therefore, we (TI-Planet staff) sparked the port of some Python flavor to the Nspire. Python is clearly the most popular choice among the 5 ones listed above, and it has become the most popular language for learning purposes, according to a recent survey:http://www.pcworld.com/article/2451880/ ... guage.html .
Pokemon Topaze (Axe) discussion and download links here | (19:29:36) noelnadal: plus sérieusement, j'ai très peu de problèmes (22:45:44) Clifward: J'aime rire du malheur des autres (2017.11.18 - 17:07:12) Fireworks: Hayleia !!!!! (2017.11.18 - 17:07:19) TI-Bot: Fireworks has been logged out (Kicked). (2017.11.18 - 17:07:22) TI-Bot: Ban of user Fireworks revoked. (2017.11.18 - 17:07:25) TI-Bot: Fireworks logs into the Chat. (2017.11.18 - 17:07:28) Fireworks: <3 (2017.11.18 - 17:07:31) Fireworks: 208 |
-
HayleiaGénéreux
Niveau 17: GM (Grand Maître des calculatrices)- Posts: 2509
- Images: 2
- Joined: 30 Aug 2011, 08:22
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: Templar
Re: Le Python et la Nspire enfin réunis grâce à "Micro Pytho
Bon, tout ça c'est bien beau, mais on fait comment pour faire des scripts de plus d'une ligne avec cette console?
Votez Kasane Teto 2017
-
technolapin
Niveau 13: CU (Calculateur Universel)- Posts: 514
- Images: 25
- Joined: 31 Dec 2012, 10:48
- Location: Chez moi
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: Chui en vacance ducon
Re: Le Python et la Nspire enfin réunis grâce à "Micro Pytho
Tu peux aller à la ligne sans problème
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...)My calculator programs
Mes programmes pour calculatrices
-
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Posts: 14746
- Images: 1119
- Joined: 01 Jun 2007, 00:00
- Location: France
- Gender:
- Calculator(s):→ MyCalcs profile
- Twitter: adriweb
- GitHub: adriweb
Re: Le Python et la Nspire enfin réunis grâce à "Micro Pytho
Thank you for adding these missing characters, Vogtinator !
You forgot to tell about
Now (or maybe I did something wrong before that...) scripts execute and wait for a key pressed at the end so that you can see something !
Students can create their scripts oncalc with nTxt and execute them with MicroPython... that's just perfect.
Maybe 2 features could be added :
- an easy "quit" by pressing a key (e.g. "ESC" or "ON")
- ability of executing a chosen file while being in Micropython (using a menu, like nTxt does, for example)
That would the BEST !
You forgot to tell about
!
which can be added too by pressing Now (or maybe I did something wrong before that...) scripts execute and wait for a key pressed at the end so that you can see something !
Students can create their scripts oncalc with nTxt and execute them with MicroPython... that's just perfect.
Maybe 2 features could be added :
- an easy "quit" by pressing a key (e.g. "ESC" or "ON")
- ability of executing a chosen file while being in Micropython (using a menu, like nTxt does, for example)
That would the BEST !
-
BisamAdmin
Niveau 15: CC (Chevalier des Calculatrices)- Posts: 5670
- Joined: 11 Mar 2008, 00:00
- Location: Lyon
- Gender:
- Calculator(s):→ MyCalcs profile
Re: Le Python et la Nspire enfin réunis grâce à "Micro Pytho
Tu peux aller à la ligne sans problème
Quelle touche? Et surtout, il faut retaper le programme quand on veux l’exécuter?!
Votez Kasane Teto 2017
-
technolapin
Niveau 13: CU (Calculateur Universel)- Posts: 514
- Images: 25
- Joined: 31 Dec 2012, 10:48
- Location: Chez moi
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: Chui en vacance ducon
Re: Le Python et la Nspire enfin réunis grâce à "Micro Pytho
technolapin wrote:Tu peux aller à la ligne sans problème
Quelle touche?
C'est le même comportement que sur PC si je ne m'abuse :
- L'ouverture d'un scope se fait par les ( et :
- Une ligne vide correspond à la fermeture d'un scope IIRC.
Tant que t'es dans un scope, tu n'exécutes pas le programme et le readline attends tes entrées.
Et surtout, il faut retaper le programme quand on veux l’exécuter?!
Je suppose que oui. Sinon, comme bisam l'a dit : nTxt est ton ami.
-
LevakAdmin
Niveau 14: CI (Calculateur de l'Infini)- Posts: 6414
- Images: 22
- Joined: 27 Nov 2008, 00:00
- Location: 0x1AACC355
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: BAC+5: Epita (ING3)
Re: Le Python et la Nspire enfin réunis grâce à "Micro Pytho
How can we leave the interpreter? Enter on a void line does not work with the readline-enabled version.
-
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)- Posts: 3664
- Joined: 13 Dec 2013, 16:35
- Gender:
- Calculator(s):→ MyCalcs profile
Who is online
Users browsing this forum: ClaudeBot [spider] and 2 guests