Now we only need to bring real_time into a filename-friendly format. That's where datetime.strftime() comes in handy.

Create an f_time variable. Then use datetime.strftime() with real_time and the "%Y-%m-%d %H:%M:%S" format pattern and store the result in f_time.