Skip to content

Commit

Permalink
Updated file
Browse files Browse the repository at this point in the history
Bug fixes, Improvements in code, simpler code
  • Loading branch information
AidenSorabji committed Jan 24, 2022
1 parent 7e65422 commit d439e39
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Sorabji - Word (Python).py
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,21 @@
# Way to exit
leave = ["exit", "exit()", "Exit", "Exit()"]


# Intro
print("""
Word for
Python
v2.0
v1.0.2
""")

time.sleep(1.3)


# File type Program
print("""Please choose a file type:\n 1 docx\n 2 txt\n 3 doc\n 4 rtf\n 5 wpd\n
""")
file_type = input(">>> ")
file_type = input("""Please choose a file type:\n 1 docx\n 2 txt\n 3 doc\n 4 rtf\n 5 wpd\n
>>> """)

# Opening files in their respective formats
if file_type in file_docx:
Expand All @@ -49,6 +51,7 @@
enter = input("""Press enter to continue...
""")


# typing Part
print("""Start Typing: """)
while True:
Expand Down

0 comments on commit d439e39

Please sign in to comment.