python small task

2014-08-15 Thread ngangsia akumbo
i have this piece of code file1 = open('text.txt, w) try: text = file1.read() finally: file1.close() i wish to manage an office task using this small code , how can i implemetn it to function. how can i pars it in a webpage ? -- https://mail.python.org/mailman/listinfo/python-list

Re: python small task

2014-08-15 Thread Johannes Bauer
On 15.08.2014 11:18, ngangsia akumbo wrote: i have this piece of code file1 = open('text.txt, w) try: text = file1.read() finally: file1.close() i wish to manage an office task using this small code , how can i implemetn it to function. import random import troll import

Re: python small task

2014-08-15 Thread ngangsia akumbo
CAN U BE VERY DETAILED PLEASEE -- https://mail.python.org/mailman/listinfo/python-list