Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added 1.txt
Empty file.
Binary file added Book_Bot/__pycache__/book.cpython-311.pyc
Binary file not shown.
Binary file added Book_Bot/__pycache__/main.cpython-311.pyc
Binary file not shown.
Binary file added __pycache__/insta_bot.cpython-311.pyc
Binary file not shown.
Binary file added __pycache__/translator.cpython-311.pyc
Binary file not shown.
13 changes: 11 additions & 2 deletions spelling_corrector.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
from textblob import TextBlob

file1 = open("1.txt", "r+")
a = file.read()
file1 = open("1.txt", "w+")


# Write some text to the file
#file1.write("original text")

# Reset the file pointer to the beginning of the file
#file1.seek(0)


a = file1.read()
print("original text : " + str(a))
b = TextBlob(a)

Expand Down