Day-4 | Functions, Modules and Packages | Most Simple Explanation

Поделиться
HTML-код

Комментарии • 88

  • @ekeoma4639
    @ekeoma4639 9 месяцев назад +6

    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

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  9 месяцев назад +1

      Thanks for sharing

    • @ekeoma4639
      @ekeoma4639 9 месяцев назад +2

      @@AbhishekVeeramalla My pleasure. Thank you very much for all you do.

  • @isaacambi1914
    @isaacambi1914 6 месяцев назад +3

    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.

  • @chandangowda6935
    @chandangowda6935 9 месяцев назад +3

    How virtual environment works really understood better way 😊

  • @Hozaifa_Uzair
    @Hozaifa_Uzair 9 месяцев назад +3

    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!

  • @nihalahmed6302
    @nihalahmed6302 9 месяцев назад +1

    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

  • @vback4238
    @vback4238 9 месяцев назад +2

    You are an amazing teacher! Make the videos as long as you want, please! We are not complaining.

  • @snehadhotre3409
    @snehadhotre3409 2 месяца назад

    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!

  • @anandnandhu1357
    @anandnandhu1357 9 месяцев назад +3

    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

  • @rcjerry
    @rcjerry 9 месяцев назад +1

    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))

  • @user-qo9nx5vz9t
    @user-qo9nx5vz9t Месяц назад

    Very informative:)

  • @SunitaSonawane2007
    @SunitaSonawane2007 9 месяцев назад +1

    Superb and easy to understand Explanation

  • @FahadMalikNorway
    @FahadMalikNorway 7 месяцев назад

    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

  • @user-rs8gj3wh2s
    @user-rs8gj3wh2s 9 месяцев назад +1

    Thank you @abhishek this is nice and clear
    can we expect everyday

  • @nareshv2630
    @nareshv2630 9 месяцев назад +1

    Thank for dedicating your valuable time and effort...
    Now python can learn easily.....
    Thank you

  • @premchand-og5ys
    @premchand-og5ys 9 месяцев назад +1

    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 😊

  • @rajeshmoravaneni
    @rajeshmoravaneni 9 месяцев назад +1

    Brilliantly explained, Thank You ❤.

  • @reddisekharpamula747
    @reddisekharpamula747 7 месяцев назад

    Hi Abhishek, very good episode on functions, modules and packages

  • @faisalraj6654
    @faisalraj6654 9 месяцев назад

    Thankyou Abhishek. God Bless you!!

  • @sattibaburayudu6510
    @sattibaburayudu6510 9 месяцев назад +1

    way of teaching is excellent Abhisek👌

  • @karnanspark9012
    @karnanspark9012 9 месяцев назад +1

    Thanks for the video 🎉 my python learning curve going exponentially 😅 thank you abishek

  • @akashaggarwal3909
    @akashaggarwal3909 9 месяцев назад

    Thankyou for this valuable content 🙌👏

  • @dummymail6029
    @dummymail6029 4 месяца назад

    thanks abhishek for the great videos :)

  • @saimadhabvaranasi9855
    @saimadhabvaranasi9855 4 месяца назад

    just osm explanation😍

  • @ashwinichivate3905
    @ashwinichivate3905 9 месяцев назад +1

    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.

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  9 месяцев назад

      If u r on windows.. try to run from gitbash

    • @ekeoma4639
      @ekeoma4639 9 месяцев назад

      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

  • @praveenkumar-star
    @praveenkumar-star 9 месяцев назад +1

    I am the 3rd person to view and learn from your video comment

  • @kumudchandra7635
    @kumudchandra7635 8 месяцев назад

    Awesomeeeeeeeeeeeeeee Session 🙏

  • @charankumar8062
    @charankumar8062 8 месяцев назад +1

    sweet !

  • @prakashm701
    @prakashm701 5 месяцев назад +1

    explanation on venv was really better

  • @navpute_akshay
    @navpute_akshay 9 месяцев назад

    TYSM BHAU

  • @anilkumarloka48
    @anilkumarloka48 9 месяцев назад +1

    When to use import boto3 and when to use pip install boto3, what is the difference?

  • @MPC5329
    @MPC5329 9 месяцев назад +2

    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))

  • @saimadhabvaranasi9855
    @saimadhabvaranasi9855 4 месяца назад

    Anna can you please help me how to create a .py file in VS Code terminal through command !!

  • @BharathKumarReddy2103
    @BharathKumarReddy2103 9 месяцев назад +1

    ❤❤❤

  • @ninadthakur6780
    @ninadthakur6780 3 месяца назад

    How to ssh same development machine while creating virtual env

  • @divyasharma5421
    @divyasharma5421 7 месяцев назад

    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 .

  • @ramesh_kumar_verma
    @ramesh_kumar_verma 9 месяцев назад

    thankyou sir

  • @rajendrabhadane1237
    @rajendrabhadane1237 9 месяцев назад

    superb

  • @user-eb7bp3gz4e
    @user-eb7bp3gz4e 4 месяца назад

    Can we use boto3 for managing azure resources or is there a different package?

  • @nehazareen1749
    @nehazareen1749 6 месяцев назад

    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

  • @aamirbagban3314
    @aamirbagban3314 21 день назад

    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.

  • @susmitroy9178
    @susmitroy9178 9 месяцев назад

    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?

  • @kodjoviamedimele3066
    @kodjoviamedimele3066 9 месяцев назад +1

    First to comment. Thanks sir

  • @user-bw8po9gu3y
    @user-bw8po9gu3y 9 месяцев назад +1

    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?

  • @virupakshappabandi
    @virupakshappabandi 8 месяцев назад

    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.

  • @Satishkumar-gv5ss
    @Satishkumar-gv5ss 9 месяцев назад +1

    your are a amazing sir, like wise can you do snowflake series sir

  • @kartik6561
    @kartik6561 9 месяцев назад

    How to becomec member of ur chanel aws and pythons

  • @krishnakumarkumar5710
    @krishnakumarkumar5710 9 месяцев назад +1

    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

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  9 месяцев назад

      Both are good. It is like comparing an orange with apple. Both are completely different streams and have good future.

    • @krishnakumarkumar5710
      @krishnakumarkumar5710 9 месяцев назад +1

      @@AbhishekVeeramalla Great! THANKS.
      I DEVELOPED interest in Devops only watching your videos. But still not able to choose one among DE and Devops

    • @Healthnwellness373
      @Healthnwellness373 9 месяцев назад +2

      ​@@krishnakumarkumar5710 go for devops bro... The chances of survival are high comparatively

  • @HariPrasad-sf6gw
    @HariPrasad-sf6gw 9 месяцев назад +1

    Hi Anna
    Can we Crack job on our own, if we follow zero-Hero Devops course.
    Kindly reply .

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  9 месяцев назад

      If u practice everything in devops and aws zero to hero playlists then yes

    • @HariPrasad-sf6gw
      @HariPrasad-sf6gw 9 месяцев назад

      Means a lot, tqvm for ur reply Anna.

  • @ramakrishnakolukula1357
    @ramakrishnakolukula1357 9 месяцев назад

    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

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  9 месяцев назад

      Then your virtual env is not created. If you are using windows .. please take a look at the pinned comments section.

  • @ashwinichivate3905
    @ashwinichivate3905 9 месяцев назад

    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?

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  9 месяцев назад

      What is the name of your other file ?
      Probably name is not calculator.py

    • @ashwinichivate3905
      @ashwinichivate3905 9 месяцев назад

      @@AbhishekVeeramalla I have mailed you the screen shot. If possible plz let me know.

  • @umashanker3244
    @umashanker3244 9 месяцев назад +1

    Virtual environment is not clear could you explain with example or in practical way

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  9 месяцев назад +1

      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

  • @chandunag.j
    @chandunag.j 9 месяцев назад

    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 ?

    • @vishnuvardhan-zr1vy
      @vishnuvardhan-zr1vy 9 месяцев назад +1

      First learn any cloud then go for Devops
      Linux+AWS+Devops
      or
      Linux+Azure+Devops

    • @chandunag.j
      @chandunag.j 9 месяцев назад +1

      @@vishnuvardhan-zr1vy thanks mate 👍