WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: PiCore Suitability for Python 3.X & 2.X controller  (Read 1318 times)

Offline gatorback

  • Newbie
  • *
  • Posts: 17
PiCore Suitability for Python 3.X & 2.X controller
« on: February 10, 2020, 04:51:40 PM »
I am interested in controlling a Sequent Microsystems MegaIO Relay (designed for Raspberry Pi) via Python 2.X & 3.X.   A rPi 3B+ is available as is a rPi Zero-W (preferred).

URL to Python Relay controls: https://github.com/SequentMicrosystems/megaio-rpi/tree/master/python/megaio

Reliability is important and SD card failure is not unheard of with the rPi.  Can PiCore be setup to:

1. Read only the SD card (so as to avoid the SD card failure)
2. Implement the Python 2.X & 3.X Relays controls (see URL above)

It would be good to know now before investing time if either of these requirements can not be met.  Any links to examples that indicate support for above line items are appreciated
« Last Edit: February 10, 2020, 05:02:16 PM by gatorback »
Raspberry Pi Zero W

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1254
Re: PiCore Suitability for Python 3.X & 2.X controller
« Reply #1 on: February 10, 2020, 09:37:54 PM »
Point 1 is yes.   Writes are only done when you need to Backup edits.    Or you could remaster your own image and do no writes.   I have an Old pi model A running for over 5 years Uptime.

Point 2:  python works fine, and I don’t see many dependencies......but you can use pip if needed.

Offline gatorback

  • Newbie
  • *
  • Posts: 17
Re: PiCore Suitability for Python 3.X & 2.X controller
« Reply #2 on: February 27, 2020, 01:49:56 PM »
Progress is slow, but "hard won".  For readers that are interested in Python's Package Manager (pip) installation:

http://forum.tinycorelinux.net/index.php/topic,23560.0.html 
Raspberry Pi Zero W