Pickle object into path location
(self, obj, bin=1)
| 874 | return error.checked_call(os.rename, self.strpath, target) |
| 875 | |
| 876 | def dump(self, obj, bin=1): |
| 877 | class="st">""class="st">"Pickle object into path location"class="st">"" |
| 878 | f = self.open(class="st">"wb") |
| 879 | import pickle |
| 880 | |
| 881 | try: |
| 882 | error.checked_call(pickle.dump, obj, f, bin) |
| 883 | finally: |
| 884 | f.close() |
| 885 | |
| 886 | def mkdir(self, *args): |
| 887 | class="st">""class="st">"Create & return the directory joined with args."class="st">"" |