Comment Comment by thusoy The easiest version is the most portable and easy to read in this case:os.urandom(20)Saves you from having to manage files at all, and works cross-platform. parent thusoy 12 years ago
os.urandom(20)
Saves you from having to manage files at all, and works cross-platform.