Це відео не доступне.
Перепрошуємо.

How to Install Python on Mac OS and How to Run Python code

Поділитися
Вставка
  • Опубліковано 9 січ 2021
  • How to install Python on Mac OS and How to write and execute or run your first Python program on Mac OS will be covered in this video.
    We start by installing Python 3 and then go through 3 ways to write and execute Python program on Mac.
    3 ways to write and execute Python program covered in this video are:
    1. Using IDLE, which is an IDE that comes along with Python installation.
    2. Using any text editor (in my case I use Atom) to write python program and then execute the program using Terminal window.
    3. By using Visual Studio Code (or simple VS Code), which is considered as one of the best IDE for Python.
    Installing Python 3 on Mac can be confusing due to the existence of Python 2 which is preinstalled on all Mac OS. However, Python 2 and Python 3 can co-exist on the same machine hence we do not need to uninstall Python 2 before installing Python 3.
    To Install Python 3, there are no prerequisites, and the installation is pretty straight forward.
    To run your Python code may be confusing for beginners hence in this video we cover 3 different ways or 3 different editors which can be used to get started with writing and running python code.
    When executing python code through IDLE, it’s essential to execute the RUN command from the text editor and then view the output in IDLE interpreter.
    Whereas text editor does not have the functionality to run program by itself hence we use Terminal window to run the program.
    Visual Studio Code (or simple VS Code) along with PyCharm, Jupiter Notebook and few others are considered as one of the best IDE for Python hence in this video we show how VS Code can be used to write and Run Python program.
    The video is aimed at helping beginners to get started with installation of Python programming language on Mac and by showing multiple ways to start writing and executing Python code.
    Reference Links:
    Python Download:
    www.python.org...
    Visual Studio Code Download:
    code.visualstu...
    Atom Download:
    atom.io/
    Please like, subscribe and click on the notification bell to be notified of my latest video’s.
    🔴 WATCH MORE VIDEOS HERE 👇
    ✅ SQL Tutorial - Basic concepts:
    • SQL Tutorial - Basic c...
    ✅ SQL Tutorial - Intermediate concepts:
    • SQL Tutorial - Interme...
    ✅ SQL Tutorial - Advance concepts:
    • SQL Tutorial - Advance...
    ✅ Practice Solving Basic SQL Queries:
    • Practice Solving BASIC...
    ✅ Practice Solving Intermediate SQL Queries:
    • Practice Solving INTER...
    ✅ Practice Solving Complex SQL Queries:
    • Practice Solving COMPL...
    ✅ Data Analytics Career guidance:
    • Data Analytics career ...
    ✅ SQL Course, SQL Training Platform Recommendations:
    • SQL Course / Training
    ✅ Python Tutorial:
    • Python Tutorial
    ✅ Git and GitHub Tutorial:
    • Git and GitHub
    ✅ Data Analytics Projects:
    • Data Analytics Projects
    THANK YOU,
    Thoufiq

КОМЕНТАРІ • 386

  • @keatonmorehead2437
    @keatonmorehead2437 3 роки тому +198

    I was genuinely so confused on just where I could practice coding this helped so much thank you

    • @techTFQ
      @techTFQ  3 роки тому +4

      Thank you so much.. glad it helped 🙂

    • @keatonmorehead2437
      @keatonmorehead2437 3 роки тому +2

      @@techTFQ are all of these programs where I can write code and execute free?

    • @techTFQ
      @techTFQ  3 роки тому +4

      @@keatonmorehead2437 yes all of these are free source..

    • @keatonmorehead2437
      @keatonmorehead2437 3 роки тому +1

      @@techTFQ thank you!

    • @techTFQ
      @techTFQ  3 роки тому +1

      Your welcome.. happy learning..

  • @MrShaikhkabir
    @MrShaikhkabir 7 місяців тому +84

    Hit like if you plan to learn Python in 2024

    • @asthasinghi5929
      @asthasinghi5929 Місяць тому

      Okay and what I'm going to get if I hit ur like ??? Senseless

  • @praveendissanayake2509
    @praveendissanayake2509 2 роки тому +80

    You're literally a lifesaver, dude. Since most python tutorials on the Internet are geared towards Windows users, i was getting confused while trying to start learning python. Love how your video is easy to understand and always to the point. Keep up the good work!! 👍

    • @techTFQ
      @techTFQ  2 роки тому

      Thank you Praveen.. glad to read your feedback ❤️

  • @chiaraongkiko1383
    @chiaraongkiko1383 3 роки тому +44

    Thank you! You have no idea how genuinely confused I was on where to start with Python. Your presentation was truly helpful!

    • @techTFQ
      @techTFQ  3 роки тому +1

      Thank you so much for the positive feedback 🙏🏼
      Glad it helped..

  • @ingridguri5239
    @ingridguri5239 8 місяців тому +1

    For more than two days I was trying to find how to practice python on idle and this was the only video that helped me. Thanks a lot

    • @techTFQ
      @techTFQ  8 місяців тому

      Glad it helped:)

  • @user-ul7tr1xx6u
    @user-ul7tr1xx6u 7 місяців тому +1

    This has been the most impactful & immediately accessible resource I've seen on Python. I was able to follow along & feel like I was really accomplishing something. Amazing. Thank you!

  • @sunkara8158
    @sunkara8158 7 місяців тому

    Oh I was confused out of my mind because the tutorial I found first was telling ‘same like Windows do in McOS’ and it is not the same! This helped very much! Thank you

  • @alyssareaves5162
    @alyssareaves5162 Рік тому +2

    This was the best tutorial so far for installing and running Python. Thank you so much!

  • @shabbir.akhtar
    @shabbir.akhtar 11 місяців тому

    Even though this was 2 years ago, I just wanted to say thank you so much for making this video. I am taking a CS class in college, but I don't know the first thing about it. You are a lifesaver.

  • @Xyro_7852
    @Xyro_7852 Рік тому +3

    I didn't understand VS code and how to use python on it.
    This video helped me a lot.
    Very easy explanation and understandable, Thanks!👌

  • @WayneDowning3382
    @WayneDowning3382 11 місяців тому +1

    You made getting python up and running for simple commands being used in tutorials easy, thank you !!!

  • @luisv8887
    @luisv8887 9 місяців тому

    Thank you, not only did you show us how to download it but you showed us a bunch of methods on how to run it, that's awesome.

    • @techTFQ
      @techTFQ  8 місяців тому +1

      Glad I could help

  • @very_idiotic
    @very_idiotic Рік тому +1

    Thank you soo much for this.. i've checked many other vides, but they just weren't helping me set up my damn Python!!
    so i'm glad that i came across your video. and 1 like from me :D

  • @BarryPennock
    @BarryPennock 7 місяців тому

    This was very helpful. I would have taken hours to write my first bit of code if it wasn't for this. I added a comma so the output would be "Good morning, Barry".

  • @mohammedshahil4898
    @mohammedshahil4898 3 роки тому +13

    Very nicely explained setup process👌🏻 Glad that you choose to make a video on python since it’s one of the best programming language right now.
    Just love your content🔥👌🏻
    Would like to see more in-depth videos on SQL & Python😊Cheers✌🏻

    • @techTFQ
      @techTFQ  3 роки тому

      Thank you Shahil 🙂

  • @PoloML
    @PoloML 3 роки тому +3

    thank you for the vid I'm a total noob in coding but I will learning it in college so I wanted a head start!

    • @techTFQ
      @techTFQ  3 роки тому +1

      Your welcome 🙏🏼
      Glad it helped..

  • @brooklynboyzfixedgearpov9867
    @brooklynboyzfixedgearpov9867 2 роки тому +2

    Whoa! Just learning that command really blows my mind & is so cool. I’m ready for the more commands to come !

  • @iEvangelos
    @iEvangelos 8 місяців тому +1

    Good tutorial, quick and to the point. I learned something new today.
    Thanks for taking the time to make the video!

    • @techTFQ
      @techTFQ  8 місяців тому

      Welcome. Glad it helped:)

  • @user-so8jy3hc3v
    @user-so8jy3hc3v Рік тому

    Thank you so much! Before finding this video I watched 20 other ones trying to figure this out. You are a life saver!!!

  • @markusgrune6841
    @markusgrune6841 2 роки тому +5

    Plain and simple, well explained! Thank You!

    • @techTFQ
      @techTFQ  2 роки тому

      Thank you 🙏🏼

  • @nataliar4869
    @nataliar4869 Рік тому

    ur the first one to actually explain it so well dude appreciate ur content

  • @catwithablog9916
    @catwithablog9916 Рік тому

    Thank you very much. I spent the entire night setting up code on my Mac and this video finally got it down for me!🎉🎉

  • @epicgmaer26
    @epicgmaer26 3 роки тому +1

    btw to those who don't understand how to use the f keys, simply press the key on the bottom left of your keyboard that says 'fn', then press the f key you want to use
    so for the 'Run' shortcut I would press
    fn + f5

  • @drcovell
    @drcovell 3 місяці тому

    FINALLY something for an absolute beginner! 👍👍

  • @marykatex5952
    @marykatex5952 Рік тому +1

    your are so Pro teaching 👏🏼

  • @user-lz7wv6hl6m
    @user-lz7wv6hl6m Рік тому

    This was fantastic! I was so confused with the options until I came acorss this video! You made it so easy to understand!

  • @JustinBrownGuitar
    @JustinBrownGuitar Рік тому

    thanks for the intro to python , from this i managed to think of what i wanted to write in a program and work out how to code it out! :D cheers!

  • @KaleemKhan-uf4fb
    @KaleemKhan-uf4fb 3 роки тому +3

    This is the only video where I found what I wanted, thank you!

    • @techTFQ
      @techTFQ  3 роки тому

      Thank you so much 🙏🏼
      So glad it helped..

  • @woolfy02
    @woolfy02 2 роки тому +7

    VS code is trying to download the 'Mac development tools' on my MBP 2013. I dont have the fastest internet so, it was saying something like 94 hours to download it. Do you know if that is a necessary file for VS code to work on python?

    • @techTFQ
      @techTFQ  2 роки тому +1

      I don’t think it’s required..
      U just need basic vs code and then install the python extension as I showed in the video

  • @sarthaktrivedi8180
    @sarthaktrivedi8180 2 роки тому +2

    Hey. Thanks for helping me getting started on this. I wanted to do 'machine learning' but postponing it for a while. Finally started it. Glad I found your channel. 😄

    • @techTFQ
      @techTFQ  2 роки тому +1

      Thank you Sarthak 🙏🏼
      So glad this video helped 🙂

  • @commercial3750
    @commercial3750 2 роки тому +3

    Very straightforward and clear! Thank you for the help.

    • @techTFQ
      @techTFQ  2 роки тому

      Glad it helped

  • @_andry
    @_andry Рік тому

    Thanks! It was really helpful, now I know how to start learning Python, before your video I didn't even know how to start doing anything with python

  • @mattipekkarinen4506
    @mattipekkarinen4506 2 роки тому +2

    Awesome! My son finally got started with Python 🔥

    • @techTFQ
      @techTFQ  2 роки тому

      So glad to hear that ☺️👍

  • @tamingblox369
    @tamingblox369 Рік тому

    your the best tech youtuber

  • @mayankmishra5549
    @mayankmishra5549 3 роки тому +7

    Hey thoufiq bhaiyaa I really like your videos and I was recently thinking to start learning phython...
    I was hoping you could make a tutorial series on python n Django with couple of real world projects and sample projects.
    Your videos are amazing as always also one more thing which i feel that will look more better and engaging is that whenever you take us to your laptop screen then you can include your front camera on bottom right corner of the screen....I don't know it's just a suggestion and I like that way actually. Also one more suggestions for your upcoming videos.... please share your code somewhere so that if we get stuck anywhere then we can refer it.
    Thanku and stay safe 😊

    • @techTFQ
      @techTFQ  3 роки тому +4

      Thanks a lot Mayank for liking the video and for your valuable feedback and suggestions...
      Really appreciate it.
      Sure, I am planning on Python Tutorial videos in the coming weeks so do stay tuned..
      Regarding your other suggestions, I’ll definitely consider it..
      Thanks again and happy learning🙂

  • @briantrickovic1860
    @briantrickovic1860 2 роки тому

    Thank you. Great video. I have Python on Windows, but I haven't bothered to install it on my MacBook Pro until now.

  • @sheebaparveen3630
    @sheebaparveen3630 3 роки тому +4

    Amazingly descriptive yet on point 💯💯💯💯 perfect . Keep uploading more 👍🙏

    • @techTFQ
      @techTFQ  3 роки тому +1

      Thank you Sheeba 😍🙂

  • @ajnstv
    @ajnstv 10 місяців тому

    Thanks for the help !!! Bit confused where to start from, quick solution 🙂

  • @massashimuka
    @massashimuka 9 місяців тому

    Straight to the point. Earned a sub.
    You just made me make the leap to have a macbook air/pro or a mac mini for coding thanks for vid👍👍👍

    • @techTFQ
      @techTFQ  8 місяців тому

      Thank you

  • @fathimafarahna2633
    @fathimafarahna2633 3 роки тому +4

    Impressive👌🏻👌🏿... seem like a professional high quality maestro...Explanation, presentation, interpretation, clarity👌Keep up doing your great work

  • @angeliquerickhoff4564
    @angeliquerickhoff4564 Рік тому

    Thank you so much for this walkthrough. Many classes I've been taking use a simulator and didn't cover getting started with Python on my machine. This was very clear and helpful.

  • @mvred100
    @mvred100 Рік тому

    Thank you, great video. I am up and running with python on my mac. Look forward to doing more after watching your videos.

  • @codingvedaofficial
    @codingvedaofficial Рік тому

    Very helpful video🎉

  • @user-qi8oy7dd4q
    @user-qi8oy7dd4q Рік тому

    very clear about installation and running of a python program

  • @icodenowatcg8111
    @icodenowatcg8111 2 роки тому +2

    Very useful!! Thanks so much for this resource! Keep up the great work!!

  • @cpdxmv
    @cpdxmv Рік тому

    This helped with so much confusion. Thank you.

  • @NoName-ot8kl
    @NoName-ot8kl 2 роки тому

    OMG Thank you so much! This was so clear and easy for me. I am trying to earn my certificate from a free program but the video that was attached was confusing me. I somehow found yours and it all became clear. 🙌🏾

  • @sukanyar7052
    @sukanyar7052 Рік тому

    Thank you so much as I got many doubts of installation cleared.

  • @estebanzavala9533
    @estebanzavala9533 Рік тому

    Great explanation answered all my questions for starting appreciate it🤝

  • @jehantchuenteukenfack
    @jehantchuenteukenfack Місяць тому

    thank you so much bro i did not now idle could do that

  • @akhil0226
    @akhil0226 2 роки тому +1

    python3: can't open file '/Users/akhilveluru/Applications/version': [Errno 2] No such file or directory
    getting this error when I give it on terminal (python3 -- version)

  • @austinhomolka
    @austinhomolka 3 роки тому +2

    Super helpful video. I was able to easily follow along. Thank you for putting out this content!

    • @techTFQ
      @techTFQ  3 роки тому +1

      Your welcome 🙏🏼 .. I am glad it helped .. thank you for taking time to give your feedback..

    • @austinhomolka
      @austinhomolka 3 роки тому +1

      @@techTFQ anytime boss!

    • @techTFQ
      @techTFQ  3 роки тому

      😁

  • @aidThompsin
    @aidThompsin Рік тому

    Thanks for this bro. Been doing JS/TS for 6 years but all this GPT stuff has got me worried so finally time to look at Py 🤣

  • @calmful1
    @calmful1 Рік тому

    Thanks Thoufiq !! I'm a beginner and this helps me !

  • @ninj493
    @ninj493 2 роки тому +2

    man I don't know how to thank you
    I fcuking love you lol like literally thanks so much
    I was so confused b4 this video
    and lastly thanks again

    • @techTFQ
      @techTFQ  2 роки тому +1

      Haha that’s good to know bro .. your welcome .. glad this helped ☺️

  • @karingusaikumarreddy3404
    @karingusaikumarreddy3404 11 місяців тому

    thank you so much it was helpful for me

  • @techtech9094
    @techtech9094 Рік тому

    This video was very helpful thank you so much 🙏🏻

  • @ayeshaali6462
    @ayeshaali6462 2 роки тому +1

    in other sites, it is showing to install homebrew to install on mac. But here it is installing without any issues

    • @techTFQ
      @techTFQ  2 роки тому

      Installing python using homebrew is just one of the options but not mandatory..
      I hope you were successful in installing python through this video 😀

  • @kseniagolak
    @kseniagolak Рік тому

    This was very helpful and clear, thank you!

  • @oreo2188
    @oreo2188 2 роки тому +1

    Thank you so much! This was really helpful for me!

    • @techTFQ
      @techTFQ  2 роки тому

      Thank you 🙏🏼
      So glad to hear you benefited from this 🙂

  • @chernovchernov
    @chernovchernov 2 роки тому +1

    I started my Python with you♥

    • @techTFQ
      @techTFQ  2 роки тому

      I am so glad to hear that :)

  • @mujuw
    @mujuw 2 місяці тому

    Thank you this is really helpful :)

  • @Rej-355
    @Rej-355 2 роки тому +1

    thank you so much this really helped. Great Video and explanation.

    • @techTFQ
      @techTFQ  2 роки тому +1

      Your welcome 🙏🏼
      Glad this helped ..

  • @mohammedlayes9248
    @mohammedlayes9248 2 роки тому +1

    Super helpful, much appreciated Thoufiq!

    • @techTFQ
      @techTFQ  2 роки тому

      Thank you Layes 🙏🏼

  • @sheidanehzati7350
    @sheidanehzati7350 Рік тому

    Thank you. You made it so easy !

  • @goprimate
    @goprimate Рік тому

    Absolutely amazing video, thank you so much for helping out 🙏🏽

  • @cj6530
    @cj6530 Рік тому

    I love you man, tell us when you have something and we don't, have to figure out why all my documents are going to the cloud??? I downloaded atom and visual studio, looks intimating.....on day 1--- What does executing mean? why is it important?, what does it look like when its working correctly? either way I feel like I just said good morning to myself and I have know idea Idea why? great video I learned a lot, Who know Terminal was even on there!! im on DAY 1 lol

  • @jimalix6270
    @jimalix6270 2 роки тому +1

    Very helpful video! Thanks very much!

    • @techTFQ
      @techTFQ  2 роки тому

      glad it helped

  • @aebinrawat5087
    @aebinrawat5087 2 роки тому +2

    Hello sir greetings from 🇳🇵 i can’t save in idle
    As it says (the save file operation failed to connect to the open and save panel service )
    I would be grateful if you would reply me

    • @techTFQ
      @techTFQ  2 роки тому

      Hi Aebin,
      Sorry I dont understand what the issue is. You are not able to save a file in IDLE is it?
      Generally it should not cause any issues. May be issue is something else..
      Perhaps you can email me the screen shot of the issue you getting and also the steps you are trying to follow.
      Email me at techtfq@gmail.com

    • @aebinrawat5087
      @aebinrawat5087 2 роки тому

      @@techTFQ sir i have mailed you 😁

  • @susantapaikray5337
    @susantapaikray5337 Рік тому

    Very well explained.. Thank you so much.

  • @Izumaki99
    @Izumaki99 Рік тому

    Thanks for the information brief and straight to the good good stuff

  • @SaMSVlogs52
    @SaMSVlogs52 3 роки тому +1

    Thank you brother! It was really helpful.

    • @techTFQ
      @techTFQ  3 роки тому

      Your welcome 🙏🏼
      Really glad it helped you ☺️☺️

  • @dwmak8119
    @dwmak8119 10 місяців тому

    Thanks a lot brother I have my practicals around and I really needed this kinda video…. Gained a sub brother ❤

  • @ServantStatusMinistries
    @ServantStatusMinistries 3 роки тому +1

    Thank you so much! This makes so much sense. You explained very well.

    • @techTFQ
      @techTFQ  3 роки тому +1

      Thank you so much 🙏🏼
      Glad the video helped ..

  • @davidvesga5043
    @davidvesga5043 2 роки тому +1

    Thank you! that was SO helpful!

  • @Kevin_penguin
    @Kevin_penguin Рік тому

    This was so helpful thank you for teaching me. :)

  • @dijonstreak
    @dijonstreak Рік тому

    excellent. a 5 STAR job. very helpful. many Thanks. !!

  • @xxxHua
    @xxxHua 3 роки тому +1

    Many thanks! This is very helpful!

    • @techTFQ
      @techTFQ  3 роки тому

      Your welcome 🙏🏼
      Glad it helped ..

  • @Nina-of-Munich
    @Nina-of-Munich 2 роки тому +1

    Thank you - thank you - thank you! It was so helpful for me!

    • @techTFQ
      @techTFQ  2 роки тому

      Your welcome 🙏🏼

  • @Ritualdelkaos2099
    @Ritualdelkaos2099 11 місяців тому

    thanks! your video saved my day!

  • @xander4097
    @xander4097 3 роки тому +1

    This was very helpful thanks

    • @techTFQ
      @techTFQ  3 роки тому

      Glad it was helpful ☺️
      Thank you for the feedback 🙏🏼

  • @alexandercoderunner5685
    @alexandercoderunner5685 3 роки тому +2

    Thank you so much, bro. You have a good presentation)

    • @techTFQ
      @techTFQ  3 роки тому

      Your welcome🙏🏽
      Thank your for sharing your feedback. Much appreciated 😊

  • @jackiemuto6691
    @jackiemuto6691 10 місяців тому

    Thanks! You made this easy!

  • @rahulmurarka8194
    @rahulmurarka8194 2 роки тому +1

    Thanks, it was super helpful

    • @techTFQ
      @techTFQ  2 роки тому

      Your welcome Rahul 🙏🏼
      Glad this helped..

  • @dbuc4671
    @dbuc4671 Рік тому

    thank you to the NYPD for doing this. This should happen in cities all across the U.S.

  • @shayubsk5653
    @shayubsk5653 2 роки тому +1

    Thanks really helpful and clear

  • @gustavovalenzuela2688
    @gustavovalenzuela2688 3 роки тому +1

    great video, you have no idea how much this help me, thanks!!

    • @techTFQ
      @techTFQ  3 роки тому

      Glad that it helped ☺️
      Thanks a lot for the feedback 🙏🏼

  • @chanelshunell1308
    @chanelshunell1308 3 роки тому +1

    thank you sir! this was immensely helpful :D

    • @techTFQ
      @techTFQ  3 роки тому +1

      Your welcome 🙏🏼
      Glad it helped..

  • @herrscherprince3474
    @herrscherprince3474 2 роки тому +1

    You’re truly a life saver here thanks a lot :)

    • @techTFQ
      @techTFQ  2 роки тому

      Your welcome 🙏🏼

  • @lowhybrid
    @lowhybrid Рік тому

    Fantastic video. Thank you!

  • @diamond-flashy8681
    @diamond-flashy8681 2 роки тому +1

    Great video! Thank you 🥇

    • @techTFQ
      @techTFQ  2 роки тому

      Your welcome :)

  • @venessawei8708
    @venessawei8708 11 місяців тому

    really helps a lot!!! thanks!

  • @sydneynovotny6060
    @sydneynovotny6060 Рік тому

    Just tried to download Atom and found out it's been shut down :( Hopefully VS Code will do! Thank you for the great tutorial, it's extremely helpful :)

  • @drtariqahmadphd3372
    @drtariqahmadphd3372 2 роки тому

    Thanks bro, really useful as a reminder and a sanity check.

  • @Vasaa038
    @Vasaa038 2 роки тому

    Thank you, this helped me so much

  • @Second_Law04
    @Second_Law04 11 місяців тому

    love u man, very helpful

  • @ashmoreno9264
    @ashmoreno9264 Рік тому

    Thanks for the video! ❤

  • @Keither1977
    @Keither1977 Рік тому

    Very helpful thanks!

  • @avishijain2351
    @avishijain2351 2 роки тому +1

    thankyou so much for the help

    • @techTFQ
      @techTFQ  2 роки тому

      Your welcome 🙏🏼
      Glad this helped 🙂

  • @ibingproject
    @ibingproject 2 роки тому +1

    Thankyou bro for your sharing

    • @techTFQ
      @techTFQ  2 роки тому

      Your welcome bro 🙏🏼