Hi all, hope you can help me. The problem is the following.
I create an object in python, consisting of some lists. I save this object to a file using pickle.dump and load it using pickle.load. Everything works fine and i can still use it as the object i created (access the lists etc.)
But it does not work, when i do the following
After i load it i just get a string and not the object which means, i cannot access the lists for example.
Any idea what to do? I don't understand why it should make a difference
I create an object in python, consisting of some lists. I save this object to a file using pickle.dump and load it using pickle.load. Everything works fine and i can still use it as the object i created (access the lists etc.)
But it does not work, when i do the following
- create object
- pickle.dump locally
- upload the dumped file into an OpenStack Cloud
- download it again to local
- pickle.load the downloaded file
After i load it i just get a string and not the object which means, i cannot access the lists for example.
Any idea what to do? I don't understand why it should make a difference