コード例 #1
0
ファイル: test.py プロジェクト: towerofnix/FOS
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: