QPage Code Documentation

qpage.py   setup.py  
 
setup.py Functions
       
error_handler()
Close files and check errors and start again main
:return:None
    call:
    -close_files
    -error_finder
    -Show_items
    -enter_to_exit
    -main_handler
file_handler()
Write files
:return:None
    call:
    -html_init
    -contain
    -css_creator
    -icon_creator
    -robot_maker
    -close_files
main_handler(control_flag=True)
Main Handler
:param control_flag: Check if VERSION control passed in prev step then Check for new VERSION of qpage
:type control_flag:bool
:return:None
    call:
    -generation_time
    -create_folder
    -print_logo
    -address_print
    -version_control
    -sample_handler
    -response_handler
    -page_name_update
    -main_handler_2
    -error_log
    -logger
    -close_files
    -enter_to_exit
main_handler_2(time_1=0)
Second part of main handler
:param time_1: time that passed but not counted in generation time
:type time_1:float
:return:None
call:
    -file_handler
    -address_print
    -print_warning
    -file_size
    -internet
    -server
    -preview
    -close_files
response_handler(response)
Calculate the generation time
:param response: response flag , if there was a response run main handler again
:type response:bool
:return:None
call:
    -wait_func
    -main_handler
sample_handler()
Ask for run sample website
:return:None
    call:
    -sample_site_download
    -is_sample_downloaded