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)
Built Distribution
PyHarshit-0.0.8-py3-none-any.whl
(18.9 kB
view hashes)
Close
Hashes for PyHarshit-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7767be87bc65a66b4db764f32854b14a58620ed0d98fd520d3c57fc72bd0c7f1 |
|
MD5 | e2e142547401ecc405c322880598f7a0 |
|
BLAKE2b-256 | 7e1eadba383c3f0a005e04855d06f7f3825d9622809704569d39481b1604ae81 |