Zappy - Year end project 2
This is a project that Epitech asked us to create in order to allow us to reveiw the notions of the current year.
Loading...
Searching...
No Matches
Functions
custom_functions Namespace Reference

Functions

None perror (GlobalVariables global_variables, str string="This is an error")
 
None pwarning (GlobalVariables global_variables, str string="This is a warning")
 
None psuccess (GlobalVariables global_variables, str string="This is a success")
 
None pinfo (GlobalVariables global_variables, str string="This is a success")
 
None pdebug (GlobalVariables global_variables, str string="This is a debug string")
 

Function Documentation

◆ pdebug()

None custom_functions.pdebug ( GlobalVariables global_variables,
str string = "This is a debug string" )
_summary_
This is a function in charge of displaying a string only if the debug variable is set to true (in global variables)

Definition at line 128 of file custom_functions.py.

◆ perror()

None custom_functions.perror ( GlobalVariables global_variables,
str string = "This is an error" )
_summary_
This is the function in charge of displaying an error on the error channel

Args:
    global_variables (GlobalVariables): _description_. This is a class in charge of storing parameters that are global to the program.
    string (str, optional): _description_. Defaults to "This is an error".

Definition at line 11 of file custom_functions.py.

◆ pinfo()

None custom_functions.pinfo ( GlobalVariables global_variables,
str string = "This is a success" )
_summary_
This is the function in charge of displaying an info on the standard channel

Args:
    global_variables (GlobalVariables): _description_. This is a class in charge of storing parameters that are global to the program.
    string (str, optional): _description_. Defaults to "This is a warning".

Definition at line 99 of file custom_functions.py.

◆ psuccess()

None custom_functions.psuccess ( GlobalVariables global_variables,
str string = "This is a success" )
_summary_
This is the function in charge of displaying a success on the standard channel

Args:
    global_variables (GlobalVariables): _description_. This is a class in charge of storing parameters that are global to the program.
    string (str, optional): _description_. Defaults to "This is a warning".

Definition at line 70 of file custom_functions.py.

◆ pwarning()

None custom_functions.pwarning ( GlobalVariables global_variables,
str string = "This is a warning" )
_summary_
This is the function in charge of displaying a warning on the standard channel

Args:
    global_variables (GlobalVariables): _description_. This is a class in charge of storing parameters that are global to the program.
    string (str, optional): _description_. Defaults to "This is a warning".

Definition at line 41 of file custom_functions.py.