check if imported or if number name
Project description
from impo.keys import isnumber,isimport
x = 'five'
y = 'three'
print('ex1',isnumber(x))
print('ex2',isnumber(y))
print('ex3',isnumber(x,1)[1]>isnumber(y,1)[1])
print('ex4',isimport('sys'))
print('ex5',isimport('impo'))
print('ex6',isimport('keys'))
print('ex7',isimport('os'))
print('ex8',isimport('isnumber'))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
toolkey-1.1.2.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for toolkey-1.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b15a2f2c3cf38313bda1ccfb9b60fb57cc9ded74f513c2da355f5a0515d08962 |
|
MD5 | f9fd1f5848f8e563d707499154e0e741 |
|
BLAKE2b-256 | a88b96c88c472fbd24ad95651a50fdc6e0994b14e89ca82f9b4991d687ef90d6 |