it was simple especially because it was writen in the book page 156 !!!!! • request.folder: the application directory. For example if the application is "welcome", request.folder is set to the absolute path "/path/to/welcome". In your programs, you should always use this variable and the os.path.join function to build paths to the files you need to access.
Cheers On Friday, March 8, 2013 6:35:42 PM UTC+1, [email protected] wrote: > > Hi all, > > A question I think very simple but I don't resolve it : > > Some informations that I want to introduce in my site with Web2py comes in > a cPickle's file. I have all the time the error that I don't resolve in the > framework Web2Py : > > [Errno 2] No such file or directory > > Thus I have 2 questions : > > How can say to Web2Py where find my cPikle's file ? > > The program that extracts the informations of the cPickle's file must be > where in the organisation of Web2Py : controller/index.py for exemple or > somewhere else...? > > Thanks for your patience, > bruno > > > > > > -- --- 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/groups/opt_out.

