It is important that your story is formatted properly and to use many paragraph breaks!
A person's speech is usually put into its own paragraph. No paragraph should contain more than 5-10 lines of text!
A wall of texts without paragraphs will be denied!
To add a paragraph break, you have to add an empty line between them.
Additional formatting
Add a horizontal line to separate sections.
Embed an image at the current cursor position.
Add a link to another webpage at the current cursor position.
Use the other buttons on the editor toolbar to use bold, italic, underline and other text styles. The preview on the right side shows the effect of your formatting right away.
This Markdown cheat sheet gives an overview of the most common advanced syntax elements (some of the features, like 'tables' or 'code blocks', are disabled intentionally).
import string
from datetime import datetime
def file_timestamps(stringtimes_file):
times_file = open(stringtimes_file,"r")
times = []
for item in times_file:
times.append(datetime.strptime(item.rstrip(), "%B %d, %Y %H:%M"))
times_file.close()
return times
def time_differences(timelist):
timediffs = []
for ind in range(1, len(timelist)):
timediffs.append(timelist[ind] - timelist[ind-1])
return sorted(timediffs)
def projected_times(projection_datetime, timediffs):
projected_list = []
for diff in timediffs:
projected_list.append(projection_datetime + diff)
return projected_list
if __name__ == "__main__":
if not(len(sys.argv) == 2):
print("This program requires a historic datetime sequence file")
else:
historic_file = sys.argv[1]
times = file_timestamps(historic_file)
timediffs = time_differences(times)
projected_times = projected_times(times[len(times)-1], timediffs)
for t in projected_times:
print(t.strftime("%B %d, %Y %H:%M"))