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 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 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.
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 ?
@@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
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 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)
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.
@@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
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
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.
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.
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!
@@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.
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
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
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.
@@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.
@@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
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
@@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
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
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
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.
@@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.
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!
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
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 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.
@@ThinkAboutVic also, Lua is just like a "very stripped down Python/Javascript", which makes scripting even easier to integrate into other programming environments.
@@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
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.
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.
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
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?
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.
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.
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.
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
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)
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
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.
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 ♥
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 UA-cam 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)
.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.
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.
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
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.
@@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.
@@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.
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!
@ 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.
python is so high level that it must support this operators: 'abcdef'/3 = ('ab', 'cd', 'ef'). +'hello' = 'HELLO' -'HeLlO' = 'hello' 'hello' - 'el' = 'hlo'. 'hello'*-3 = 'olleholleholleh'
@@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)?
@@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.
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.
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.🙂
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.
As I was 12 years old I installed Visual Studio, because I wanted to learn C++.... After watching one tutorial on UA-cam 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 ;)
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.
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...
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
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?
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.
Every other language: Nooo, you can't multiply strings and integers together
Python: "Haha, string and int multiplication goes b" + "r" * 8
Not even speaking of the syntax...
@@shelbyeb8042 Pathetic...
At least, the behavior is somewhat intuitive and the operation is commutative as well.
@@Nexus-rt1bm Not true at all
yeah, this is the kind of thing that makes me scared to use python for bigger projects
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.
Why is it so common for such computation-intensive applications if the performance is lacking?
@@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
@@amagicmuffin1191 As always, laziness prevails in this industry.
@@puppergump4117 efficiency is laziness?
@@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.
0:30 "And is the language of choice for big data and machine learning" *Proceeds to show MarI/O, which was written in Lua*
Oops, good thing Lua is on the list
@@Fireship Maybe lua in 100 secs ?
@@pumpkin162 I think that was what he meant in that reply
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 ?
@@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
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.
I'm new to python and I hear it's slow , this narrative discourages me. I don't know if I should continue
@@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)
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.
@@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
ua-cam.com/users/shortsxlf3uMv70dI?feature=share
I love these 100 second videos! They're full of useful information that sometimes is difficult to find in multi hour long videos
Ok but when silksong
when is silksong coming
silksong though
When about silksong
silksong pls
Mate, can you make C++ in 100 seconds ?, computer engineering students would love it 😅
me too
🤣
🤣🤣🤣👌🏿
C with so much syntax sugar that your legs get immediately blown off. Because diabetes.
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
You forgot to mention list comprehensions (generator expressions) - mind blowing when you first encounter them.
Yeah so much for implicit < explicit.
there is also dict comprehensions work same as list
they are pretty dope
also negative indexes and slices to parcours lists, tuples, strings way easier than in other languages
@@codediporpal they are still explicit as for loop and comprehensions still contains exactly the same instructions. They just differently structured.
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.
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.
My two fav languages: PHP, Python
then what? :(
ua-cam.com/users/shortsYijaUQZN1EQ?feature=share
@@radubuta5004 ua-cam.com/users/shortsYijaUQZN1EQ?feature=share
100 languages in 10000 seconds
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.
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!
@@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.
@@kevin.malone Great answer, thanks a lot!
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
Good choices right there!
I started learning Python about a week ago, and this is a really helpful quick summary of some key features.
Hey, it’s been 7 months how’s your Python now?😊
maybe he stoped learning it @@mariatanya3533
Hey, it’s been 11 months how’s your Python now?🙂
Hey, it's been 15 months how's your Python now? 😊
at this point, you have to do elixir (and its ecosystem: phoenix and liveview)
Me too
Yeah some thing on the FP languages
yes please!!
DEFINITELY! Elixir is an awesome language: good for networking, purely functional (the paradigm I love using).
Would love to see Elixir in 100!!!!
I'm so glad someone said it!
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
Saw it recently in a script kiddie app for spamming fake applications to scab jobs at a company with striking workers
Jupyter is great for “scratchpad” programming, when you are trying things out.
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.
@@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.
Gustavo, when I first laid my eyes on you, I knew I was in love 😮💨😍
Loved this video a lot. Can't wait for the full rust tutorial
@@shelbyeb8042 oh come on
I started with python and I’m super grateful for it. Learning other languages like Java would’ve been tough without it
I did it the other way around, Java first then Python, but I've never looked back since
@@Flackon Same. Java made me depressed. After mastering Python, I'll probably go for C series instead of Java.
@@StanzArtz1 C will make you more depressed
@@youarethecssformyhtml It depends. Some really low level stuff could be done neatly.
@@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
Python! Django! Big Data! Notebooks!
How did I not make this video?! 🤔
Nice work @fireship. Love the videos.
and we love yours too
Came here via your community post.
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
sextillion
How much time did you save by not typing the 'yo' in 'your'?
@@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
@@blucat4 bluecatfour
PEP 8 will bully you for that
The editing in this video is next level 👏🏽
Great work Jeff!
FYI, python also powers the Vimeo video player 😉
Wait, really?
ok but the vimeo player is shit, so i wouldn't use this example for python xD
And C/C++/Java etc. code is likely doing the actual work while Python is providing high level glue logic.
@@noop9k glue logic lol
Did you mean the backend is written in Python?
I was asking about this in the previous of 100 seconds, thanks for the video Jeff 🙏🏼
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
In most IDE's, there is an option for automatically converting tabs into 4 spaces so you can be both compatible and efficient
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
@@stevenglikin3219 you press tab once and the IDE automatically converts that into 4 spaces
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.
@@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.
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!
That's so cool! I also want to teach kids to program. How do you go about doing that for the younger kids?
Amazing video! You should definitely do a 100 seconds on ruby next if you can!
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!"
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
How did it go? Did you use python for your backend? Which framework? Just want to know :)
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
i don't think so? unlike something like php, isn't lua almost completely dead?
@@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.
@@ThinkAboutVic also, Lua is just like a "very stripped down Python/Javascript", which makes scripting even easier to integrate into other programming environments.
@@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
Your Accent Suits Perfectly For Lectures! 😄
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.
Outstanding intro to The Python Language!
Underrated channel IMO, keep up the good work!
0:10 *frantically checking why my mouse is moving on its own*
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.
Haskell and Lua would be great.
143 seconds
It needs to be interpreted first, that's why it takes time
Dang
you are obligated to unlearn any 43 seconds of your choosing
@@firearmnightcore3054 DANGGG
I refuse to like at 143 likes lol
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
i simply had no choice but to watch as soon as i saw the notif, great video as usual
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?
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
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.
Thanks, was confused about this myself.
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.
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.
python is not strongly typed
@@nano8640 try doing 1 + “1” and seeing what you get
Backend development with python is just 🤩❤️
Just love Django and FastAPI
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
Very nice !! We clearly want to see more contents like this more often !
I learned more in this 2 minute video then I did in a whole year in a high school computer science class.
Just wondering about the effort you put to smuggle in all this info in 100s! Incredible work man keep it up!
Most awaited video! Finally done.
Now waiting for Django.
1:39 It doesn't technically have to be 4 spaces. It just needs to be consistent throughout the file.
well he did say "usually"
It just needs to be consistent within a single block.
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)
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
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
File name formats 1:03
Variable creation: 1:06
Function: 1:35
I've been coding for half a year and I'm just now learning about notebooks...
What an awesome introduction 😊 ❤ Thanks SO VERY MUCH for taking time to create this. Extremely helpful.
The art of programming in 100 seconds
Thank you for such a great guide!
Really well made me feel like i was watching an entire 2 hour long documentary! Great video!
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.
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 ♥
I recommend to share this video with the Python Software Foundation. It could be a nice introduction on the website.
Never noticed it, but that 'hi mom' hits hard now.
That's exactly what came to my mind
same
didn't age well...
Can't believe you haven't made a Python video already. Also can't believe you did a PHP video before it.
This is incredible. So much covered in short time
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 UA-cam 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)
.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.
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..?
I use ipython quite often, but never got into notebooks.
sheesh, we all have been waiting for this forever
U r mom
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
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.
@@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.
@@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.
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!
Python: We are a dynamic language emphasizing readability.
Also Python: we don't have switch case here.
I love Python. It's the new BASIC. It reminding me of BASIC is one of the reasons I learnt it.
I love how c and java are second and third place but python engine also utilizes C and for threading java
"for threading java". What the heck are you talking about?
@ 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.
python is so high level that it must support this operators:
'abcdef'/3 = ('ab', 'cd', 'ef').
+'hello' = 'HELLO'
-'HeLlO' = 'hello'
'hello' - 'el' = 'hlo'.
'hello'*-3 = 'olleholleholleh'
Yeeesssssss! Python is 🙌 I can't wait for Ruby on Rails in 💯 🔥🔥
I wish ror didn't exist, it's horrible
I love Ruby
@@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)?
@@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.
@@MysteriousStranger08 Fair enough, thanks
Man, this video is just beautiful! Great job :D
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.
@Caleb Newman92 yeah, LoL even I saw that comment.
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.🙂
I’m learning Python right now, and I love that it doesn’t use brackets. It makes things a lot easier.
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.
Was hoping to hear you talk about list comprehension
As I was 12 years old I installed Visual Studio, because I wanted to learn C++.... After watching one tutorial on UA-cam 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 ;)
You are making a tresure for the generations to come with those videos
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.
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...
0:07 there's no javascript 😥
Man Python is so versatile 100 seconds are not enough
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
thank you i am now an advanced python coder
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?
While R is being used, of course, python largely dominates the data science field globally
I am watching this again when I am more experienced.
Right now my brain is trying to reciver from information overload.
🧠🔥
1:36 four spaces? That's a weird way of saying 1 tab.
the recommended size of a tab is 4 spaces, you can make it 2 spaces if you want
Which software is do you use for editing???
Python's "batteries included" standard library also sets it apart from other languages. for everything else, there's pip.
Great as always. Will you do Elexir?
Coupling format with syntax was a profoundly shortsighted idea. It creates more problems than it solves.
Love what you do & how you do it man
UA-cam is in python??? Never thought python had enough front end capabilities for such
He prob means it runs the backend. He can't say things too specifically if he wants to finish in 100 sec 😄
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.
“It’s just Django, the D is silent.”
Oh! Didn't know about that `import this` 🔥
thank you babes - Hamza
I am long - Hamza
This was awesome 🔥
Could you do Rust too?
I prefer python without the curly braces it looks so much more cleaner and readable
python was also used to build JPL's library for aerospace tools. the library is called Monte
What about a Tensorflow in 100secs? 🥰
Tensorflow: we got more issues in the tracker than flesh and blood could ever endure.