Skip to main content

This package will make your job easier

Project description

#================#

PROPython

#================#

VERSION: 1.0.0

#================#

This function shows name of package

PackageName()

Works like a print but only displays a message (int, float, string or do funtion and print result)

cmd(MESSAGE)

You can make text in different colors instead of color ID you can write Python colors

cmdColor(MESSAGE, colorID)

Saving the file. FILENAME - file name. STRING - what you want to save to a file (String).

saveF(FILENAME, STRING)

Deletting file. FILEPATH - the path to the file you want to delete. (For example - "C:/MY_WORK/Python/my_file.py")

deleteF(FILEPATH)

Displays an error. ERRORmessage - error.

cmdError(ERRORmessage)

This function creates a file. FILENAME - the name of the file you want to create

createF(FILENAME)

This function deletes all lines of the file. FILENAME - the name of the file

deleteAllFLines(FILENAME)

Creates an array that cannot be used.

createArray(ARRAY)

Makes a string uppercase.

Upper(STRING)

Makes a string lowercase.

Lower(STRING)

Returns the element

Return(returnWhat)

Creates a copy of the file (.txt, .py). FILENAME - file name. NUMBERvalue is the number of file copies. (For example FileDuplicate("MyFile.txt", 2))

FileDuplicate(FILENAME, NUMBERvalue)

Makes to string.

toStr(WHAT)

Makes to int.

toInt(WHAT)

Makes to float.

toFloat(WHAT)

This function makes a time delay.

TimeToSleep(TIME)

Loading animation.

LoadingAnimation()

Text writing animation

WritingAnimation(TEXT)

Rounding a number

Round(NUMBER)

Floor the number

Floor(NUMBER)

Ceil the number

Ceil(NUMBER)

Enumerate writes the index and value that the list has. whatToEnum - list

Enumerate(whatToEnum)

List length.

ListLength(LIST)

This function from string makes to computer encoding.

computerSymbol(STRING)

This function raises 2 numbers to the degree

toDegree(FIRST, SECOND)

This thing works with dict. SortDict does everything in sequence.

SortDict(DICT)

Finds out the sum of all numbers. For sample summ([2, 5, 2])

summ(valuesL)

Finds out the difference of all numbers. For sample subtraction([16, 10, 2])

subtraction(valuesL)

Finds out the product of all numbers. For sample multiple([2, 5, 2])

multiple(valuesL)

Finds out the quotient of all numbers. For sample division([16, 2, 4, 2])

division(valuesL)

Pi number

NumberOfPi()

Euler's Number

EulersNumber()

Exponents

Exponents(NUMBER)

Square root

SquareRoot(NUMBER)

IsPathExist - returns True or False.

IsPathExist(PATH)

Create dirictory

CreateDirictory(PATH)

Delete dicrectory

DeleteDicrectory(PATH)

Delete directory file

DeleteDirectoryFile(PATH)

Get file size

GetFileSize(PATH)

File rename

FileRename(OLDNAME, NEWNAME)

Lists which files are in the directory

FolderFilesList(PATH)

Is in string letter

isInStringLetter(STRING):

Is in string number

isInStringNumber(STRING):

is in string number or letter

isInStringNumberOrLetter(STRING)

Displays a random number. START - start number. END - finile number. STEP - the step with what will be the random

RandomNumber(START, STOP, STEP)

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

PROPython-1.0.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PROPython-1.0.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file PROPython-1.0.0.tar.gz.

File metadata

  • Download URL: PROPython-1.0.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.0

File hashes

Hashes for PROPython-1.0.0.tar.gz
Algorithm Hash digest
SHA256 bc75750e5a5d81e3beb0b736513ef60fe302bec8fe4be70874c5abb4244e42b5
MD5 3cacf42145bc25be7dc5f8e7204a9a6c
BLAKE2b-256 701507ba6ef13969eb05d6f0c5a8dd06670d09c3a09a8702d3ee03dd434ec9fa

See more details on using hashes here.

File details

Details for the file PROPython-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: PROPython-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.0

File hashes

Hashes for PROPython-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b15806494c949adfbbb2d5b4ac9d7aef941c8354f33f12c38f7bc5801f9ffe43
MD5 dd1004fa087fdf856075aaeaa26e29c4
BLAKE2b-256 e5992fca01a9a4564de3a8f00589df58bda2c81c8a69382b5110e21a4b5d6acb

See more details on using hashes here.

Supported by

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