Answers for "What function do we use to open a file? python"

2

how to open a file in python

open("filename" , "mode")
# do whatever you want to do!!
Posted by: Guest on August-24-2020
0

statement used to open a file in python

file_object  = open("filename", "mode")
Posted by: Guest on June-08-2020

Code answers related to "What function do we use to open a file? python"

Python Answers by Framework

Browse Popular Code Answers by Language