Forum Archive

My graphics module

reefboy1

First of all this module is just starting out and will be better in the future. You MUST name this module gec . After you have copied the code in, and named it gec , you can do import gec In any script. My code:

import gec ; reload(gec)
import console
gac = raw_input(' ')
def graphics():
    gbox='''    |-------------------|
    |                   |
    |                   |
    |                   |
    |                   |
    |___________________|
    '''
    if gac == 'graphics.gbox()':
        console.clear()
        print(gbox)
    else:
        print('The Text You Entered Is Not Compatible With This Module')
graphics()
reefboy1

My current library of commands is
graphics.gbox()
wich will print a box

ccc

If you want to publish your graphics library to the world and you want others to help you to improve it, you could create an account on GitHub and then create a GitHub repo. You might want to come up with a name that is more unique than graphics.

reefboy1

Alrighty