#!/usr/bin/env python import os import sys from net.Lliurex.Classroom.MovingProfiles import MovingProfiles def print_usage(): print "Lliurex moving" print "Usage: moving-profiles " print "Available commands:" print "load: Loads user profile" print "save: Saves user profile" def main(): if len(sys.argv)>1: cmd=sys.argv[1] if cmd=="help": print_usage() if cmd=="load": mp=MovingProfiles() mp.LoadSession() if cmd=="save": mp=MovingProfiles() mp.SaveSession() #mp=MovingProfiles() if __name__=="__main__": main()