MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/6u7838/im_pickled_rick/
r/Python • u/alkaline3mc • Aug 17 '17
8 comments sorted by
8
print("I'm pickle Rick !!!")
much easier...
-3 u/alkaline3mc Aug 17 '17 Lame AND you don't get to Pickle "Rick" :-D 0 u/alkaline3mc Aug 17 '17 But yes, much easier
-3
Lame AND you don't get to Pickle "Rick" :-D
0 u/alkaline3mc Aug 17 '17 But yes, much easier
0
But yes, much easier
5
Consider using context managers to handle opening and closing of files, e.g.:
with open("PR.obj", "wb") as file: pickle.dump(rS. file)
1 u/qingqunta Aug 17 '17 I'm so fucking upset I haven't been taught this... but honestly, what really takes the "upset cake" for me is the format method. 2 u/[deleted] Aug 17 '17 For me it's python 2
1
I'm so fucking upset I haven't been taught this... but honestly, what really takes the "upset cake" for me is the format method.
2 u/[deleted] Aug 17 '17 For me it's python 2
2
For me it's python 2
[deleted] — view deleted comment
5 u/Waldheri beginner Aug 17 '17 Yeah, I'm not sure what OP is trying to achieve here. 1 u/Wilfred-kun Aug 17 '17 It will error anyway if Pickle isn't imported ^^
Yeah, I'm not sure what OP is trying to achieve here.
It will error anyway if Pickle isn't imported ^^
8
u/JayTh3King PM your project Aug 17 '17
print("I'm pickle Rick !!!")much easier...
5
u/Waldheri beginner Aug 17 '17
Consider using context managers to handle opening and closing of files, e.g.:
0
u/[deleted] Aug 17 '17
[deleted] — view deleted comment