Пример #1
0
import foslogging
foslogging.info("Success!")
foslogging.warning("Success!")
foslogging.fatal("Success!")
foslogging.undefined("Success!")
Пример #2
0
Файл: test.py Проект: liam4/FOS
import foslogging
foslogging.info ("Success!")
foslogging.warning ("Success!")
foslogging.fatal ("Success!")
foslogging.undefined ("Success!")
Пример #3
0
print "Website: http://whco.ga"
print "GitHub: https://github.com/WHCO/FOS"
print "Importing... This could take a while!"
import ctypes
ctypes.windll.user32.MessageBoxA(
    0, "FOS has many bugs! Please report them at whco.ga", "FOS Notification",
    1)
import foslogging
foslogging.info("imported FOSLogging system")
import os
foslogging.info("imported os")
import time
foslogging.info("imported time")
import os
foslogging.info("imported os")
import importlib
foslogging.info("imported importlib")
import sys
foslogging.info("imported sys")
import foscmd
foslogging.info("-------SESSION READY-----------")
foscmd.init()
#################FINISH BOOTUP###########################
foslogging.info('started bootup')
print "Hello"
print "I am the new terminal window"
print "I now have a logging system!"
foslogging.info('Finished intro')
global cd
cd = "F:/Term/commands/"
os.chdir(cd)
Пример #4
0
Файл: cmd2.py Проект: liam4/FOS
print "Website: http://whco.ga"
print "GitHub: https://github.com/WHCO/FOS"
print "Importing... This could take a while!"
import ctypes
ctypes.windll.user32.MessageBoxA(0, "FOS has many bugs! Please report them at whco.ga", "FOS Notification", 1)
import foslogging
foslogging.info ("imported FOSLogging system")
import os
foslogging.info("imported os")
import time
foslogging.info("imported time")
import os
foslogging.info("imported os")
import importlib
foslogging.info("imported importlib")
import sys
foslogging.info("imported sys")
import foscmd
foslogging.info("-------SESSION READY-----------")
foscmd.init ()
#################FINISH BOOTUP###########################
foslogging.info('started bootup')
print "Hello"
print "I am the new terminal window"
print "I now have a logging system!"
foslogging.info('Finished intro')
global cd
cd = "F:/Term/commands/"
os.chdir (cd)
#SYSTEM#
while True: