0% found this document useful (0 votes)
9 views1 page

Command-Line Arguments Prlogram List

Uploaded by

laila godson
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views1 page

Command-Line Arguments Prlogram List

Uploaded by

laila godson
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Reference: https://www.geeksforgeeks.

org/command-line-arguments-in-
python/
1. Python script for adding two numbers and the numbers are passed as
command-line arguments.
2. File Processing: Open a file whose name is passed as an argument.
3. Math Operations: Perform basic math operations passed as arguments.
(Add, Sub,Mul,Div)
4. Word Count Program: Count the number of words in a file.
5. Check Palindrome: Check if a given string is a palindrome.

You might also like