Python in 100 Seconds

Поделиться
HTML-код
  • Опубликовано: 31 янв 2025

Комментарии • 1,7 тыс.

  • @pragyan394
    @pragyan394 3 года назад +10582

    Every other language: Nooo, you can't multiply strings and integers together
    Python: "Haha, string and int multiplication goes b" + "r" * 8

    • @shapelessed
      @shapelessed 3 года назад +355

      Not even speaking of the syntax...

    • @shapelessed
      @shapelessed 3 года назад +42

      @@shelbyeb8042 Pathetic...

    • @Nexus-rt1bm
      @Nexus-rt1bm 3 года назад +543

      At least, the behavior is somewhat intuitive and the operation is commutative as well.

    • @shapelessed
      @shapelessed 3 года назад +47

      @@Nexus-rt1bm Not true at all

    • @gbloemer
      @gbloemer 3 года назад +86

      yeah, this is the kind of thing that makes me scared to use python for bigger projects

  • @vectoralphaSec
    @vectoralphaSec 3 года назад +3015

    Python is the #1 choice for Data Science, Data Analytics, Artificial Intelligence, Machine Learning, Computer Vision, Natural Language Processing and so much more as well as heavilly used in backend server side web development. It's a nice language. Really having a fun time learning it compared to my most known languages like C, C++ and Java.

    • @dIancaster
      @dIancaster 3 года назад +93

      Why is it so common for such computation-intensive applications if the performance is lacking?

    • @amagicmuffin1191
      @amagicmuffin1191 3 года назад +384

      @@dIancaster apparently, it cuts down on developer time with the nice syntax and you can import libraries written in faster languages to do the heavy computation

    • @puppergump4117
      @puppergump4117 3 года назад +113

      @@amagicmuffin1191 As always, laziness prevails in this industry.

    • @amagicmuffin1191
      @amagicmuffin1191 3 года назад +536

      @@puppergump4117 efficiency is laziness?

    • @TheFreestyleStorm
      @TheFreestyleStorm 3 года назад +413

      @@puppergump4117 That's called efficiency. That's at the very core of software development. If i'm able to do the same task with less lines of code at an efficient rate you better know i will.

  • @thehonestabe
    @thehonestabe 3 года назад +689

    I love these 100 second videos! They're full of useful information that sometimes is difficult to find in multi hour long videos

  • @Kamel419
    @Kamel419 3 года назад +578

    I'm a Python technology manager for a large company and I've never seen such a great explainer of what Python is and its benefits, exceptional work! Most similar videos make me very upset because they will say technically correct but misleading things like it's very slow, or say things that are just plain wrong (usually they say it's loosely typed, bravo at identifying it's strongly typed and dynamic). If I were to critique I would add that it has simple interfaces into almost any other language. this makes it it easy to offload computationally expensive things into fast languages like C/C++ and work well in a mixed language stack.

    • @tochukwugaimboyufondu4336
      @tochukwugaimboyufondu4336 2 года назад +6

      I'm new to python and I hear it's slow , this narrative discourages me. I don't know if I should continue

    • @Kamel419
      @Kamel419 2 года назад +33

      ​@@tochukwugaimboyufondu4336 The slow argument is so overblown, don't worry about it. Python is a production ready language that can handle almost every use case.
      This is true for any language, and it excels at many other use cases. This versatility and the concise nature is why other languages are being "replaced" with Python (R and Spark, for example).
      (replaced is being used very loosely here... I've intentionally cut out a ton of nuance because I realize I'm talking to a newbie)

    • @nuggets1833
      @nuggets1833 2 года назад +7

      Python falls victim to the 2 language problem: you can prototype your code very quickly in Python, but if the performance isn't good enough for the task then you'll be required to write your solution in a faster language like C/C++. This is usually not the case unless you are in very domain specific work which doesnt have existing libraries to work with. However Julia does show a lot of promise both in performance and conciseness. It has speed approaching that of C as well as an easy to use syntax that is akin to dynamic languages. Now Python is still a good pick because as the commenter above mentioned, it is production ready (has libraries for tons of tasks), but the 2 language problem will never be fixed for it.

    • @hidude1354
      @hidude1354 2 года назад +13

      @@tochukwugaimboyufondu4336 don't worry about the argument that "python is slow therefore just learn C". it's pretty useless, python has some amazing capabilities unlike other languages, especially in ML (tensorflow is really the main way of creating neural networks). plus, there are packages that combine python with C-like functionality (like cython) which people can use if they want a C-like efficiency to their python program.
      also, python isn't just a language to make small home scripts with. like in the video django is actually decently popular and there are other applications like webpy, you have pysor, and so many more since python is open source

    • @To-TechArea
      @To-TechArea 2 года назад

      ruclips.net/user/shortsxlf3uMv70dI?feature=share

  • @AshesOfEther
    @AshesOfEther 3 года назад +870

    0:30 "And is the language of choice for big data and machine learning" *Proceeds to show MarI/O, which was written in Lua*

    • @Fireship
      @Fireship  3 года назад +465

      Oops, good thing Lua is on the list

    • @pumpkin162
      @pumpkin162 3 года назад +67

      @@Fireship Maybe lua in 100 secs ?

    • @namesurname6294
      @namesurname6294 3 года назад +49

      @@pumpkin162 I think that was what he meant in that reply

    • @charlesm.2604
      @charlesm.2604 3 года назад +3

      What is Lua ? I always thought it was an embeddable scripting language for your own transpiler integration. Essentially, Lua would be a set of syntaxes and conventions but would let devs design their own API that a Lua script can call. Essentially, a generally accepted "3rd party plugin system design".
      Can you write scripts in Lua that interact with low level machine APIs and work in standalone or is it just used for making plugins/scripting system in an already existing app ?

    • @AshesOfEther
      @AshesOfEther 3 года назад +16

      @@charlesm.2604 Lua can function by itself, but it's most commonly embedded in another app, which as you said can provide APIs for the Lua script to use. Lua also has a standard library, which doesn't really let you do low-level stuff, but that can be implemented in a native module which the Lua script can then import. I personally would only use it if it's embedded in the app I'm using

  • @MikeKoss
    @MikeKoss 3 года назад +606

    You forgot to mention list comprehensions (generator expressions) - mind blowing when you first encounter them.

    • @codediporpal
      @codediporpal 3 года назад +20

      Yeah so much for implicit < explicit.

    • @xali2008
      @xali2008 3 года назад +25

      there is also dict comprehensions work same as list

    • @kebabulon
      @kebabulon 3 года назад +11

      they are pretty dope

    • @kiryonnakira7566
      @kiryonnakira7566 3 года назад +66

      also negative indexes and slices to parcours lists, tuples, strings way easier than in other languages

    • @pawebernaciak1581
      @pawebernaciak1581 3 года назад +43

      @@codediporpal they are still explicit as for loop and comprehensions still contains exactly the same instructions. They just differently structured.

  • @juanandrescastillofuenmayo6619
    @juanandrescastillofuenmayo6619 3 года назад +753

    YOU'RE KILLING IT MAN 😍 Keep up these amazing videos. By the end of the year you'll probably have the main 100 software development languages covered.

    • @reddev8906
      @reddev8906 3 года назад +1

      My two fav languages: PHP, Python

    • @radubuta5004
      @radubuta5004 3 года назад +1

      then what? :(

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

      ruclips.net/user/shortsYijaUQZN1EQ?feature=share

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

      @@radubuta5004 ruclips.net/user/shortsYijaUQZN1EQ?feature=share

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

      100 languages in 10000 seconds

  • @kharlopena7512
    @kharlopena7512 Год назад +38

    Started with Python. Got really good with JAVA, C#, Swift, and C for different projects. Love these other languages too (some more than other), but still go back to Python: beautiful, clean, intuitive, and powerful.

  • @veermetri05
    @veermetri05 3 года назад +5097

    Mate, can you make C++ in 100 seconds ?, computer engineering students would love it 😅

    • @kushal6065
      @kushal6065 3 года назад +29

      me too

    • @fnrandom4870
      @fnrandom4870 3 года назад +11

      🤣

    • @Swmdwn.Khakhlary
      @Swmdwn.Khakhlary 3 года назад +9

      🤣🤣🤣👌🏿

    • @noop9k
      @noop9k 3 года назад +136

      C with so much syntax sugar that your legs get immediately blown off. Because diabetes.

    • @abcdef-ms9mb
      @abcdef-ms9mb 3 года назад +70

      Pointers in 100 seconds please.
      Currently approaching 100 hours and I still have no fucking clue why they appear in the most random places in examples and how they even work to be fair

  • @scvnthorpe__
    @scvnthorpe__ 3 года назад +39

    I've been working a *lot* with python lately, it's been an absolute pleasure.
    Dipping into Rust on the side, but resources there can be trickier sometimes

    • @Lodinn
      @Lodinn 3 года назад +1

      Good choices right there!

  • @kevin.malone
    @kevin.malone 2 года назад +43

    I looove Python for any kind of data related project. ETL jobs, data processing, etc. all become so fluent. But for application development, it really can be a pain. Even for web server, I'm not the biggest fan of Django.
    But my goodness, if I wanna process some csv's, or write a script to standardize data into a specific format, Python has never done me wrong.

    • @ptkstefano
      @ptkstefano 2 года назад +2

      What is your choice for developing web apps? I learned NodeJS to start but found Javascript in general to be too nasty in too many ways (I hate all the callback functions you have to keep making). Also had a hard time with Java and everything breaking for no reason at all. Django has been working nicely for me, but I'd like to hear your input!

    • @kevin.malone
      @kevin.malone 2 года назад +1

      @@ptkstefano Javscript pretty much runs the world for web apps. I hate callbacks too, but most of the main packages have been updated to allow for an async await approach so you don't need to deal with callbacks anymore.
      I'm pretty much exclusively working with TypeScript for anything web related. If you're trying to get a job, Node and React are what to learn. If you wanna do projects for fun, Bun and Svelte can make for a more cutting edge stack to learn.
      No matter which way you go, you can almost always find a way to avoid using callbacks. They make me wanna throwup too, so I can relate.

    • @ptkstefano
      @ptkstefano 2 года назад +2

      @@kevin.malone Great answer, thanks a lot!

  • @chaselegoman
    @chaselegoman Год назад +29

    I started learning Python about a week ago, and this is a really helpful quick summary of some key features.

    • @mariatanya3533
      @mariatanya3533 Год назад +6

      Hey, it’s been 7 months how’s your Python now?😊

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

      maybe he stoped learning it @@mariatanya3533

    • @Gorky25
      @Gorky25 8 месяцев назад +4

      Hey, it’s been 11 months how’s your Python now?🙂

    • @Q8_BUFI
      @Q8_BUFI 4 месяца назад +2

      Hey, it's been 15 months how's your Python now? 😊

  • @jagi7976
    @jagi7976 3 года назад +85

    I started with python and I’m super grateful for it. Learning other languages like Java would’ve been tough without it

    • @Flackon
      @Flackon 3 года назад +19

      I did it the other way around, Java first then Python, but I've never looked back since

    • @StanzArtz1
      @StanzArtz1 3 года назад +18

      @@Flackon Same. Java made me depressed. After mastering Python, I'll probably go for C series instead of Java.

    • @youarethecssformyhtml
      @youarethecssformyhtml 3 года назад +66

      @@StanzArtz1 C will make you more depressed

    • @Lodinn
      @Lodinn 3 года назад +3

      @@youarethecssformyhtml It depends. Some really low level stuff could be done neatly.

    • @youarethecssformyhtml
      @youarethecssformyhtml 3 года назад +1

      @@Lodinn Yeah ik what I meant was that its difficult will make you depressed as it is a low level language and doesn't have a huge number of libraries as Python

  • @CodingEntrepreneurs
    @CodingEntrepreneurs 3 года назад +112

    Python! Django! Big Data! Notebooks!
    How did I not make this video?! 🤔
    Nice work @fireship. Love the videos.

    • @sumanmitraYTC
      @sumanmitraYTC 3 года назад +1

      and we love yours too

    • @ammu_00_7
      @ammu_00_7 3 года назад +1

      Came here via your community post.

  • @sidhantsrivastava7426
    @sidhantsrivastava7426 3 года назад +57

    Loved this video a lot. Can't wait for the full rust tutorial

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

      @@shelbyeb8042 oh come on

  • @gusslx
    @gusslx 3 года назад +140

    Amazing video. Just to point out: notebooks are optional and mainly used in Data Science and ML/DL development. Outside of that, I haven't seen anybody using them, since pure scripting is more common

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

      Saw it recently in a script kiddie app for spamming fake applications to scab jobs at a company with striking workers

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 2 года назад +8

      Jupyter is great for “scratchpad” programming, when you are trying things out.

    • @randomuser5237
      @randomuser5237 2 года назад +9

      Notebooks are not used in any sort of development. They're mainly used as dynamic presentation/report with code, mostly used for teaching purposes in tutorials.

    • @gusslx
      @gusslx 2 года назад +14

      @@randomuser5237 notebooks are indeed used to follow the ML pipeline for model development (data cleaning and processing, model training and validation, etc). Pure scripting is very inefficient for that.

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

      Gustavo, when I first laid my eyes on you, I knew I was in love 😮‍💨😍

  • @coconutz4535
    @coconutz4535 3 года назад +12

    I was asking about this in the previous of 100 seconds, thanks for the video Jeff 🙏🏼

  • @ferret6614
    @ferret6614 2 года назад +44

    python programmer here, ur indentation doesnt have to be 4 spaces, it can be however many spaces you want, you just have to use the same amount throughout ur code

    • @Triskelion345
      @Triskelion345 Год назад +5

      sextillion

    • @blucat4
      @blucat4 10 месяцев назад +3

      How much time did you save by not typing the 'yo' in 'your'?

    • @wherehome
      @wherehome 10 месяцев назад

      @@blucat4 I type at an average of 91.40wpm (monkeytype), this gives us 91.40**-1 minutes per word. Taking the average word length of 5.67 (strainindex.wordpress.com/2008/07/28/the-average-sentence-length/) letters. Then using the standard formula t = letters * average**-1 * wpm**-1 * 60s gives us 2 * 5.67**-1 * 91.40**-1 * 60 = 0.1158s rounded by signficance

    • @cthlbrennan
      @cthlbrennan 10 месяцев назад

      ​@@blucat4 bluecatfour

    • @justxisotatik
      @justxisotatik 6 месяцев назад +1

      PEP 8 will bully you for that

  • @mno239
    @mno239 3 года назад +299

    at this point, you have to do elixir (and its ecosystem: phoenix and liveview)

    • @geniusdev6992
      @geniusdev6992 3 года назад +3

      Me too

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

      Yeah some thing on the FP languages

    • @fallingseasy
      @fallingseasy 3 года назад +1

      yes please!!

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

      DEFINITELY! Elixir is an awesome language: good for networking, purely functional (the paradigm I love using).
      Would love to see Elixir in 100!!!!

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

      I'm so glad someone said it!

  • @Lisa-zq5pf
    @Lisa-zq5pf 2 года назад +1

    As a Python instructor, your video was a good generalization of basic topics, for adults... most of my students are under 13 yrs old my youngest is 7 yrs old and is picking it up , his only caveat is he is a slow typist but as 7 yrs old weren't we all??? Because of the wide range of ages I teach, I try to cover nuisances of name conventions, requested input vs assigned input vs int(input()) , when to use single quotations vs double quotations etc. I try to be very detailed, because the details matter when their working small learning programs so they can find their syntax errors with 1-4 lines of code so a 400-600 line program will be a breeze! Suffice to say, I did enjoy watching your video!!! Kudos to getting the word out on how Python works!

    • @hereandnow3156
      @hereandnow3156 11 месяцев назад

      That's so cool! I also want to teach kids to program. How do you go about doing that for the younger kids?

  • @agamjotsingh7371
    @agamjotsingh7371 3 года назад +8

    Bro! Seriously? I was just searching for python for backend for my flutter app and I just got a notification from my man! Thanku Jeff.
    I will be waiting for django in 100 or beyond 100 seconds video

  • @noaffie
    @noaffie 3 года назад +19

    Amazing video! You should definitely do a 100 seconds on ruby next if you can!

  • @kennethd1362
    @kennethd1362 3 года назад +1218

    The editing in this video is next level 👏🏽
    Great work Jeff!
    FYI, python also powers the Vimeo video player 😉

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

      Wait, really?

    • @masterflitzer
      @masterflitzer 3 года назад +25

      ok but the vimeo player is shit, so i wouldn't use this example for python xD

    • @noop9k
      @noop9k 3 года назад +19

      And C/C++/Java etc. code is likely doing the actual work while Python is providing high level glue logic.

    • @autobot021
      @autobot021 3 года назад +12

      @@noop9k glue logic lol

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

      Did you mean the backend is written in Python?

  • @paulwhiterabbit
    @paulwhiterabbit 3 года назад +35

    I notice many people here doesn't like spaces that much
    but we use spaces for consistency across different editors and use tab if the team is okay with indention looking foreign in differently configured editors
    you press the "tab" key either way

    • @kaan8964
      @kaan8964 2 года назад +5

      In most IDE's, there is an option for automatically converting tabs into 4 spaces so you can be both compatible and efficient

    • @stevenglikin3219
      @stevenglikin3219 Год назад +2

      How does that work? Do you press space 4 times for each indentation? Cause that would add a lot of unnecessary work, slowing down your coding. Or do you just press space 1 time for each indentation? In which case it's a lot less visible to the eye

    • @Famelhaut
      @Famelhaut Год назад +2

      @@stevenglikin3219 you press tab once and the IDE automatically converts that into 4 spaces

    • @yggdrasil75
      @yggdrasil75 Год назад +2

      I prefer tabs because if 1 dev wants to have wide spaces, he can set it in his ide that a tab character is a width of 8. if another prefers 2 spaces, he sets it in his ide. you open in your own text editor and use your own tab width.
      with spaces, if you put it at 4, then every other dev has to use 4 spaces. using anything else breaks everyone elses code because python hates you.

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

      @@stevenglikin3219 There is half a second difference at best, what are you gonna code in that half a second time difference you fucking closet-einstein?
      Some people force their js fanboying a bit too much, its pathetic to say the least.

  • @luiscardenas8816
    @luiscardenas8816 3 года назад +3

    Underrated channel IMO, keep up the good work!

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

    I once read a comment about someone saying that the python logo doesn't look like pythons, but more like two heads with comically large chins

  • @matsomo
    @matsomo 3 года назад +23

    Haven't touched Python in over three years until two days ago when I wanted to recreate one of my object detection apps from university...
    How does this guy always know?

  • @comedyclub333
    @comedyclub333 3 года назад +3

    Your "100 Seconds" videos don't teach me anything new most of the time, but I love to watch them and be like "Look, look! I knew that already!"

  • @The8merp
    @The8merp 3 года назад +3

    Jupyter notebooks are not a default part of the Python language, but rather a open source computational notebook tool, other than that and skipping on list comprehension this video is a very good basic intro.

  • @kadourkadouri3505
    @kadourkadouri3505 3 года назад +3

    Very nice !! We clearly want to see more contents like this more often !

  • @Kilopillz
    @Kilopillz 3 года назад +5

    I really like these 100 second video. I used them for educatainment (education and entertainment). Please make more they are good conversation starters with other devs

  • @alyhdr
    @alyhdr 3 года назад +8

    Just wondering about the effort you put to smuggle in all this info in 100s! Incredible work man keep it up!

  • @spicybaguette7706
    @spicybaguette7706 3 года назад +15

    Can you do Lua? I think it's a really unique language in how it gives you the tools to use all kinds of paradigms while also being really simple and embeddable

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

      i don't think so? unlike something like php, isn't lua almost completely dead?

    • @ThinkAboutVic
      @ThinkAboutVic 3 года назад +2

      @@snesmocha lua isn't even close to dead, and will probably never die because of the existence of lua macros, the only program (afaik) that allows you to read keypresses from different keyboards while distinguishing the sime signal coming from different keyboards, allowing for infinite macros when used alongside autohotkey, among other things. it's used by video editors, flight sim fans, and tom scott making an emoji keyboard.

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

      ​@@ThinkAboutVic also, Lua is just like a "very stripped down Python/Javascript", which makes scripting even easier to integrate into other programming environments.

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

      ​@@snesmochaI mean, the example pictured when Jeff says 'machine learning' early in the video is SethBling's implementation of NEAT for Super Mario World, which was written in Lua. So Lua makes an appearance in this very video

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

    What an awesome introduction 😊 ❤ Thanks SO VERY MUCH for taking time to create this. Extremely helpful.

  • @adarshgourabmahalik9762
    @adarshgourabmahalik9762 3 года назад +20

    Your Accent Suits Perfectly For Lectures! 😄

  • @franciscokennedy8412
    @franciscokennedy8412 Год назад +2

    After watching several channels I finally noticed what their strategy is if you notice there's always something wrong with the videos title or something misspelled what makes people comment and also the short duration of the videos must do something with the RUclips algorithm thus making these channels recommended and appear in your for you even without you watching this content and also the name easy to remember (this comment is translated by Google so it's kind of weird lol)

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

    i simply had no choice but to watch as soon as i saw the notif, great video as usual

  • @AkersJohn
    @AkersJohn 3 года назад +2

    Looking forward to 100 Seconds of Ruby, 100 Seconds of ActionScript, 100 Seconds of Lua, 100 Seconds of Haskell... and whatever other programming languages that originated in the 90s I can think of lol.
    But seriously, these are all great! Much appreciated.

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

    Outstanding intro to The Python Language!

  • @smark12cz
    @smark12cz Год назад +1

    Well. I first saw this video about a year ago and now boom, I'm going to IT school. Thank you so much, you started my real passion

  • @riddhimanpal49
    @riddhimanpal49 2 года назад +2

    I learned more in this 2 minute video then I did in a whole year in a high school computer science class.

  • @haraldarminmassa5231
    @haraldarminmassa5231 3 года назад +1

    I recommend to share this video with the Python Software Foundation. It could be a nice introduction on the website.

  • @minuspi8372
    @minuspi8372 3 года назад +15

    1:39 It doesn't technically have to be 4 spaces. It just needs to be consistent throughout the file.

    • @MrMudbill
      @MrMudbill 3 года назад +18

      well he did say "usually"

    • @samuelyoung1452
      @samuelyoung1452 3 года назад +2

      It just needs to be consistent within a single block.

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

      Yeah, the doc say everywhere to use 4 space instead of tab, but it isn’t required. The same goes for adding semicolon at the end of your line, you can do it but dont do it. (I dont get why tab is a problem tbh but i get why adding semicolon is hell)

  • @Thesnakerox
    @Thesnakerox 3 года назад +2

    I took a few classes that taught programming in Python in school, but they lost me when they started talking about how to condense multiple lines of code into a single line. I think the concept was called List Comprehension, but I don't remember for sure...

  • @WajeehMisbahKhan
    @WajeehMisbahKhan 3 года назад +17

    0:10 *frantically checking why my mouse is moving on its own*

  • @waqarshaikh716
    @waqarshaikh716 3 года назад +2

    Most awaited video! Finally done.
    Now waiting for Django.

  • @OceanSlim
    @OceanSlim Год назад +4

    I've been coding for half a year and I'm just now learning about notebooks...

  • @MindlessTurtle
    @MindlessTurtle 3 года назад +2

    Can't believe you haven't made a Python video already. Also can't believe you did a PHP video before it.

  • @titusfx
    @titusfx 3 года назад +8

    Pointing out 1:10, Is strongly type because at any time om runtime always has a type. And typing error are prevented on runtime. And is dynamic type because the well known duck typing term. Nothing to do with the explicit type on variables .the explicit type on variables is static type checking, is when the compiler, on compiler time, gives you error before you run your program.

    • @samuelyoung1452
      @samuelyoung1452 3 года назад +1

      Thanks, was confused about this myself.

    • @danielegvi
      @danielegvi 3 года назад +3

      You had the right idea, but slightly off. It is strongly typed because it does not allow different types to implictly mix. It is dynamically typed because (1) types are bound to values, not variables, and (2) the type is known and checked at run time. It is implicitly typed by default, but allows explicit type annotations, which enable the types to be statically analyzable. They would be checked at both design time and at run time. The language remains dynamic, because the types on the variables are erased/ignored at run time.

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

      For example, JS is implicitly typed and dynamically typed like Python, but weakly typed since its core operations allow types to be mixed silently. C++, C#, Java and Rust are statically typed (types are known at compile time, and bound to variables) but all of these languages allow implicit typing, since the compiler can infer those types. Another interesting thing is “void *” in C and C++, it is weakly typed, since it is not known what it points to, allowing different pointed-to types to mix, but the type is still known at compile time: it is just the size of a pointer, regardless of what it points to.

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

      python is not strongly typed

    • @danielegvi
      @danielegvi 3 года назад +3

      @@nano8640 try doing 1 + “1” and seeing what you get

  • @MartinAaberge
    @MartinAaberge 3 года назад +1

    Man, this video is just beautiful! Great job :D

  • @hidude1354
    @hidude1354 2 года назад +5

    two best things I would highlight:
    1) list comphrension: generating a whole list that follows a function in one line? god this is amazing
    2) negative indices: traversing a list from right-left is insanely underrated

  • @স্বচ্ছনিরবতা
    @স্বচ্ছনিরবতা 3 года назад +17

    Backend development with python is just 🤩❤️
    Just love Django and FastAPI

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

    .ipynb notebooks have nothing to do with core Python, that comes with jupyter which is a tool to run python interactively. mostly used for data analytics / machine learning and other applications where you want to run code line by line and see the output.

  • @sindref
    @sindref 3 года назад +8

    Really well made me feel like i was watching an entire 2 hour long documentary! Great video!

  • @BeatriceCarlucci
    @BeatriceCarlucci 5 месяцев назад

    For many who keep asking, I did infact become a computer programmer. I started here learning Python. Then I moved to others like Java and c sharp and plus plus to name a few. I even learned Fortran because of a job needed it(very useful but not at the same time, lol). I've turned a page from working with a company and decided to design games a long time dream of mine. I hope wholeheartedly that this video helps all of you the same way it did for me. Thank you all for the best wishes. They've helped me push along even when I felt I couldn't go any further. You all are the best!

  • @peegee101
    @peegee101 3 года назад +26

    Once again, good stuff! The only minor detail is that vast difference between ipython and python interperters, and therefore notebooks vs *.py files. But then again, would that fit within the 100 seconds budget..?

    •  2 года назад

      I use ipython quite often, but never got into notebooks.

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

    Thank you Fireship dude. I have a Data Science class tomorrow and the professor assumes that we already know python. Now, I hhave some things or two to use tomorrow.🙂

  • @fayemibolu9133
    @fayemibolu9133 3 года назад +5

    This is incredible. So much covered in short time

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

    You are making a tresure for the generations to come with those videos

  • @konradd8545
    @konradd8545 3 года назад +10

    As somebody that knows (or knew at some point) C/C++, Java, Javascript, VB, Rexx, and even some Assembler, I can safely say that Python is my favorite one

  • @Anti-HyperLink
    @Anti-HyperLink Год назад

    You can define multiple variables on the same line? Holy fuck, I keep learning new things to make Python easier. I'm making a text based RPG that I started in a recent college course.

  • @Thiagola92
    @Thiagola92 3 года назад +16

    While i love the video, i would appreciate if it was clear that python notebook is not included in python
    0:50 "it's code is often organized in notebooks" - not true if you don't use python notebook
    0:58 "you can get start by creating a file that end with .py or .ipynb" - not true if you don't install python notebook

    • @Lodinn
      @Lodinn 3 года назад +2

      By the same argument, lots of things in Python are very hard if you choose not to use pip install. Notebooks are a questionable practice in many cases but it doesn't make it less true that it is a *common* practice.

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

      ​@@Lodinn I am just pointing that you need to be clear because any new programmer seen this could think that you should write Python in notebooks and that .ipynb is a file format for Python. Is good to be clear that you are talking about the AI and ML. Python is used in many others areas and it doesn't include Python Notebook. For example, many Linux distributions use Python and is not common practice to use Python Notebook in this area.

    • @Lodinn
      @Lodinn 3 года назад +1

      @@Thiagola92 Funny that, I do not really use notebooks that much for AI/ML but I do use them for some other sandboxing. I agree the choice of what to focus on in the video was bit questionable though.

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

    I have questions, please. 1. If you're a stay-at-home mum learning coding for the first time (to work from home before the school run), do I have a hope of learning Python? Should I first learn html, css and Scratch (as a way of also learning coding with my 4yo daughter) and be confident of these programming languages before learning Python? 2. Is the advent of ChatGP and other AI-type programmes the end of human coding jobs? Or if learning coding, should I also focus on machine learning and AI to remain relevant in these jobs in the future? The question is also for my daughter - if at 4yo now, she is interested in playing Scratch and other computer games, will she have a job in coding in the future or will these jobs go to AI? Maybe she and I should be learning hunting and foraging instead! ;) Thank you.

  • @luis96xd
    @luis96xd 3 года назад +8

    Wow, this is awesome! Our requests were heard, a Python video! I loved it! Thank you so much! 😄😄
    Amazing editing as ever, nice information, great summary :D
    In the future, can you make a video about *Python Kivy* module for creating mobile apps and then comparing to flutter or react native

  • @verified_tinker1818
    @verified_tinker1818 3 года назад +1

    Great as always. Will you do Elexir?

  • @ThankYouESM
    @ThankYouESM 3 года назад +3

    Subscribed! I love the introductions of 100 seconds. I feel like if you were to teach us how to create games for any platform... most of us would quickly learn how to do so quite proficiently.

  • @Mstislav_Efimov
    @Mstislav_Efimov 3 месяца назад +1

    Thank you for such a great guide!

  • @hellblazer7
    @hellblazer7 Год назад +6

    Never noticed it, but that 'hi mom' hits hard now.

  • @enthogenesis
    @enthogenesis 3 года назад +1

    Love what you do & how you do it man

  • @menardmaranan9356
    @menardmaranan9356 3 года назад +69

    I can't believe it's finally HERE!!!!!!!!
    This is the language that ushered me into development and software engineering 🤧 And I owe my career and skills to Python
    🐍 is ♥

  • @jacksonyon5276
    @jacksonyon5276 3 года назад +1

    Freshman in college and I have no experience in coding at all. And I’m gonna need it as I’m going to be majoring in atmospheric sciences and gonna try to get a masters degree. This is what they’re using for it so this will be fun 😄

  • @realpotatogaming
    @realpotatogaming Год назад +975

    143 seconds

    • @firearmnightcore3054
      @firearmnightcore3054 10 месяцев назад +174

      It needs to be interpreted first, that's why it takes time

    • @Nyxpixel
      @Nyxpixel 10 месяцев назад +11

      Dang

    • @AdibasWakfu
      @AdibasWakfu 9 месяцев назад +42

      you are obligated to unlearn any 43 seconds of your choosing

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

      ​@@firearmnightcore3054 DANGGG

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

      I refuse to like at 143 likes lol

  • @eksortso
    @eksortso 10 месяцев назад

    Very good! I especially like the strong/dynamic distinction drawn early on in the video. My only quibble is that despite a few assertions to the contrary, Jupyter notebooks are not a built-in part of Python. I've always preferred a REPL (and I install ptpython for that; it's my fav) over the overly elaborate Jupiter notebook framework. But that's maybe just me.

  • @Pohie
    @Pohie Год назад +6

    I’m learning Python right now, and I love that it doesn’t use brackets. It makes things a lot easier.

    • @yggdrasil75
      @yggdrasil75 Год назад +3

      I hate it. deeply nested stuff with lots of for loops and withs and such force you to sidescroll. if it was bracketed, then I could just wrap stuff easily. 1 method I had to read the other day to fix a bug in had 12 indents. would have been 11, but the original dev decided to double indent 1 line so all the rest after it are as well. with c# I can easily make it 5 indents. the with becomes usings and I have 3 usings 1 after the other, then a bracketed section, a for loop, and a few more usings together.

  • @recordingerror
    @recordingerror 11 месяцев назад

    python was also used to build JPL's library for aerospace tools. the library is called Monte

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

    1:36 four spaces? That's a weird way of saying 1 tab.

    • @paulwhiterabbit
      @paulwhiterabbit 3 года назад +2

      the recommended size of a tab is 4 spaces, you can make it 2 spaces if you want

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

    i actually started programming around the new years eve 2023 and picked python bcs i heard that its an easy beginner friendly language...
    and i still use it.

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

      whats your point? that you are not learning other technology?

  • @gertjanvandenbroek1620
    @gertjanvandenbroek1620 3 года назад +14

    Hey, just to be real for a second.
    If a nasty comment got you down for some reason, do take to heart that you're doing more good for 99% of your viewers.
    Don't let a few nasty comment ruin your upload experience. Honestly, you're doing great!
    Not sure if you needed a comment like this, I certainly hope not. But if you did, then.. you're welcome. And if you didn't, you're welcome.

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

      @Caleb Newman92 yeah, LoL even I saw that comment.

  • @schlopping
    @schlopping 3 года назад +2

    Was hoping to hear you talk about list comprehension

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

    0:07 there's no javascript 😥

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

    1:07 I think you've got it other way around. "Statically typed" means it won't change throughout the program.

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

      No, he said it won't change in unexpected ways, which is true

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

    The art of programming in 100 seconds

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

    Woah this was actually super helpful, thank you for this

  • @Mrslykid1992
    @Mrslykid1992 3 года назад +2

    I love how c and java are second and third place but python engine also utilizes C and for threading java

    •  2 года назад

      "for threading java". What the heck are you talking about?

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

      @ Ready this excerpt in Threading.py:
      # Note regarding PEP 8 compliant names
      # This threading model was originally inspired by Java, and inherited
      # the convention of camelCase function and method names from that
      # language. Those original names are not in any imminent danger of
      # being deprecated (even for Py3k),so this module provides them as an
      # alias for the PEP 8 compliant names
      # Note that using the new PEP 8 compliant names facilitates substitution
      # with the multiprocessing module, which doesn't provide the old
      # Java inspired names.

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

    Thanks for the video. Which editing software do you use for creating such cool videos?

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

    I am a data scientist. I could probably make some use of Python some day. Never heard of any 🐍 until now... Where are you finding so many languages? Everyone is using R, right?

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

      While R is being used, of course, python largely dominates the data science field globally

  • @marc_frank
    @marc_frank 11 месяцев назад

    proper indentation is the thing many people learning to code overlook
    their code looks horrible and they can't tell where the function ends, so they forget some }}
    if start with python, indentation will be engrained, so i think that's great

  • @EchterAlsFake
    @EchterAlsFake 2 года назад +6

    As I was 12 years old I installed Visual Studio, because I wanted to learn C++.... After watching one tutorial on RUclips I uninstalled it and installed python. Now i've been learning it for 3 years and passively and actively and i am very happy with it. Python is very powerfull and the syntax is like a girl that's using no social media. Both is beautiful ;)

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

    I am watching this again when I am more experienced.
    Right now my brain is trying to reciver from information overload.
    🧠🔥

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

    sheesh, we all have been waiting for this forever

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

    great! thanks!!! i might start learning python soon, just the appetizer i needed :)

  • @mfaizsyahmi
    @mfaizsyahmi 3 года назад +3

    Python's "batteries included" standard library also sets it apart from other languages. for everything else, there's pip.

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

    Your output is straight up insane

  • @jakobmeibeyer
    @jakobmeibeyer 3 года назад +3

    What about a Tensorflow in 100secs? 🥰

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

      Tensorflow: we got more issues in the tracker than flesh and blood could ever endure.

  • @OLdgRiFF
    @OLdgRiFF Месяц назад

    Went to subscribe and was already. Thanks for the info

  • @tylersustare
    @tylersustare 3 года назад +6

    Yeeesssssss! Python is 🙌 I can't wait for Ruby on Rails in 💯 🔥🔥

    • @tiedye001
      @tiedye001 3 года назад +1

      I wish ror didn't exist, it's horrible

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

      I love Ruby

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

      @@MysteriousStranger08 What do you like about it? I feel like I'm missing something because obviously there are people who like it. Can you make any comparisons to any of these languages (python/typescript/scala/rust)?

    • @MysteriousStranger08
      @MysteriousStranger08 3 года назад +1

      ​@@tiedye001 You're not really missing anything. It boils down to personal preference and is quite subjective (just like picking a car). I like Ruby because I can solve problems quickly, expressively, and efficiently in it, it's also easy to read. It's a fun language for me as compared to others I use, and I find myself being more productive with it.
      I don't use it for my job and most occasions I wouldn't pick Ruby, but if a situation arises where I can use it I would out of pure preference really.

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

      @@MysteriousStranger08 Fair enough, thanks

  • @_romeopeter
    @_romeopeter 3 года назад +1

    This was awesome 🔥
    Could you do Rust too?

  • @business_central
    @business_central 3 года назад +3

    RUclips is in python??? Never thought python had enough front end capabilities for such

    • @JBuchmann
      @JBuchmann 3 года назад +5

      He prob means it runs the backend. He can't say things too specifically if he wants to finish in 100 sec 😄

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

    I love Python. It's the new BASIC. It reminding me of BASIC is one of the reasons I learnt it.

  • @alexxx4434
    @alexxx4434 3 года назад +5

    Coupling format with syntax was a profoundly shortsighted idea. It creates more problems than it solves.