⚠
️ 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
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
genai-module-1-assignment
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sagar Badhe
genai-module-1-assignment
Commits
b86d510f
Commit
b86d510f
authored
May 26, 2025
by
Sagar Badhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes in file reading flow
parent
7d5a0ffa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
file_parser_cli.py
file_parser_cli.py
+2
-2
No files found.
file_parser_cli.py
View file @
b86d510f
...
...
@@ -2,7 +2,7 @@ import argparse
def
parse_file
(
file_path
):
try
:
with
open
(
file_path
,
'r'
)
as
f
:
f
=
open
(
file_path
,
'r'
)
content
=
f
.
read
()
lines
=
content
.
splitlines
()
words
=
content
.
split
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment