示例#1
0
def _start_here():
    """Start the script here
    """
    if pycone._root():
        if pycone.python_ver():
            pycone._os_system('rm -f ' + pycone.pyne_log)
            # remove the old debug log file, fresh file each run
            _ask_wizard_or_expert()
            pycone._exit(None)
        else:
            print(pyconeQ.python_ver)
            exit(None)
    else:
        print(pyconeQ.root_msg)
        exit(None)
示例#2
0
def _start_here():
    """Start the script here
    """
    if pycone._root():
        if pycone.python_ver():
            os.system('rm /tmp/pyne_log.txt')
            # remove the old debug log file, fresh file each run
            _ask_existing_new_build()
            pycone._exit()
        else:
            print(pyconeQ.python_ver)
            exit()
    else:
        print(pyconeQ.root_msg)
        exit()