COMMAND LINE ARGUMENTS - PYTHON PROGRAMMING

preview_player
Показать описание
EXECUTING A PYTHON PROGRAM USING COMMAND LINE ARGUMENTS

Inputs can be given to the program as arguments at command prompt.
Need to write any input function in the program.
Arguments are treated as LIST name argv.
Argv can be processed by importing sys module.
Elements of argv can be accessed with the help of index.
At index 0 always there will be filename
From index 1 the arguments will be saved.

In the command prompt execute the program using following command

Subscribe
----------------------------------------------------------------------------------------------------------------
PYTHON PROGRAMMING FOR BEGINNERS (ENGLISH)

PYTHON TUTORIALS FOR BEGINNERS (తెలుగు లో)

PYTHON OOPS - MODULES - EXCEPTION HANDLING (తెలుగు లో)

PYTHON NUMPY TUTORIAL IN TELUGU (తెలుగు లో) || COMPLETE NUMPY TUTORIALS IN TELUGU

PYTHON PANDAS TUTORIAL IN TELUGU (తెలుగు లో) || COMPLETE PANDAS TUTORIALS IN TELUGU || DATA SCIENCE

MATPLOTLIB LIBRARY - PYTHON PROGRAMMING (ENGLISH)

PYTHON DATABASE CONNECTIVITY - MYSQL & MS-EXCEL

DATA STRUCTURES USING PYTHON (ENGLISH)

DevOps

R PROGRAMMING

HTML TUTORIALS WITH IMPLEMENTATION || LEARN HTML IN 4 HOURS

LEARN CSS IN 3 HOURS || CASCADING STYLE SHEETS FOR BEGINNERS

JAVA SCRIPT FOR BEGINNERS IN 7 HOURS || LEARN JAVA SCRIPT IN 7 HOURS || JAVA SCRIPT

XML (eXtensible Markup Language)

OPERATING SYSTEM

ETHICAL HACKING

VI EDITOR BASICS IN LINUX / UNIX || LEARN VI EDITOR COMMANDS || LINUX || UNIX

HOW TO DOWNLOAD & INSTALL MySQL IN WINDOWS 10

DATABASE MANAGEMENT SYSTEM

PYTHON PROGRAMS

C PROGRAMMING

CORE JAVA TUTORIAL FOR BEGINNERS || LEARN CORE JAVA IN 15 HOURS || JAVA TUTORIALS FOR BEGINNERS

----------------------------------------------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

you have explained in a most basic or easiest way. thank you so much. The least I did was to liked, commented and subscribe this channel.

harisbaig
Автор

thanks a lot for this video, helped tremendously with the command prompt :)

misterbub
Автор

Thank you for sharing the explanation. It worked for me in my project

sureshbagi
Автор

Thank you for sharing this concept in an accessible way. Please consider gradual improvements on light and sound quality.

mdciv
Автор

Nice demonstration and lucid presentation

krishnendusinha
Автор

thankyou very much dude. your explanation is really awesome.

akhilravilla
Автор

Thank sir this video helped me. I wish i could have teachers like you in my college.

linuxfans
Автор

thanks sir for this wonderful explanation!!

priyanshupathak
Автор

The above 36 videos were amazing and i have followed everything but this one seems a bit tricky to operate

shriyadhunna
Автор

What can i do if i want the program to execute an action with a variables that i already gave and than to execute an another action with a new variables?
I mean that we insert input and than the program make the action and ask for new variable.

lxhnixe
Автор

Only video i found explaining python code on cmd at length.

chaitanyakolukuluri
Автор

Thank you sir.... & please do upload all other important concepts of python

pranavis
Автор

Sir, How did you make alias py instead of python on command prompt? Thank you!

martinsin
Автор

Thank you very much sir good explanation

jayanthigopinath
Автор

I really appreciate you, I have been looking around, and stopped by ur video, very informative, easy to understand, and very clear handwriting, good explanation. I seriously appreciate ur work! Thank u so much sir, namaste.
Greetings from Netherland <3
Happy diwali for 12 november

beyza.
Автор

Sir in place of sys can we use any other identifier?

pothireddynagalaxamma
Автор

Sir, How can I open multiple text files using command line arguments?

bidya
Автор

I am able to execute file by using 'python' command but not by 'py' command.
can you please tell me the reason why i am getting error on using 'py' command
Error - 'py' is not recognized as an internal or external command,

naveenhagaragi
Автор

Can you do a video on sap mdg if possible.. thank you

Mr-secg
Автор

Sir can you please put a video about format operator:(str() method & more than one format sequence) in python cse dept 1st year

prithviinag
visit shbcf.ru