π
<-

Joyeux Noël 2022 avec le script Python surprise de TI-Planet

Joyeux Noël 2022 avec le script Python surprise de TI-Planet

Unread postby critor » 25 Dec 2022, 00:00


Minuit par une belle nuit de Noël... nos calculatrices couleur viennent toutes de se réunir solennellement autour du sapin, elles ont quelque chose à te dire...

Télécharge l'un des scripts ci-dessous et laisse-le s'exécuter pour le découvrir. ;)








Téléchargements :
Midnight on a beautiful Christmas night... our graphing calculators have all gathered around the tree, they have something to share with you...

Download one of the scripts below and let it run to find out ;)








Downloads:
Image
User avatar
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 46.3%
 
Posts: 41909
Images: 15444
Joined: 25 Oct 2008, 00:00
Location: Montpellier
Gender: Male
Calculator(s):
MyCalcs profile
YouTube: critor3000
Twitter: critor2000
GitHub: critor

Re: Joyeux Noël 2022 avec le script Python surprise de TI-Pl

Unread postby Adriweb » 25 Dec 2022, 00:21

Oh, très jolis scripts, pour un très joli post, bravo !
(à voir sur ordinateur, parce que sur mobile, les lecteurs sont probablement plus confus qu'autre chose haha)

Et joyeuses fêtes à tous :)

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
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 78.8%
 
Posts: 14728
Images: 1119
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Twitter: adriweb
GitHub: adriweb

Re: Joyeux Noël 2022 avec le script Python surprise de TI-Pl

Unread postby critor » 25 Dec 2022, 00:23

Merci. :)

Et pour une fois il y a une version compatible CE. ;)
Image
User avatar
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 46.3%
 
Posts: 41909
Images: 15444
Joined: 25 Oct 2008, 00:00
Location: Montpellier
Gender: Male
Calculator(s):
MyCalcs profile
YouTube: critor3000
Twitter: critor2000
GitHub: critor

Re: Joyeux Noël 2022 avec le script Python surprise de TI-Pl

Unread postby Shadow » 25 Dec 2022, 00:24

Excellent travail ! :bj: (merci pour la version CE)
TI-Planet vous souhaite de bonnes fêtes :)
En passant, post sur Instagram ; https://www.instagram.com/p/Cmkbo2itaCn ... hare_sheet

Père Noël = TI-Planet admin
Nouveau sur le site, ClaudeBot [spider] ? Avant de poster sur le chat et sur le forum, n'oubliez pas de lire les règles. En cas de problème, vous pouvez m'envoyer un message, je réponds rapidement.


Liens utiles :


Image
New to the website, ClaudeBot [spider]? Before posting something in the chat or in the forum, don't forget to read the rules. If you have any questions, you can send me a private message, I'll answer as fast as I can.


Useful links:


Image
User avatar
ShadowSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 19.9%
 
Posts: 425
Images: 122
Joined: 26 Feb 2021, 12:46
Location: Paris
Gender: Male
Calculator(s):
MyCalcs profile
Class: 1A - EPF Cachan
GitHub: bryanthrmn

Re: Joyeux Noël 2022 avec le script Python surprise de TI-Pl

Unread postby iard » 25 Dec 2022, 09:58

Joyeux Noël / Merry Christmas
Very nice surprise!

Since I can't use TI-Connect to send Python files through USB under Linux, I've used TILP2 to send the downloaded .8xv on my TI-84 Plus CE-T Python Edition, but it's not recognized as a PY extension, so I edited the .py source and added "PYCD" followed by Unicode character 00 (example using VIM: INSERT, Ctrl+V, 000), then saved the source and built the .8xv using keoni29's to8xv utility from GitHub, and sent it again with TILP2. Now it sees the extension PY and works great! Maybe there's an easier way, but I don't know it ;)

On Casio fx-CG50 using Casio's official Python it also works great. I tried running it with Lephenixnoir's PythonExtra 0.1.0-beta and the only difference I can see it that polycal5.py (I think) doesn't use the whole screen, it leaves a blank line below and a blank column at the right.

Again, Merry Christmas to all!
Vous pouvez répondre à mes messages en français, je le comprends assez bien.
User avatar
iard
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 32%
 
Posts: 23
Joined: 11 Nov 2011, 08:32
Location: Romania
Gender: Male
Calculator(s):
MyCalcs profile
GitHub: iardsoft

Re: Joyeux Noël 2022 avec le script Python surprise de TI-Pl

Unread postby critor » 25 Dec 2022, 10:26

Thanks.

Polycal5.py has not been taylored for PythonExtra yet, but it is planned. :)

It probably also needs to be taylored for the fx-CG50 full edition of KhiCAS.
Image
User avatar
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 46.3%
 
Posts: 41909
Images: 15444
Joined: 25 Oct 2008, 00:00
Location: Montpellier
Gender: Male
Calculator(s):
MyCalcs profile
YouTube: critor3000
Twitter: critor2000
GitHub: critor

Re: Joyeux Noël 2022 avec le script Python surprise de TI-Pl

Unread postby Adriweb » 25 Dec 2022, 19:33

iard wrote:Since I can't use TI-Connect to send Python files through USB under Linux, I've used TILP2 to send the downloaded .8xv on my TI-84 Plus CE-T Python Edition, but it's not recognized as a PY extension, so I edited the .py source and added "PYCD" followed by Unicode character 00 (example using VIM: INSERT, Ctrl+V, 000), then saved the source and built the .8xv using keoni29's to8xv utility from GitHub, and sent it again with TILP2. Now it sees the extension PY and works great! Maybe there's an easier way, but I don't know it ;)


That's... odd, the file should send right away just fine hmmm. ?

Anyway, there's also my tivars_lib_cpp software that can get/set python content in an appvar: https://github.com/adriweb/tivars_lib_cpp

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
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 78.8%
 
Posts: 14728
Images: 1119
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Twitter: adriweb
GitHub: adriweb

Re: Joyeux Noël 2022 avec le script Python surprise de TI-Pl

Unread postby iard » 26 Dec 2022, 07:54

Thank you, I'll look into the library.
So I've downloaded the archive again, extracted Noel2022.8xv and opened it with a hex editor.
Shouldn't it contain PYCD in the header to be identified as a Python appvar?
Image
Vous pouvez répondre à mes messages en français, je le comprends assez bien.
User avatar
iard
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 32%
 
Posts: 23
Joined: 11 Nov 2011, 08:32
Location: Romania
Gender: Male
Calculator(s):
MyCalcs profile
GitHub: iardsoft

Re: Joyeux Noël 2022 avec le script Python surprise de TI-Pl

Unread postby critor » 26 Dec 2022, 09:11

Hello. The CE-Python calculators archive contains 2 files :
- a .py file with the script
- a .8xv file which is not a Python script, but the used image to the CE-Python official format (IM8C, which relies on RLE compression)
Image
User avatar
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 46.3%
 
Posts: 41909
Images: 15444
Joined: 25 Oct 2008, 00:00
Location: Montpellier
Gender: Male
Calculator(s):
MyCalcs profile
YouTube: critor3000
Twitter: critor2000
GitHub: critor

Re: Joyeux Noël 2022 avec le script Python surprise de TI-Pl

Unread postby iard » 26 Dec 2022, 10:11

Oh, silly me ;) Thank you. Still can't send the .py file with TILP2 unless I make it a .8xv using the procedure described above.
Vous pouvez répondre à mes messages en français, je le comprends assez bien.
User avatar
iard
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 32%
 
Posts: 23
Joined: 11 Nov 2011, 08:32
Location: Romania
Gender: Male
Calculator(s):
MyCalcs profile
GitHub: iardsoft

Next

Return to News Divers

Who is online

Users browsing this forum: ClaudeBot [spider] and 12 guests

-
Search
-
Social TI-Planet
-
Featured topics
Comparaisons des meilleurs prix pour acheter sa calculatrice !
"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.
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.
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
12345
-
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.
1169 utilisateurs:
>1113 invités
>47 membres
>9 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)