(Feb-09-2017, 12:43 PM)Larz60+ Wrote: do you mean python-pyrtf ?
if so, see https://pypi.python.org/pypi/PyRTF/0.45
Thank you. I meant "python-pyrtc". This is to talk with RTC hardware by Python.
Thanks for your reply.
(Feb-09-2017, 01:55 PM)sparkz_alot Wrote: Seems it is part of the 'freesmartphone', it's docs can be found here: http://www.freesmartphone.org/specs/org....timeClock/ , I also found a script that uses it here: Script with pyrtc .
Thank you so much. It is what I need.
I am a newbie at Python. Can I continue to ask question through this thread?
I use the script in your link "Script with pyrtc", unfortunately, it fails at beginning .
==============
Traceback (most recent call last):
File "./rtc.py", line 6, in <module>
from helpers import DBUS_INTERFACE_PREFIX, DBUS_PATH_PREFIX, readFromFile, writeToFile, cleanObjectName
ImportError: No module named helpers
==============
Where can I get module named "helpers", and what do I need to do if I have module "helpers"?
Thank you for your support.