MR. ED PRESENTS...
  • Home
    • Contact >
      • Google Map
      • Privacy
    • Weebly Tips
    • Windows Tips
  • Studio
    • Lucia Photoshooting 2025
    • Mila
    • Camila
    • Christy
    • Ivana
    • Demi Fray
    • Paulina Brown
    • Giuliana
  • Photos
    • Bergen aan Zee 2025
    • Paris Octobre 2024
    • Paris Centre Pompidou Bande dessinée
    • Schanzengraben Zürich
    • Viadukt Jenseits
    • Sechseläuten 2023
    • Once upon a time in London
    • Archive >
      • Retired but not tired
      • Clouds
      • Zürich 2017
      • Luzern >
        • Sing for Australia
      • Locarno 2020
      • Bern 2020
      • Nightshots at Zürich West
      • Lausanne 2020
  • Drawing Events
  • Mr. Ed
    • SHOP Mr. Ed
    • Mr. Ed Child paintings
    • Birthday Card design
    • Ausstellung Heime Kriens >
      • Adolfo Gadea
      • Mr. Ed
      • Anmeldung Vernissage
      • Opening Registration
      • Bild reservieren
      • SHOP Adolfo Gadea
      • SHOP Prints
      • VERKAUFT Adolfo Gadea
  • Colors
  • Annalis Gadea
    • Ueber AnnalLis
    • Bleistiftzeichnungen
    • Elemente
    • Akte
    • Aesthetik des Verfalls
    • Genesis
    • Geometrische Formen
    • Häuser
    • Lanzarotte
    • nachbearbeitete Fotos
    • organisch abstract
    • Pflanzen
    • Schwäne und Schnecken
    • Toscana
    • Transformationen
    • Diverse Themen
  • Programming
    • Python
    • JavaScript
  • Museums
    • Museum Paul Klee
    • Hans Glanzmann
  • Disclaimer
  • Photolaundry
  • Corona
  • TAGGER.BIZ SUPPORT
  • TAGGER.BIZ
    • Demo TAGGER.biz
    • Lightroom synchronizing
  • Photoblog
  • Photolaundry 2021

TI-84 Python edition - hybrid programming

20/7/2021

0 Comments

 
The Texas Instruments TI-84 Plus CE-T calculator has a special edition called "Python Edition"
It's easy to develop Python programs for this system. 
I'm developping like this:
I develop the programs like normal python programs on a PC with an editor (in my case PyCharm and Notepad++).
To be able to test the program on a PC I've made the following design.
1. conditional support for imports from TI libraries, like this:
​try:
    from ti_system import *
except Exception as e:
     print ("no module ti_system")
2. read and write data wrapped in functions with a hybrid implementation
For reading data TI uses recall_list
For writing data TI uses store_list
On a "normal" system without the ti_system library this will not work.
So, I made wrapper functions with exception handling, e.g.
def saveeuro(ieuro):
    xlist=[]
    xlist.append(ieuro)
  try:
      store_list("1",xlist)
  except NameError as e:
      saveEuroToFile(ieuro)
  return

See github for the sourcecode:
​github.com/edleijnse/ti84python

0 Comments

    Author

    Ed Leijnse
    Graphic design
    Photography
    ​
    Software Development
    C#, Java, Python
    Wordpress
    websites
    ​https://tagger.biz
    ​https://paparazzi.li
    https://leijnse.info

    Archives

    July 2021
    March 2021

    Categories

    All
    Classes
    Collections
    Deployment
    Gui
    Programming
    Pyinstaller
    Python
    Ti-84
    Ti-84 Python Edition

    RSS Feed

  • Home
    • Contact >
      • Google Map
      • Privacy
    • Weebly Tips
    • Windows Tips
  • Studio
    • Lucia Photoshooting 2025
    • Mila
    • Camila
    • Christy
    • Ivana
    • Demi Fray
    • Paulina Brown
    • Giuliana
  • Photos
    • Bergen aan Zee 2025
    • Paris Octobre 2024
    • Paris Centre Pompidou Bande dessinée
    • Schanzengraben Zürich
    • Viadukt Jenseits
    • Sechseläuten 2023
    • Once upon a time in London
    • Archive >
      • Retired but not tired
      • Clouds
      • Zürich 2017
      • Luzern >
        • Sing for Australia
      • Locarno 2020
      • Bern 2020
      • Nightshots at Zürich West
      • Lausanne 2020
  • Drawing Events
  • Mr. Ed
    • SHOP Mr. Ed
    • Mr. Ed Child paintings
    • Birthday Card design
    • Ausstellung Heime Kriens >
      • Adolfo Gadea
      • Mr. Ed
      • Anmeldung Vernissage
      • Opening Registration
      • Bild reservieren
      • SHOP Adolfo Gadea
      • SHOP Prints
      • VERKAUFT Adolfo Gadea
  • Colors
  • Annalis Gadea
    • Ueber AnnalLis
    • Bleistiftzeichnungen
    • Elemente
    • Akte
    • Aesthetik des Verfalls
    • Genesis
    • Geometrische Formen
    • Häuser
    • Lanzarotte
    • nachbearbeitete Fotos
    • organisch abstract
    • Pflanzen
    • Schwäne und Schnecken
    • Toscana
    • Transformationen
    • Diverse Themen
  • Programming
    • Python
    • JavaScript
  • Museums
    • Museum Paul Klee
    • Hans Glanzmann
  • Disclaimer
  • Photolaundry
  • Corona
  • TAGGER.BIZ SUPPORT
  • TAGGER.BIZ
    • Demo TAGGER.biz
    • Lightroom synchronizing
  • Photoblog
  • Photolaundry 2021