Is there an appropriate web2py way to write to the filesystem? My ultimate goal is to have a custom export class for SQLFORM.grid which will allow the user to download a CSV of the data, but also store a copy of that CSV file on the file system for use by other applications on the same web server.
Currently, I'm using file = open(directory mangling, 'w') in my custom export class, but I feel like there's probably a better way. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

