PDA

Click to See Complete Forum and Search --> : Visual wants to ruin the extension..:(


NoteMe
Feb 27th, 2006, 10:31 AM
def read_all_files():

global files_and_lines

for files in constants.FILE_NAMES:
fpath = os.path.join((sys.path[0]),"lexi", files)
try:
lexi_file = open(fpath, "r")
constants.files_and_lines.append(lexi_file.readlines())

except(IOError):
print "Something went wrong trying to read the file:"
print "'%s'" % fpath

lexi_file.close()

NoteMe
Feb 27th, 2006, 10:57 AM
def read_all_files():

global files_and_lines

for files in constants.FILE_NAMES:
fpath = os.path.join((sys.path[0]),"lexi", files)
try:
lexi_file = open(fpath, "r")
constants.files_and_lines.append(lexi_file.readlines())

except(IOError):
print "Something went wrong trying to read the file:"
print "'%s'" % fpath

lexi_file.close()

NoteMe
Feb 27th, 2006, 11:00 AM
Hello this is a h****r test. I am the b3*****d best in the b*****d world...****...

- ии -

iPrank
Feb 27th, 2006, 02:26 PM
Hello this is a h****r test. I am the b3*****d best in the b*****d world...****...

- ии -
**** *** ******* *******.