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 details)
Built Distribution
PyHarshit-0.0.8-py3-none-any.whl
(18.9 kB
view details)
File details
Details for the file PyHarshit-0.0.8.tar.gz
.
File metadata
- Download URL: PyHarshit-0.0.8.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88480706dd703e3d173d3e5f8bb1e43659ed71877e80c57465e9a7d1a86bb403 |
|
MD5 | d2770b23c7d295338c018feeefa57cdd |
|
BLAKE2b-256 | 49cd67d3bb87faa73a66cb76767b819dde9a08bdcbc997ed13d556dcc55b9f33 |
File details
Details for the file PyHarshit-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: PyHarshit-0.0.8-py3-none-any.whl
- Upload date:
- Size: 18.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7767be87bc65a66b4db764f32854b14a58620ed0d98fd520d3c57fc72bd0c7f1 |
|
MD5 | e2e142547401ecc405c322880598f7a0 |
|
BLAKE2b-256 | 7e1eadba383c3f0a005e04855d06f7f3825d9622809704569d39481b1604ae81 |