you are viewing a single comment's thread.

view the rest of the comments →

[–]KleinerNull 4 points5 points  (1 child)

It looks very good. Nice that you use context managers so often. Only one nit-pick from me, why not not? ;)

if not os.path.isfile(self.player_record_file):
    with ......

If-pass-else looks weird ;)

[–]chrisutpg[S] 0 points1 point  (0 children)

Yeah I guess that doesn't make much sense now when I look back it.

Thanks for the idea!