️ DEPRECATED GITLAB INSTANCE ️ This GitLab is now read-only for reference. Please use https://gitlab.iauro.co for all new work.

Migration completed on September 17, 2025

Commit b86d510f authored by Sagar Badhe's avatar Sagar Badhe

changes in file reading flow

parent 7d5a0ffa
...@@ -2,8 +2,8 @@ import argparse ...@@ -2,8 +2,8 @@ import argparse
def parse_file(file_path): def parse_file(file_path):
try: try:
with open(file_path, 'r') as f: f = open(file_path, 'r')
content = f.read() content = f.read()
lines = content.splitlines() lines = content.splitlines()
words = content.split() words = content.split()
characters = len(content) characters = len(content)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment