Python Programming - Reading and Writing Files - Discussion

Discussion Forum : Reading and Writing Files - General Questions (Q.No. 103)
103.
How can you create a new directory named "data_folder" in the current working directory?
os.mkdir("data_folder")
create_directory("data_folder")
shutil.new_dir("data_folder")
os.create_folder("data_folder")
Answer: Option
Explanation:
Using os.mkdir() to create a new directory.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.