Python - Synchronize Time using (Network Time Protocol 'NTP')

preview_player
Показать описание
Python - Synchronize Time using (Network Time Protocol "NTP")
This process uses Pydroid 3 a Python 3 IDE for Android

codes below:
from time import ctime
import ntplib

ntpc = ntplib.NTPClient()
print('Local Time: ',ctime())

for more info visit:
Рекомендации по теме
Комментарии
Автор

Is there a way to print it as 12 hour format instead of 24

vtech
welcome to shbcf.ru