Hi, I'm trying to create a file and write to it, but the file is not created. Here's my code:
f=open('test.txt','w') f.write("this is a test") f.close()
This code works well outside openerp, but it's not working when it's integrated into a module, the file is not created. Any help would be appreciated.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 8/21/13, 6:08 AM|
|Seen: 1801 times|
|Last updated: 3/16/15, 8:10 AM|