import random, os
class PyEasy:
def randomNum():
return(random.randint(1,32768))
def clear():
if os.name == 'nt': os.system('cls')
else: os.system('clear')
class Bat2Py:
def copy(old, new):
if os.name == 'nt':
os.system('xcopy ' + old + ' ' + new)
else: return('Your system cant support Bat2Py Module')
def delete(filename):
if os.name == 'nt':
os.system('del /f /q ' + filename)
else: return('Your system cant support Bat2Py Module')
PyEasy.Bat2Py.copy('hello_world.pgb', 'hello_world.pgb2')
PyEasy.Bat2Py.delete('hello_world.pgb')