M
M
MuzzDead2022-03-31 16:44:50
Python
MuzzDead, 2022-03-31 16:44:50

How to open .txt file in Notepad app using Python?

my_file = open("file.txt", "w+")
my_file.write("Hello world!")
my_file.read()

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alexbprofit, 2022-03-31
@MuzzDead

www.rupython.com/21226-21226.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question