You are simply saving the dump to a variable, which does not persist across separate Python processes. If you want to be able to re-load the object, you need some form of persistence, such as writing to a file or saving to a database.
Anthony On Saturday, March 28, 2015 at 9:21:18 AM UTC-4, Ron Chatterjee wrote: > > Wondering how to save and dump variables from web2py to a static python > ide. In other words, > > >>> import cPickle > >>> b = cPickle.dumps(a) > >>> c = cPickle.loads(b) > > That seems to work only inside a web2py session. Once I close the web2py > application and if I want to load up the saved variable using an external > IDE. >>>c=cPickle.loads(b) doesn't work. > > Any thoughts?:-) > > > -- 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.

