If you use a windows machine (I use a Windows 10) do the following to activate a virtual environment D:\workspace> python -m venv project-one D:\workspace> cd project-one D:\workspace\project-one> Scripts\activate (project-one) D:\workspace\project-one> # you should see your virtual environment folder name in brackets at the start of every line in the command prompt. This indicates that your virtual environment is now active To deactivate (project-one) D:\workspace\project-one> deactivate
Although I initially intended to delve into advanced topics(specifically- for DevOps) with having good grasp in python. But let me tell you what literally I couldn't step back out of video. You're a 💎 @abhishek not just in terms of knowledge but the way you delve into learner's shoe. It takes some efforts. Thanks!
Thanks Abhishek!! ----------------------------- def add(num1, num2): add = num1 + num2 return f"Addition of {num1} and {num2} is: {add}" def sub(num1, num2): sub = num1 - num2 return f"Subtraction of {num1} and {num2} is: {sub}" def mul(num1, num2): mul = num1 * num2 return f"Multiplication of {num1} and {num2} is: {mul}" def div(num1, num2): div = num1 / num2 return f"Division of {num1} and {num2} is: {round(div,2)}"
addition = add(25,25) print(addition) subtraction = sub(10,5) print(subtraction) multiplication = mul(5,2) print(multiplication) division = div(8,3) print(division) Output: Addition of 25 and 25 is: 50 Subtraction of 10 and 5 is: 5 Multiplication of 5 and 2 is: 10 Division of 8 and 3 is: 2.67
I have seen a lot of python related videos, started and left unfinished coz those felt overwhelming and most of the stuff not related to devops. but this one is specifically designed for Devops, feels very relatable. I have been following your channel for a year now and will be forever a fan of your teaching skills!
Thanyou so much brother. I have done python before and I wanted to start from basics again to learn Python for devops. The way you explain everything is amazing. Thank you. Looking forward to your devops with azure course too
Thank you bro , nice explanation my doubts in my mind had been cleared after watching you videos . Dont stop posting the content like this it is very very usual to us. Thank you again 😊
As Usual Excellent explanation from Function to Packages. Facing some problem while using command source project-abc/bin/activate It says no such file or directory. But from ls command it shows both the project. So have to debug that issue, Rest all concept is cleared. Thanks.
If you use a windows machine (I use a Windows 10) do the following to activate a virtual environment D:\workspace> python -m venv project-one D:\workspace> cd project-one D:\workspace\project-one> Scripts\activate (project-one) D:\workspace\project-one> # you should see your virtual environment folder name in brackets at the start of every line in the command prompt. This indicates that your virtual environment is now active To deactivate (project-one) D:\workspace\project-one> deactivate
def addition(num1, num2): add = num1 + num2 return add def sub(num1, num2): sub = num1 - num2 return sub y = sub(10,5) print("Addition of two numbers:" , addition(10,5)) print("Subtraction of two numbers:" + str(y))
Can you please provide the relevant questions or task or any sources also to practice the python codes and programs so that I get to practice more for python-for- devops requirement codes .
hi abhishek sir im getting an error like :source : The term 'source' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 im using visual studio
Abhishek sir you are doing a fantastic work. Go ahead. But i have one question that, as i am not belong to AP, your english communication accent is mix of telugu, so it is dificult to understand your lectures at once.I want you to focus on these small things and come up with a good technical english tutor because whole country is seeing your videos.
hey Abhishek, so if we use containers or our apps runs on containers we do not need virtualenv right? As each container of different app can have different versions of python modules?
Hi Abhishek, I am unable to ssh to virtual env, I am getting error saying that : bash: project-abc/bin/activate: No such file or directory Please suggest me.
Hi Abhi, I need your help urgently. I am a senior QA having 5+ yoe and good at SQL, Java, python, and I am working as a SDET but 4months ago I started learning bigdata related concepts as I wanted to switch my career as a data engg but later due to project requirements I started watching your channel where I have learnt many thing and created interest on devops.. now please help me what to choose..Devops or Data engineering.. I am totally confused and in dilemma.. need your inputs...Waiting for your response. TIA
Thank for the teaching, I got an error while creating the source , i tried with command prompt and gitbash as well. $ source project-abc/env/bin/activate bash: project-abc/env/bin/activate: No such file or directory
Hello Abhishek, @ 38.45, I have received the 3 functions output. But on next line it shows "Traceback (most recent call last): File "C:\aws\Python\advance_calc.py", line 1, in import calculator.py as basic_calc ModuleNotFoundError: No module named 'calculator.py'; 'calculator' is not a package" Why it shows?
Hi can anyone suggest me form where to start options I have is 1)After AWS go with devops or After devops start AWS 2)Only go with devops or only go with AWS...If I choose option 2 then can we get opportunities only with AWS or only with devops ?
If you use a windows machine (I use a Windows 10) do the following to activate a virtual environment
D:\workspace> python -m venv project-one
D:\workspace> cd project-one
D:\workspace\project-one> Scripts\activate
(project-one) D:\workspace\project-one> # you should see your virtual environment folder name in brackets at the start of every line in the command prompt. This indicates that your virtual environment is now active
To deactivate
(project-one) D:\workspace\project-one> deactivate
Thanks for sharing
@@AbhishekVeeramalla My pleasure. Thank you very much for all you do.
I thank God that someone recommended your channel for CICD, then I came and found more than that. you are God's answered prayer to me.
Thanks alot for the kind words
How virtual environment works really understood better way 😊
Glad to hear that 😍
Although I initially intended to delve into advanced topics(specifically- for DevOps) with having good grasp in python. But let me tell you what literally I couldn't step back out of video. You're a 💎 @abhishek not just in terms of knowledge but the way you delve into learner's shoe. It takes some efforts. Thanks!
Thanks Abhishek!!
-----------------------------
def add(num1, num2):
add = num1 + num2
return f"Addition of {num1} and {num2} is: {add}"
def sub(num1, num2):
sub = num1 - num2
return f"Subtraction of {num1} and {num2} is: {sub}"
def mul(num1, num2):
mul = num1 * num2
return f"Multiplication of {num1} and {num2} is: {mul}"
def div(num1, num2):
div = num1 / num2
return f"Division of {num1} and {num2} is: {round(div,2)}"
addition = add(25,25)
print(addition)
subtraction = sub(10,5)
print(subtraction)
multiplication = mul(5,2)
print(multiplication)
division = div(8,3)
print(division)
Output:
Addition of 25 and 25 is: 50
Subtraction of 10 and 5 is: 5
Multiplication of 5 and 2 is: 10
Division of 8 and 3 is: 2.67
You are an amazing teacher! Make the videos as long as you want, please! We are not complaining.
😍😍
I have seen a lot of python related videos, started and left unfinished coz those felt overwhelming and most of the stuff not related to devops.
but this one is specifically designed for Devops, feels very relatable.
I have been following your channel for a year now and will be forever a fan of your teaching skills!
anna u seriously superb u teach me like spoon feeding i am very grateful to you thanq na waiting for day-5 please upload daily anna
Will upload soon
Thank you brother!
def addition(num1, num2):
add = num1 + num2
return add
def subtraction(num1, num2):
sub = num1 - num2
return sub
def multiplication(num1, num2):
multi = num1 * num2
return multi
def division(num1, num2):
div = num1 / num2
return div
print("sum of values is: ", str(addition(5, 10)))
print(subtraction(5, 10))
print(multiplication(5, 10))
print(division(5, 10))
Very informative:)
Superb and easy to understand Explanation
Thanks
Thanyou so much brother. I have done python before and I wanted to start from basics again to learn Python for devops. The way you explain everything is amazing. Thank you. Looking forward to your devops with azure course too
Thank you @abhishek this is nice and clear
can we expect everyday
I will try my best for surr
Thank for dedicating your valuable time and effort...
Now python can learn easily.....
Thank you
It's my pleasure
Thank you bro , nice explanation my doubts in my mind had been cleared after watching you videos .
Dont stop posting the content like this it is very very usual to us.
Thank you again 😊
It's my pleasure
Brilliantly explained, Thank You ❤.
Glad it was helpful!
Hi Abhishek, very good episode on functions, modules and packages
Thankyou Abhishek. God Bless you!!
way of teaching is excellent Abhisek👌
😍😍
Thanks for the video 🎉 my python learning curve going exponentially 😅 thank you abishek
All the best
Thankyou for this valuable content 🙌👏
thanks abhishek for the great videos :)
just osm explanation😍
As Usual Excellent explanation from Function to Packages. Facing some problem while using command source project-abc/bin/activate It says no such file or directory. But from ls command it shows both the project. So have to debug that issue, Rest all concept is cleared. Thanks.
If u r on windows.. try to run from gitbash
If you use a windows machine (I use a Windows 10) do the following to activate a virtual environment
D:\workspace> python -m venv project-one
D:\workspace> cd project-one
D:\workspace\project-one> Scripts\activate
(project-one) D:\workspace\project-one> # you should see your virtual environment folder name in brackets at the start of every line in the command prompt. This indicates that your virtual environment is now active
To deactivate
(project-one) D:\workspace\project-one> deactivate
I am the 3rd person to view and learn from your video comment
Thanks for watching
Awesomeeeeeeeeeeeeeee Session 🙏
sweet !
😍😍
explanation on venv was really better
Most welcome !!
TYSM BHAU
When to use import boto3 and when to use pip install boto3, what is the difference?
Watch day-5
def addition(num1, num2):
add = num1 + num2
return add
def sub(num1, num2):
sub = num1 - num2
return sub
y = sub(10,5)
print("Addition of two numbers:" , addition(10,5))
print("Subtraction of two numbers:" + str(y))
Nice
Anna can you please help me how to create a .py file in VS Code terminal through command !!
❤❤❤
How to ssh same development machine while creating virtual env
Can you please provide the relevant questions or task or any sources also to practice the python codes and programs so that I get to practice more for python-for- devops requirement codes .
thankyou sir
superb
Can we use boto3 for managing azure resources or is there a different package?
hi abhishek sir im getting an error like :source : The term 'source' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:1 char:1
im using visual studio
Abhishek sir you are doing a fantastic work. Go ahead. But i have one question that, as i am not belong to AP, your english communication accent is mix of telugu, so it is dificult to understand your lectures at once.I want you to focus on these small things and come up with a good technical english tutor because whole country is seeing your videos.
hey Abhishek, so if we use containers or our apps runs on containers we do not need virtualenv right? As each container of different app can have different versions of python modules?
First to comment. Thanks sir
Most welcome
Hi Abhishek, you are providing great content for devops, can you please suggest if this python course will be completed in 1 month or 2?
1 month.
@@AbhishekVeeramalla thanks for the reply
Hi Abhishek, I am unable to ssh to virtual env, I am getting error saying that : bash: project-abc/bin/activate: No such file or directory
Please suggest me.
your are a amazing sir, like wise can you do snowflake series sir
Will think about it
How to becomec member of ur chanel aws and pythons
Hi Abhi, I need your help urgently.
I am a senior QA having 5+ yoe and good at SQL, Java, python, and I am working as a SDET but 4months ago I started learning bigdata related concepts as I wanted to switch my career as a data engg but later due to project requirements I started watching your channel where I have learnt many thing and created interest on devops.. now please help me what to choose..Devops or Data engineering.. I am totally confused and in dilemma.. need your inputs...Waiting for your response. TIA
Both are good. It is like comparing an orange with apple. Both are completely different streams and have good future.
@@AbhishekVeeramalla Great! THANKS.
I DEVELOPED interest in Devops only watching your videos. But still not able to choose one among DE and Devops
@@krishnakumarkumar5710 go for devops bro... The chances of survival are high comparatively
Hi Anna
Can we Crack job on our own, if we follow zero-Hero Devops course.
Kindly reply .
If u practice everything in devops and aws zero to hero playlists then yes
Means a lot, tqvm for ur reply Anna.
Thank for the teaching, I got an error while creating the source , i tried with command prompt and gitbash as well.
$ source project-abc/env/bin/activate
bash: project-abc/env/bin/activate: No such file or directory
Then your virtual env is not created. If you are using windows .. please take a look at the pinned comments section.
Hello Abhishek,
@ 38.45, I have received the 3 functions output. But on next line it shows "Traceback (most recent call last):
File "C:\aws\Python\advance_calc.py", line 1, in
import calculator.py as basic_calc
ModuleNotFoundError: No module named 'calculator.py'; 'calculator' is not a package"
Why it shows?
What is the name of your other file ?
Probably name is not calculator.py
@@AbhishekVeeramalla I have mailed you the screen shot. If possible plz let me know.
Virtual environment is not clear could you explain with example or in practical way
I explained with real time example already in the video.
When u need two versions of same package for different teams, you use virtual env
Hi can anyone suggest me form where to start options I have is 1)After AWS go with devops or After devops start AWS 2)Only go with devops or only go with AWS...If I choose option 2 then can we get opportunities only with AWS or only with devops ?
First learn any cloud then go for Devops
Linux+AWS+Devops
or
Linux+Azure+Devops
@@vishnuvardhan-zr1vy thanks mate 👍