Re: This code not working, need suggetions
get_file = raw_input("Which file would you like to browse ?") > if get_file == '': > On = False > #break > else: > cat(os.path.join(working_dir,get_file)) > > > if __name__ == "__main__": > m
This code not working, need suggetions
) def cat(get_file): f = open(get_file, "rU") text = f.read() print text, get_file = raw_input("Which file would you like to browse ?") -- Anirudh Srinivasan | MTS QA | Nutanix.Inc | 408-569-0323 -- http://mail.python.org/mailman/listinfo/python-list