Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What is python-pyrtc?
#1
Hi all,

I have a question. Do you know what "python-pyrtc" is?

As its introduction, it is an extension of Python that can talk to RTC (Real Time Clock). However, there is nothing mention about a way to use this.

If you have any information about usage of "python-pyrtc", please give me. I am trying to talk with my RTC by Python.

PS: I can not post a link in this topic. You can use google to search word "python-pyrtc".

Thank you.
Reply
#2
do you mean python-pyrtf ?
if so, see https://pypi.python.org/pypi/PyRTF/0.45
Reply
#3
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 .
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply
#4
(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 Sad .

==============
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.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020