py_everything

Source code: py_everything/__init__.py

This module contains some basic functions. This is the base module of the library.

py_everything.helloWorld()

Super Simple and Basic function that prints “Hello, World!”

py_everything.printNoNewline(*args)

Prints text without newlines. Very basic function.

Parameters

*args

The text you want to print without newlines

Note

You cannot customize what is printed instead of the newline.

py_everything.clearPycache(path)

Deletes __pycache__ folder from path.

Parameters

path (str) – Full path to the folder which contains __pycache__

Returns bool

True if __pycache__ is deleted successfully.

Raises

error.pycacheNotFoundError – This exception is raised if path does not contain __pycache__.

py_everything.installModules(*args)

Install modules using pip, while execution.

Parameters

*args

Modules you want to install.

Returns bool

True if all modules were installed successfully.

Raises

error.installModulesFailedError – This exception is raised if all modules could not be installed successfully. Occurs if package doesn’t exist.

py_everything.alphabet()

Get a list of all alphabets in lowercase.

Returns list

List containing all alphabets in lowercase in alphabetical order.

py_everything.alphabetCaps()

Get a list of all alphabets in uppercase.

Returns list

List containing all alphabets in uppercase in alphabetical order.

py_everything.alphabetStr()

Get a string of all alphabets in lowercase.

Returns str

String containing all alphabets in lowercase in alphabetical order.

py_everything.alphabetCapsStr()

Get a string of all alphabets in uppercase.

Returns str

String containing all alphabets in uppercase in alphabetical order.

py_everything.nums()

Get a list of all numbers(0-9).

Returns list

List containing all numbers(0-9) in ascending order.

py_everything.syms()

Get a list of all symbols.

Returns list

List containing all symbols.