Skip to main content

Utlity file for my codes

Project description

just a utility files for my codes

for using maths

x = sum(150,50)

For using tricolor

import turtle
from anim import anim
col = ("orange","white","green")

t = turtle.Turtle()

screen = turtle.Screen()
screen.bgcolor("black")
tricolor(color)

For checking Internet

if internet_available():
    print("Internet is active")
else:
    print("Internet disconnected")

for getting time

x = zonetime('Asia/Kolkata')
print(x)

For using tg functions

from PyHarshit.tg import tgFunctions 

tgFunctions.copy_msg(arguments_here)

For using database

>>> import PyHarshit.db as database
>>> db = database.load('test.db', False)

>>> db.set('key', 'value')

>>> db.get('key')
'value'

>>> db.dump()
True

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyHarshit-0.0.8.tar.gz (13.7 kB view hashes)

Uploaded Source

Built Distribution

PyHarshit-0.0.8-py3-none-any.whl (18.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page