Skip to main content

UNKNOWN

Project description

# JPT Jake’s Python Tools

CHANGELOG: 1.1:

  • Added tobinary()

  • Added toascii()

  • Added write()

  • Added speak()

COMMANDS:

DATE:

dt() Show date and time

time() shows the time

date() shows the date

datenoash() shows the date without dashes

dt() same as above except shows the time aswell

dtforwardslash() Shows date and time with forward slashes

dateforwardslash() Shows the date with forward slashes

STRING MODIFICATIONS:

caps(string) Shows string with first letter as capital

title(string) Shows string with first letter of each word as capital

lower(string) Shows string with all letters as lower case

upper(string) Shows string with all letters as upper case

join(string) Joins two strings

nonum(string) Removes all numbers in a string

tobinary(string) Converts string to binary

toascii(string) Converts string of binary to ascii

SAVING AND LOADING:

save(string2save, whatfiletosaveto) Saves string to file

load(whatfiletoload) Loads file

zip(zipfile, filetozip) Zips a file

unzip(ziptounzip) Unzips a zip file

write(nameoffile, whattowrite) Writes text to a file

NUMBERS:

isprime(number) Shows if number is prime or not

OTHER:

username() Shows the username of the current user

pipupgrade() Upgrades all modules installed by pip

upgrade() Upgrades JPT

cmd(command) Runs command as cmd

speak(string) TTS, Speaks string out loud

tobinary(acsiistring) Converts acsii to binary

toacsii(binarystring) Converts binary to ascii

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

jpt-1.1a.zip (21.6 kB view details)

Uploaded Source

File details

Details for the file jpt-1.1a.zip.

File metadata

  • Download URL: jpt-1.1a.zip
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for jpt-1.1a.zip
Algorithm Hash digest
SHA256 9f788ef2d641a21f684536af4d0dc008ea6d99bf3818362c1d891a09a28a33dd
MD5 95e18fa7511eeb3e08c584ae067f3044
BLAKE2b-256 df654cf41787811881a60c3c28290e26e7d20b08d4d8155d47fa657acb007a96

See more details on using hashes here.

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