hello,

Q1:
I want to store uploaded files manually, but I'm asking myself if this is the correct way to create the filepath, or is there a better way ?

Filename = os.path.join ( 'applications', request.application,'static\images\pic_%s.png' % Edit_Select), 'wb')


Q2:
I made some libraries that I want to use more than one project.
Now I stored these in
   ..controllers/my_support_libs.py

but when I try to import this lib into a controller, I get an error message "can't import my_support_libs"

cheers,
Stef

--
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to