robustness

Python, writing an integer to a '.txt' file

Python, writing an integer to a '.txt' file Question: Would using the pickle function be the fastest and most robust way to write an integer to a text file? Here is the syntax I have so far: import pickle pickle.dump(obj, file) If there is a more robust alternative, please feel free to tell me. My …

Total answers: 5