Это видео недоступно.
Сожалеем об этом.

Learn Python Programming - Python Course

Поделиться
HTML-код
  • Опубликовано: 5 авг 2024
  • Learn Python programming with 30 quick & easy lessons. No time wasted!
    👉Subscribe for more Python tutorials like this: bit.ly/3fBXEm7
    🔥Get the COMPLETE Python Course: bit.ly/35BLHHP
    Python Exercises for Beginners:
    programmingwithmosh.com/pytho...
    Python Cheat Sheet:
    programmingwithmosh.com/pytho...
    Subscribe to my RUclips channel for more videos:
    / @programmingwithmosh
    Want to learn more from me? Check out my blog and courses:
    Courses: codewithmosh.com
    Blog: programmingwithmosh.com
    Facebook: / programmingwithmosh
    Twitter: / moshhamedani
    TABLE OF CONTENT:
    00:00:00 What is Python?
    00:03:22 Installing Python
    00:05:43 Code Editors
    00:06:42 Your First Python Program
    00:09:09 Python Extensions
    00:12:03 Linting Python Code
    00:16:19 Formatting Python Code
    00:20:15 Running Python Code
    00:23:16 Python Implementations
    00:25:46 How Python Code is Executed
    00:29:43 Variables
    00:31:50 Dynamic Typing
    00:34:28 Type Annotation
    00:36:20 Mutable and Immutable Types
    00:39:19 Strings
    00:43:32 Escape Sequences
    00:46:54 Formatted Strings
    00:49:04 Useful String Methods
    00:52:26 Numbers
    00:54:37 Arithmetic Operators
    00:56:26 Working with Numbers
    00:59:05 Type Conversions
    01:03:29 Conditional Statements
    01:06:55 Logical Operators
    01:10:03 Ternary Operators
    01:11:22 For Loops
    01:15:32 For..Else
    01:18:12 While Loops
    01:20:00 Functions
    01:24:43 *args
    01:27:12 **args
    01:29:18 Scope
    01:32:57 Debugging
    01:36:31 VSCode Coding Tricks (Windows)
    01:38:55 VSCode Coding Tricks (Mac)
    01:40:45 Exercise: FizzBuzz
    01:42:16 Solution

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

  • @APaleDot
    @APaleDot 5 лет назад +391

    For anyone who just wants know how to code Python, and already knows all the background stuff or doesn't care: go to 30:00

    • @VN_RBR
      @VN_RBR 5 лет назад +5

      thank you!

    • @popecosh307
      @popecosh307 5 лет назад +65

      Wish I would’ve found this about a half hour ago lol

    • @CTde110
      @CTde110 5 лет назад +3

      @@popecosh307 me too

    • @benys5577
      @benys5577 5 лет назад +11

      not all heroes wear capes

    • @nikhilmilind3344
      @nikhilmilind3344 5 лет назад +3

      Thank You

  • @giordanobruno6476
    @giordanobruno6476 2 года назад

    FREE Python short tutorials on RUclips (Playlist): ruclips.net/video/6omQ-t9L9Ak/видео.html

  • @rey.demand1737
    @rey.demand1737 5 лет назад +296

    Python crash course for developers
    also
    "If you're not familiar with variables, don't worry.."

    • @BenderdickCumbersnatch
      @BenderdickCumbersnatch 4 года назад +18

      @@syschinesubbie Yeah it's mostly an extremely basic video. This is not a quick "cheat sheet". I knew 90% of the video's contents already by staring at a single python file for 5 minutes instead. But it's not an awful video to play in the background while coding, so I did that...
      Edit: I just finished the video. It taught me about 1 or 2 new things. And it taught me how to setup Python in VSCode and how to do line by line debugging, and a few very useful VSCode keyboard shortcuts. So this is a good video for learning VSCode. Pretty awful video for learning Python as an experienced programmer (it's a slow beginner-style video). The video didn't even go into the things I was hoping to learn about, such as the weird docstring-annotations that Python uses for functions. Meh.

    • @kell7689
      @kell7689 4 года назад +3

      i assume he meant variable creation with Python, not variables in general lmao

    • @Joseph-qb1es
      @Joseph-qb1es 4 года назад +10

      Wow tough crowd

    • @codezier2738
      @codezier2738 4 года назад +6

      What are those variables you speak of

    • @MisterWillow
      @MisterWillow 4 года назад

      You have a point, but he shows a lot of interesting stuff too, especially concerning using Python in VSCode.

  • @tryCatchMeQWERTY
    @tryCatchMeQWERTY 5 лет назад +13

    As always, everything is clear and nicely structured into a short video.
    Thank you Mosh, and good luck!

  • @doumansarouei4523
    @doumansarouei4523 5 лет назад +2

    since weeks I have been searched for an online tutorial and I am happy that I found you man, your explanation is practical and short enough to get everything. khaste nabashid.

  • @HolarMusic
    @HolarMusic 4 года назад +213

    > for developers
    > explains what an IDE is

  • @shroomyruki2961
    @shroomyruki2961 4 года назад +65

    Those 300 dislikes are from those computer science teachers who saw this and were jealous of your teaching skills

  • @dalton-lima
    @dalton-lima 5 лет назад +56

    It is a nice introduction to Python, still, I was hoping for a more advanced level as the name of the video implies.
    Love the course nonetheless!
    Thank you Mosh!

  • @BrodieEaton
    @BrodieEaton 5 лет назад +1

    Your table of contents literally saved me from going insane. The amount of times I typed the number 0 thinking I was in the VS Code window to instead reset the video had me SOOOOOO thankful you thought about having the table. Thanks to you, I remain sane for another day!

  • @hightoxicity9819
    @hightoxicity9819 5 лет назад +12

    Awesome dude! Been following along with Vim, and I found because you explained each thing so well, it was more effective for me to take a lot of notes on what was being taught and then create a whole program out of all of them afterwards. I learned a lot here coming from a background of almost exclusively C-style languages (in terms of syntax) and only a few variations (Assembly language being one of them). I feel like my life has been changed, it's so easy to get stuff up and running in Python!
    I'm definitely gonna be buying the course sometime soon.

    • @Fran-no7kz
      @Fran-no7kz 4 года назад

      wow Assembly! Bless your heart! learning that was such a nightmare for me but I'm glad i did. thus I'm really glad to be learning Python with these videos. Technical explanations are great

  • @-TheBugLord
    @-TheBugLord 3 года назад +1

    Damn it's really amazing how free courses on youtube like this are available. Programming is a very valuable skill, so it's nice to see tutorials like this available for no cost

  • @tackle4826mc
    @tackle4826mc 4 года назад +21

    Thank you for quick tutorial!

  • @Dominica24333
    @Dominica24333 2 года назад +1

    This was incredibly helpful, especially the VS code settings & shortcuts walkthrough, thanks!

  • @honeyraaaa
    @honeyraaaa 2 года назад +16

    Your 1hr 48 min course almost took 12 hrs for me to understand (because I am a beginner and tried to do hands-on practice as you were teaching in the video).
    Thank you for mentioning everything little thing in detail.
    ☺️

  • @noormohammedshikalgar9974
    @noormohammedshikalgar9974 5 лет назад +9

    Hey Mosh, I have already mastered React by studying your React Course and i am excited for Python course it looks awesome...
    Thanks for such great Tutorials and please please keep making such type of video and i will take it all.....
    By the i realize that you look like an Hollywood Start called "Stanley Tucci" !...
    once again thanks for Tutorials...

  • @unforged
    @unforged 5 лет назад

    Im starting with programming and choose python as my first language. Those conditionals(if else) inside variable blow my mind. I did saw a lot of beginners video and some online classes. No one told me that. Thanks!

  • @randywolf9682
    @randywolf9682 5 лет назад +38

    edit: in windows with newer versions type py app.py not python app.py (took me a sec so if someone is looking in comments for why it complained)

    • @komali7
      @komali7 4 года назад +1

      thank you so much.. I was struggling for good 20 minutes.

    • @SamuelEcom
      @SamuelEcom 4 года назад

      this still doesnt do anything for me...

    • @SG-tx1fz
      @SG-tx1fz 4 года назад +1

      @@lordechnobas py app.py
      works for me :)

    • @SweaterFreak
      @SweaterFreak 4 года назад

      thank you!!!!

    • @adithya.pradosh
      @adithya.pradosh 4 года назад +1

      If it's still not working it must be because the terminal is not in the same folder as your app.py file...your present open folder in the terminal is the last one in the breadcrumb(C:\Users\(etc etc)\(present folder) . Use cd (folder path) to open the folder that the file is present in.

  • @shanem8021
    @shanem8021 5 лет назад +8

    Hey Mosh, great stuff. I have completed your JavaScript and all of your C# courses, and I think I know more about these topics than some people who should know more than me at this point (experienced devs). A great mix of practical and academic approach to teaching this stuff. Thank you.

    • @vinodkumarmourya8873
      @vinodkumarmourya8873 2 года назад

      🕹🕹🕹🖲🕹🕹🕹🕹🕹🖲🖲🖲🖲🖲🖲🖲🖲📷🕹🎥🎥🎥🎥📽📽📽📽📽📽💿💿💿💾💿💿💿💿💿🖨🖨🖨🖨🖨🖨🖨🖨🖥🖥🖥🖥🖥⌨️⌨️⌨️⌨️⌨️💻💻💻💻📲📲📲📱📱📱⌚⌚⌚⌚⌚⌚⌚🖱🖱🖱🖲🖲🖲🖲🖲🕹🕹🕹🕹🗜🗜💽💽💽💽💾💾📀📀📼📼📼📷📷📷📸📸📸📹📹📹🎥🎥🎥📽😀😀😃😄😁😁😁😆😆😅😅😂🤣☺😊😇🙂🙃😉😍🥰😘😗😚🐶🐱🐭🐹🐰🦊🐻🐼🐨🐯🦁🐮🐷🐽🐵🙈🙉🙊🐒🐔🍏🍎🍐🍊🍋🍌🍉🍇🍓🍈🍒🍑🥭🍍🥝🥑🍅🍆🥦🥬⚽🏀🏈⚾🥎🎾🏐🏉🥏🎱🪀🏓🏸🥅🏒🏒🏑🏑🥍🏏⛳🪁🏹🚗🚕🚙🚌🚎🏎🚓🚑🚒🚐🚚🚛🚜🦽🦼🛴🚲🛵🏍🛺🚨❤🧡💛💚💙💜🖤🤍🤎💔❣️💕💞✝️💗💖💘💝💟☮️✝️🏳🏴🏴‍☠️🏁🚩🏳‍🌈🇦🇽🇦🇱🇦🇸🇦🇴🇦🇮🇦🇶🇦🇬🇦🇲🇦🇼🇧🇪

  • @aparnadevkate2935
    @aparnadevkate2935 5 лет назад +4

    PERFECT , exactly what I wanted.
    THANKS MAN.

  • @toberixng
    @toberixng 5 лет назад

    Can't wait to get my hand on the full course, I hope to see you @mosh someday.

  • @BenderdickCumbersnatch
    @BenderdickCumbersnatch 4 года назад +1

    I like the section about 01:36:31 VSCode Coding Tricks (Windows) , very useful. I also noticed that "Ctrl - X" works in VS Code (a command I'm used to from Visual Studio), which means "delete the current line and copy it to the clipboard" (this command requires that NO text is PARTIALLY SELECTED on the line). Anyway, I like that command a lot for getting rid of lines quickly. You can also use "Ctrl - C" with no text selected, to copy the current line to clipboard. And in both the "Ctrl - C" and "Ctrl - X" cases the line is copied to the clipboard, so you can place your cursor on another line and Ctrl-V to paste that line.

  • @codezier2738
    @codezier2738 4 года назад +2

    Great lesson! that last fizzbuzz for anyone intrested in a more robust solution like stringbuilder in java (I couldn't find a stringbuilder in python) Here it is:
    def fizz_buzz(input) -> str:
    result = ""
    if (input % 3 == 0):
    result = "fizz"
    if (input % 5 == 0):
    result += "buzz"
    if (not result):
    result = str(input)
    return result
    The last part that says not result (Because we know a "" is false so if it is empty (as we initiated it) then we can put a number in that emptiness.

  • @kevinmiller3084
    @kevinmiller3084 4 года назад +4

    Highly recommended! This is a great crash course on Python for people with a little programming knowledge. It covers the first two chapters of his eleven chapter course. His class covers seven and a half hours of content beyond what you see here. Also, first time students get a pretty hefty discount!

  • @ryguywy
    @ryguywy 4 года назад

    Thanks! Awesome way to explain the root theories of how things are linked together (Editors and IDEs, or what you really mean from mutable vs immutable) No one else does this, its been very helpful. Thanks!

  • @umasankarsivasubramanian607
    @umasankarsivasubramanian607 5 лет назад +1

    I really enjoyed and very simple and clean explanation to get into python world of programming. Thank you mosh for this great effort.

  • @syntonixx
    @syntonixx 5 лет назад +4

    Wow. You explain things so beautifully and simply. Thank you so much for this video. You have gained a new subscriber.

  • @latvialava6644
    @latvialava6644 3 года назад +7

    Python is mind blowing after working on C++ & Java for many years !!! Too Simple & too easy ❤️❤️

  • @Morristown337
    @Morristown337 5 лет назад +2

    I am a first semester information technology student. I am loving this course. I did some html back in high school, but I plan on spending 2 hours a day, 6 days a week on this video. I am so glad people like you are willing to help people like me. I am so excited for what I really hope to be a brighter future for me. I'm not sure if I will get far enough by may; but I would like to learn enough to make a simple jeopardy comptia 1001 & 1002 study game. I have already made a cool alarm clock python code that plays funny sounds for every break at school. So far I am also glad that you are simplifying it for people like me to understand. I am someone who needed someone willing to break things down and "hold a hand through it" if you know what I mean.

    • @Morristown337
      @Morristown337 5 лет назад

      @@programmingwithmosh lol thanks for link. That is the one I thought i was commenting on. I was watching it on tv via ps4 as I followed along on my laptop. I can't comment well on ps4, so i grabbed phone and must have clicked wrong 1 to comment on. But I am following the 6 hour video for now. Ty tho

  • @nathanhammer6328
    @nathanhammer6328 4 года назад +1

    If you want to get rid of the [running] and [done] messages in the output, do this. Go to settings (ctrl + , ). Search [running]. Scroll about halfway down to “Code-runner: Show Execution Message” and deselect the box below it.
    To have your output clear every time, go to settings, lookup output, deselect “Code-runner: Clear Previous Output”
    After doing both of those, when I run the code, it looks the same on my terminal as in his.

  • @barronanderson2147
    @barronanderson2147 5 лет назад +2

    When debugging someone else's code str.Substring(0, 3) is more verbose and much easier to understand than str[0:3] . The simplicity is nice when writing or creating but becomes difficult when maintaining. The same can be said about Perl. Dense code is hard to maintain.

  • @jaspreetbaidwan
    @jaspreetbaidwan 5 лет назад +1

    Thanks, Mosh your courses are amazing. It is like fun while learning how to code. Keep up the good work

  • @lukasfussi4336
    @lukasfussi4336 5 лет назад +5

    Exactly what I've wanted to know.

  • @hukushmolambi8355
    @hukushmolambi8355 Год назад

    Just began with Python and I'm enjoying every bit of it. Its syntax is super easy to follow, which makes it a perfect choice for those new to coding. What's more, Python is such a flexible language, opening paths to numerous areas.

  • @samirahvanessajaved8594
    @samirahvanessajaved8594 3 года назад

    This was great! I have very little coding experience so this was very easy to understand. Now onto the 6 hour course :)

  • @aliataa8411
    @aliataa8411 5 лет назад

    Write an applet that initially displays the word “Hello” in the center of a window. The word should follow the mouse cursor when it moved inside the window.

  • @mofeedboss9170
    @mofeedboss9170 4 года назад +1

    Let me tell you, Sir, that this is the RIGHT way to teach a programming language.
    & the fact that you took into consideration that this video is oriented towards programmers is just elegant!
    I know more than 30 languages & this is my first time with Python, but with the help of this video, I believe I now have a perfect base to advance!
    Many regards!

  • @mronollo
    @mronollo 5 лет назад +4

    Basic Language Constructs: First 1:19
    Functions : 1:20 - 1:24
    Functions Optional Args : 1:24 - 1:27
    Dictionaries : 1:27 - 1:29
    Variable Scope : 1:29 - 1:33
    Debugging : 1:33 - 1:36
    Shortcuts Win VSCode : 1:36 - 1:39
    Shortcuts Mac VSCode : 1:39 - 1:41
    fizz_buzz : 1:41 - 1:48

  • @alirezafa54
    @alirezafa54 5 лет назад +1

    Thanks Mosh, you are one of the best teachers in programming! ;-)

  • @scholarskeleton196
    @scholarskeleton196 5 лет назад +3

    your vids make coding looks so simple ....
    love from india and keep it up

  • @davidlobel
    @davidlobel Год назад

    Mosh, great tutorials. Just watched the section on Stings. One example not shown is the ability to grab values within a string using a single or double delineator. For example, we have a string mySTR = "one, two, three, four". Now using a single delineator, I want to get the value of the text between the first and second delineator. In a library I used (Called FUNCky) for the Clipper compiler (not sure if you recall that language and library) I'd use StrExtract(mySTR, ",", 2). This would return the string between the first comma and second comma. And if you had string (~One~, ~Two~, ~Three~, ~Four~) you could use two characters to separate the data you're extracting while ignoring the commas StrExtract(mySTR, "~~", 2). The second method would ignore the commas in the string, and just look for pairs of your searching delineators...and they could be any thing, even different characters like "~#". So I'm sure I could write the function to do this, but curious if Python has this built-in, or if you know of a library which contains string functions (and other functional functions). Actually, in my old programming days, we had developers who wrote practical functions, written in C for speed, that we'd be able to access in our code. We'd just incorporate the function library. I'm new to Python (but not not programming) and would love your input on my example above, and if you have advice on libraries for Python. Thank you. -Dave-

  • @sulton8501
    @sulton8501 4 года назад +8

    Thank you Mosh, especially for your hard work trying to teach us. I think you are the best tutor I've ever been taught. I hope and ask you to fill out your RUclips channel with a full crash Django course. Please do this for your students !!!

  • @missjoshi7247
    @missjoshi7247 5 лет назад +1

    Wowww.... Dedication level is visible in the description box... Wow... Good one.. going through it now.. i am sure it will be of great use.
    Thank u

  • @dangermandave67
    @dangermandave67 4 года назад +2

    Great video. Running through it now with current version of VSCode (1.40.0). But terminal window doesn't work the way it's described in this video at 8:57. When you type python3 app.py in the terminal window in VSCode, nothing happens. But when you hit the Run Code button the output appears in the Output terminal. I guess VSCode has changed a lot since this video was uploaded in October 2018.

  • @JohannesKalliauer
    @JohannesKalliauer 5 лет назад +1

    @Mosh: Why do you use if (input % 3 == 0) and (input % 5 == 0 ): instead of if input % 15 == 0:

  • @AqibGatoo
    @AqibGatoo 5 лет назад +8

    That presentation is just top notch 👍. it would be nice if you upload some course completely for your youtube subscribers

  • @gabedoestech
    @gabedoestech 5 лет назад +1

    Finally a course for devs. Much appreciated! Even it being basic.
    Just signed up to receive the early announcement of the avdanced course. But, please, don't let us down. Useful and real world stuff will always worth the investment and will always bring new customers.

  • @justapugontheinternet
    @justapugontheinternet 5 лет назад

    I already know how to program in python but here I am, watching this while fully captivated. You make learning and coding fun! Thanks.

    • @justapugontheinternet
      @justapugontheinternet 5 лет назад

      Programming with Mosh I watched it all, and I love it. Picked up a few new tricks too. Definitely worth it!! Thanks for the great work. Two nights ago, I stayed up to watch your JSON AJAX tutorial. You are a really good teacher.

    • @justapugontheinternet
      @justapugontheinternet 5 лет назад

      Programming with Mosh definitely!!! 👍🏽👍🏽

  • @rony5490
    @rony5490 5 лет назад +2

    Overall Awesome tutorial and it gave me new direction in python.. but ads really disturbed me when i was in flow of learning.

  • @adarsh9634
    @adarsh9634 3 года назад

    this video is the best revision one can ever have in 1 hour ,Thank you so much :D

  • @lakdakgti9466
    @lakdakgti9466 3 года назад

    This vid will surely help me in learning Python for my school A.I, ML and DL project.
    Thnx Sir Mosh!!

  • @onieltoledo8019
    @onieltoledo8019 4 года назад +4

    Set the video to 2x and learned Python in less than an hour, thanks Mosh! :)

  • @GodBreathed77
    @GodBreathed77 5 лет назад

    Bought the course after watching about half of this I really like the way you teach! Keep kicking anoos!

    • @Neha-yc1vz
      @Neha-yc1vz 4 года назад

      @@programmingwithmosh hi Mosh I am a beginner of python and I want to know is it necessary to have certified with IIT or other popular institute or any university

  • @Upri5e
    @Upri5e 5 лет назад

    I was just starting to think about searching for a python tutorial and out of nowhere i got the newsletter about this course and this is not the first time u pop up at the right time Mosh looking forward for the complete course !

    • @Upri5e
      @Upri5e 5 лет назад

      Programming with Mosh i watched the entire video its amazing especially because you dont go through all the boring stuff of explaining what a variable is and all the beginner stuff honestly the repetitiveness of the basics is what got me bored and stopped me from learning python but after i watched this i kinda got more interested in going deeper with python

  • @stefanoroselli3711
    @stefanoroselli3711 5 лет назад +7

    def fizz_buzz(input):
    message = "Fizz" if not input % 3 else ""
    message += "Buzz" if not input % 5 else ""
    return message if message else input

  • @odebroqueville
    @odebroqueville 4 года назад

    Beautiful tutorial! Many thanks, Mosh!

  • @darkclove7365
    @darkclove7365 5 лет назад +1

    Mosh is the king! I bought his ReactJS course when it was on sale, no regrets!

  • @masoomraza7198
    @masoomraza7198 5 лет назад

    To enable Format on save on windows
    Go to setting(VS Code: bottom left) and under USER SETTINGS save this code -> {"editor.formatOnSave": true}

  • @kartiksrivastav88
    @kartiksrivastav88 5 лет назад

    You are great just completed your beginner course and just came for this for learning more some few more key concepts like type annotation and mutable and immutable

  • @dreamyrhodes
    @dreamyrhodes 5 лет назад +36

    str[0:3] is actually not that simple. It might be simple for a python programmer but for someone coming from another island, it's actually harder to read.
    I never wrote a line in C# but I can understand str.substring(0, 3); just by seeing it in the code, because it is descriptive. Same with js, str.substr(0, 3); is shorter but still describing what it does. str[0:3] doesn't explain anything. You need to know what [ ] means and you need to know what : means. Is it creating an array from index 0 to index 3? Is it assigning int 3 to index 0? Or even filling random numbers from 0-3 into str? It could be anything.
    It is not clean it is not simple and it is not easy to read. It's quite an anti-pattern for a language that's supposed to be easy to understand.
    Don't get me wrong, I have used python quite a few times but just because something is shorter it doesn't mean it's better to read and understand.

  • @argonwheatbelly637
    @argonwheatbelly637 5 лет назад

    VSCode, Kraken, and Glo Boards. That's my core dev env. Love it!

  • @GabrielOliveira-hm6gi
    @GabrielOliveira-hm6gi 5 лет назад +1

    You're a great teacher. I really admire you.

  • @The_other_side-
    @The_other_side- 5 лет назад

    how do i change the syntax to look clourful like him ?
    some just have the same grey color
    thank you !

  • @mohammadb9830
    @mohammadb9830 5 лет назад +1

    This s a great Tutorial! I also have a suggestion for the exercise:
    Isn't it nicer to replace the first line with (if input % 15 == 0:) which is shorter??
    Best wishes from Germany!

  • @zeinelmokhtar4105
    @zeinelmokhtar4105 5 лет назад +1

    Hey Mosh, can you share the theme & text size that you use in this amazing tutorial

  • @kopilkaiser8991
    @kopilkaiser8991 Год назад

    Mosh, you are one of the best teachers out there in being able to teach programming so easily 🎉⭐️⭐️⭐️⭐️⭐️

  • @iain777uk
    @iain777uk 4 года назад +1

    Mosh has a gift for teaching, excellent style and presentation. class Act:

  • @sarahoeri2444
    @sarahoeri2444 4 года назад

    Hey Mosh......i really love the python tutorials...well explained and sooooo helpful.....Thank youuuuuuuuu

  • @engineerspot-umangmishra2405
    @engineerspot-umangmishra2405 4 года назад

    You are so brilliant mosh sir you've created such an easy and interactive course hats off to you

  • @kebman
    @kebman 5 лет назад

    I use Sublime Text, and so I'm not really very inclined to switch editor. While I respect your choice of environment, it would be great to see a tut that's more geared towards the actual _language_ instead of env/editor specific stuff. (I only have to press Ctrl+B and it's running right out of the box)

  • @brianbartholomew9973
    @brianbartholomew9973 5 лет назад +5

    I really appreciate you go through what settings you have in VS Code initially. I hate when I get into a beginner tutorial and the instructor immediately dive into coding and I have to manually attempt breakdown their settings myself to follow along easier

    • @brianbartholomew9973
      @brianbartholomew9973 5 лет назад

      @@programmingwithmosh I think a balance needs to be involved and even then can't please everyone but I found yours pretty good 😁

    • @fernfern0
      @fernfern0 4 года назад

      @@programmingwithmosh What theme are you using. I really like it but I'm struggling to find it.

  • @cedric1063
    @cedric1063 5 лет назад

    Hello, someone could remember me what is the terminal command to score a script ? To get the level of quality of the script more exactly

  • @ehimareokosun384
    @ehimareokosun384 4 года назад

    Only 28 mins in and I'm already drowning in quality. Good job!

  • @yehia3amer
    @yehia3amer 5 лет назад +20

    Great Start Mosh, I love the idea of python for programmers - I don't want to wast my time learning things that i already know (like a beginner).
    I am a C# Programmer and BI Analyst with 6 Years Experience and I am moving to python for Data Science (AI, ML, etc..).
    Any Plans to Make a ML Cource using python ?

    • @abiodunanifowose7913
      @abiodunanifowose7913 5 лет назад +1

      I can't wait to see the videos for ML and AI. I am actually enrolled for many classes on Udemy before I stumbled on Mosh free tutorials on RUclips. I immediately went to his site to subscribe for the monthly program after seeing the quality of his videos and the way he explain concepts shows that he's not just an experienced programmer but also knows his onions very well. I will recommend him any day to anyone who wants to truly understand programming. More power to your elbow sir!

    • @kapilgidwani
      @kapilgidwani 5 лет назад

      @@abiodunanifowose7913 +1 AI/ML by mosh :-)

    • @SuperAbins
      @SuperAbins 5 лет назад

      hi bro i would like to know more about ML with python . did you get any link to learn ML . if u have please share the details . musthafaabins@gmail.com

    • @MicroNG
      @MicroNG 5 лет назад

      #MicroNG
      ruclips.net/p/PLTXhDXS96cPUH7tTM2iuGUcLKow6zN6AC
      Learn python with MicroNG
      _DO LIKE❤ SUBSCRIBE😎 AND SHARE_ 😬
      ```
      FOR MORE eLearning tutorials```

  • @bread7208
    @bread7208 4 года назад

    i was obliged to watch this tutorial and explain everything to my father in a few hours

  • @irend1163
    @irend1163 5 лет назад

    21:23 actually on windows, python code refer to python2 so it better change it to py -u. Cause py is refer to python3

  • @mohamedrashed9105
    @mohamedrashed9105 5 лет назад

    @Mosh
    in fizz_buzz function , I replaced this line
    print(fizz_buzz (15))
    with
    print(FizzBuzz(int(input("number: "))))
    function give different results!?

  • @paulsmith8289
    @paulsmith8289 5 лет назад +1

    30+ years a programmer here. I'm interested in Python and hope to get into it enough to feel comfortable after dabbling with it before.
    After 20 years of doing Java for my day job I've gone off it - it's a mess with annotations, auto-wiring 'magic' in frameworks, neat but complex streams/lambdas etc., it's not enjoyable at all.
    I can't see me doing Python for a living any time soon but I'd like to enjoy programming again!

  • @buddyengineer3029
    @buddyengineer3029 4 года назад

    I'm a low-level engineer. this is how I did it:
    #if x is divizible by 3, return fizz, by 5 - buzz, by 3 and 5 - fizbuzz, by neither - x.
    def fizz_buzz(x):
    out=['fizzbuzz','buzz','fizz',x]
    idx = int(x % 3 > 0) + 2 * int(x % 5 > 0)
    return out[idx]
    #but thanks for the tutorial, i learned python from you Mosh :-)
    fizz_buzz(501)
    'fizz'
    fizz_buzz(330)
    'fizzbuzz'
    fizz_buzz(17)
    17

  • @AutisticThinker
    @AutisticThinker 4 года назад +5

    43:22 - That's not an accurate way to describe this, but speaking in general language terms... course is a class (or object) as you said earlier, than the id(course) is a pointer index to the class, and id(course[0]) is a pointer index to the first character of the string that is allocated on the heap.

  • @antonyspiano2403
    @antonyspiano2403 4 года назад

    I need to learn Python soon as part of work, I have Java background ... was in a bit fear knowing nothing in Python..
    Then I found your videos including this;
    I am sure , I can become a decent Python programmer too soon.. : ) you made it so simple ..
    Your videos are giving great confidence !!! Thanks a ton!!

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

    I just can't thank you enough for this. Keep up the good work.

  • @ChristopherCo
    @ChristopherCo 5 лет назад +1

    Thank you Teacher Mosh! 😁👍Shout out from 🇵🇭

  • @Alexanderboost
    @Alexanderboost 5 лет назад

    very usefull tipps. made feel good getting most of the fizzbuzz question right

  • @user-nz8yb1vn6g
    @user-nz8yb1vn6g 5 лет назад +1

    I’m watching this video on my iPad and practicing on my windows 10 notebook :)
    All things what you do is n Mac...
    Sometimes I’ve problems to find them on my windows op :)
    Do you have all the same things in an another video only with windows?

  • @alwaseem5309
    @alwaseem5309 5 лет назад

    Amazing as Usual !!!!

  • @voodoopopeye
    @voodoopopeye 5 лет назад

    Great video! One question though... @51:33 you can see the properties (such as .title or .find) are formatted differently than say variables. I have my vsCode set up the same way, yet most of my properties are just in white. Any ideas how to change the formatting for syntax?

  • @maanasachitti7921
    @maanasachitti7921 5 лет назад

    Hello Mosh! Great course. I also took your course on MVC and loved it. Would you have a course that goes into some detail on how to do Database Programming with Python. I use Python 3 and I am having trouble connecting to the Database using pymysql.

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

    one of the best videos about async. keep up.

  • @Jazzsterr2468
    @Jazzsterr2468 5 лет назад

    How do I get my environment to show me just the output directly when I save. I want my vs code to debug and directly show me my output code when I save. instead, I have to manually click on debug select python file and it shows the terminal with the output and the annoying logs I don't want to see.

  • @mehrishyousuf592
    @mehrishyousuf592 5 лет назад

    Python does do implicit conversion to some extent. I tried inputting a number from user then adding 1 to it without any conversion. The code executed without any errors.

  • @GuitarKirby93
    @GuitarKirby93 5 лет назад +1

    Hey Mosh,
    love your videos!
    Have been watching them for years already.
    Can't wait for more advanced Python stuff.
    I'd LOVE to know what tools you used to create presentations like this.
    Probably Camtasia for recording but for the editing as well?
    Cheers

    • @GuitarKirby93
      @GuitarKirby93 5 лет назад

      Done already, but are you sure that this answers my question? :D

    • @kick-tech4691
      @kick-tech4691 5 лет назад

      @@amiteshore it's a bot reply . Automation using python

  • @Carl-yu6uw
    @Carl-yu6uw 5 лет назад

    When splitting a string using notation such as 0:3 are you sure the second parameter is not simply just the number of characters to grab, starting from the index specified in the first param? That's the way it seems to behave isn't it, rather than being an index itself.

  • @beemerhappy
    @beemerhappy 5 лет назад

    at 39:18 I get this error: Traceback (most recent call last):
    File "/Users/donnapoole/Desktop/hello world/app.py", line 3, in
    x.append = (4)
    AttributeError: 'list' object attribute 'append' is read-only

  • @WiredWisdom930
    @WiredWisdom930 2 года назад +1

    thanks mosh i really love this course u are the best tutor a student would have😎😎

  • @dicky3844
    @dicky3844 5 лет назад

    love this guy! keep it up

  • @StefanoLabate
    @StefanoLabate 4 года назад

    Hello Mosh, I come from C#, thank you for this tutorial, very clear and useful!!

  • @myceliguy
    @myceliguy 4 года назад

    This video is brilliant! Very thoughtful and practical. Thank you so much.

    • @myceliguy
      @myceliguy 4 года назад +1

      Signing up to your course :)

  • @CristianKirk
    @CristianKirk 4 года назад +1

    What about this solution to the FuzzBuzz thing? This is how I solved it. Please consider that I'm learning Python and this is actually the first video I watch about it.
    def fizz_buzz(input):
    stri=""
    if int(input / 5) == input / 5:
    stri = "Fizz"
    if int(input / 3) == input / 3:
    stri += "Buzz"
    if stri == "":
    stri = input
    return stri
    print(fizz_buzz(15))

  • @charliesta.abc123
    @charliesta.abc123 5 лет назад

    I work with py and c# daily but look at me, glued to my screen. Awesome as always Mosh. Why aren't u at 1M subscribers yet?