ogc16 / filesystem

Python script that checks if a file exists. If it does, prints a message, opens the file in read mode & displays its content. If it doesn't exist, asks if to create file & if answer is affirmative, puts content and opens the file in read mode & prints its content. If user does not want to create file, it simply says goodbye.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repository is not active

About

Python script that checks if a file exists. If it does, prints a message, opens the file in read mode & displays its content. If it doesn't exist, asks if to create file & if answer is affirmative, puts content and opens the file in read mode & prints its content. If user does not want to create file, it simply says goodbye.


Languages

Language:Python 100.0%