NEW Python 3.11 !!!
Check out WHAT'S NEW in Python 3.11! docs.python.org/3.11/whatsnew...
Help the channel grow with a Like, Comment, & Subscribe!
❤️ Support ➡ j-h.io/patreon ↔ j-h.io/paypal ↔ j-h.io/buymeacoffee
Check out the affiliates below for more free or discounted learning!
🖥️ Zero-Point Security ➡ Certified Red Team Operator j-h.io/crto
💻Zero-Point Security ➡ C2 Development with C# j-h.io/c2dev
🐜Zero2Automated ➡ Ultimate Malware Reverse Engineering j-h.io/zero2auto
🐜Zero2Automated ➡ MISP & Malware Sandbox j-h.io/zero2auto-sandbox
⛳Point3 ESCALATE ➡ Top-Notch Capture the Flag Training j-h.io/escalate
👨🏻💻7aSecurity ➡ Hacking Courses & Pentesting j-h.io/7asecurity
📗Humble Bundle ➡ j-h.io/humblebundle
🐶Snyk ➡ j-h.io/snyk
🤹♀️SkillShare ➡ j-h.io/skillshare
🌎Follow me! ➡ j-h.io/discord ↔ j-h.io/twitter ↔ j-h.io/linkedin ↔ j-h.io/instagram ↔ j-h.io/tiktok
📧Contact me! (I may be very slow to respond or completely unable to)
🤝Sponsorship Inquiries ➡ j-h.io/sponsorship
🚩 CTF Hosting Requests ➡ j-h.io/ctf
🎤 Speaking Requests ➡ j-h.io/speaking
💥 Malware Submission ➡ j-h.io/malware
❓ Everything Else ➡ j-h.io/etc
Пікірлер: 151
I never thought they actually wanted their language faster than its snake...
@xXixaMXx
Жыл бұрын
Which snake Mr. HuntingKing?
@HuntingKingYT
Жыл бұрын
@@xXixaMXx Python
@dinoscheidt
Жыл бұрын
@@xXixaMXx obviously the Thonpy
@glennmerrill88ify
Жыл бұрын
@@HuntingKingYT No not the programming language, what snake?
@HuntingKingYT
Жыл бұрын
@@glennmerrill88ify Python
Really appreciate!! I never thought you'll create a video within few hours after its initial release.
Super Happy to see you around in KZread :)
I enjoyed this quick hitter. Thanks John.
That change to glob makes so much sense, it's such a pain writing extra code to figure out which values from glob are a directory or a file
John, I just want to thank you for being such a great creator! I love your videos and I think everyone can learn so much from you! Never stop! :)
Love this coverage of the new Python release features! I knew about the enhanced traceback annotations and I was super excited about that! I watched a bunch of videos on asyncio yesterday and, just like what you said, I felt dumb ha ha. I'm not a programmer, but I enjoy scripting things out in Python and this release should be a fun one! Great content, as usual and keep it up!
Hi John, Thank you for the quick overview! ✅
Nice you fullscreened the unregistered sublime window 😁
Actually, Python is a strongly typed dynamic language. Each object has a specific type. It's only that variables can point to objects of different types during their (the variables') lifetimes, which is not possible in statically typed languages.
Great video... What the heck is your Sublime text font?
Great job bro ... tks a lot 🎉
Best outro so far man!
Thanks Seth
A small correction at 1:20. Python does not really have weak typing. eg you can't add the string "5" tot the integer 3 and expect it to work, Python doesn't really do type mixing except ints and floats sometimes. Python does however have dynamic typing which I think is what you referred to, dynamic meaning that the type of a variable is checked during runtime instead of compile time.
@lmnts556
Жыл бұрын
You can but you have to change the types and change them back if needed.
@qexat
Жыл бұрын
More than "not really have weak typing", python *is* strongly typed. edit: fixed tiredness
@idekenterprises9734
Жыл бұрын
@@lmnts556 Making it not weak lol
@lmnts556
Жыл бұрын
@@idekenterprises9734 I am talking in terms of what the language can and can't do. Not in terms of definitions.
@ko-Daegu
Жыл бұрын
and that' why i like py but I don't about JS
Thx John
1:19 is python weakly typed? I thought it was strongly typed but dynamic.
@wouterdebie6754
Жыл бұрын
Came here to say this
@alagunoff
Жыл бұрын
I think he meant that there are not very many type annotations in python modules as, for example, in typescript’s libraries
@wouterdebie6754
Жыл бұрын
@@alagunoff Which is why python is dynamically typed. Not weakly.
@alagunoff
Жыл бұрын
@@wouterdebie6754 you did not get me dude) and dynamic typing is in another typing category than weak typing
Woohoo for 3.11!
thumbs up for the outro :)
yay can’t wait to have another version i need to install just for literally 1 project that uses it
let's gooo pip install --upgrade pip!
I had hopes for the walrus symbol, but it never got accepted :( it made sense to me as it was easily visual to know when a variable was being reassigned or created for the first time.
I like the new asyncio.TaskGroup, but what I dislike is the fact, that you can't get Exceptions as a return value. One occurring Exception in a task cancels all other tasks of the TaskGroup. If you have many taks, where some of them fail, but the result from non-failed tasks are important, then you've still to use asyncio.gather(..., return_exceptions=True).
I always hear its good not to touch python for 6 months after its first release version - for anything production related
Python got buffed ! Nice
@christianmingle3394
Жыл бұрын
Let’s hope it doesn’t get nerfed before worlds /s
I'd say a great improvement
What happened to Python version numbering? My last Python installation was 3.8x. And now you use 3.2x numbering and it's not look like a regression. Could you please explain what is going on?
@caseyhassan6136
Жыл бұрын
3.8 is pronounced thee point eight 3.20, 3.21, 3.2x is pronounced three point twenty one, three point twenty one etc..... The first number before the point is the language version and the number after the point is the actual improvement releases. Idk if that makes sense but you get the point
Even if rust doesn’t become mainstream, it’s impacting other languages like Python.
@Angel-Pizzaeater
Жыл бұрын
Rust is crap
@Cantor214
Жыл бұрын
Rust is making its way into the Linux Kernel.
Time to get back to Python....
looks like choco just approved 3.10.8 so may be a minute on the validation. =D
when i use python i don't feel like coding , i feel it's just like psudo code, and it is slow on some stages but after some updates they are optimizing the language (still not using) i prefer using java (now we can use with bash code (like ./file.java)after java 17 )
@yoratoni_depreciated
Жыл бұрын
It really depends on the project, I worked on big Python projects, and yeah, it feels more like coding when it's a complex architecture
@Haskellor
Жыл бұрын
@@yoratoni_depreciated Completely agreed. And nice Nepal avatar, if I'm not mistaking.
@intelchip_x86
Жыл бұрын
@@yoratoni_depreciated if youre working with small scripts, its more of a quick and dirty way to do something, where the script is as basic as stacking blocks
How i can learn coding scripts with python like John. Any advice?
i do not knew if you watch Matt parker video about the 5 words with 25 unique letters. Would the new improvements reduce the computation time? Initially the code finished in 30 days, other people improved the accuracy below 1 second.
Hi, I've downloaded python 3.11.1 and I can't seem to enable number lines even on IDLE.
With every single python release, my old code also produces more exception releases.
python up😎
I need to get back to programming. I need to relearn python, especially as last I used it was 2.6
I run Windows 11 on Intel Pentium P6100 Laptop with HDD and 4 GB DDR3 and I can say that it HAVE better speed now. ;)
oh my
Gotta go fast.
KZread wtf i am getting notification after 6 days of upload
I really gotta learn Python. Been one of those "I should play with this" things for a long time haha.
@lmnts556
Жыл бұрын
I did and its definitely worth it.
@pyp2205
Жыл бұрын
Definitely learn Python, it was the language that helped me better understand programming a few years ago (I tried learning languages like C, C++, C#, Java, etc. but I somehow couldn't understand anything). Heck I didn't even know it existed until I wanted to switch classes in freshman year of highschool. And I saw a programming class to learn Python (that's pretty much when I heard about Python's existence). Now I've been moving onto other languages that I couldn't understand in the past. And now it's pretty easy to understand a lot of things (at least most things, I find some stuff to learn when I encounter something I don't seem to understand).
@lmnts556
Жыл бұрын
@@pyp2205 Python can be the gateway for many who wants to dabble in programming to other and harder languages in time.
It is great we are getting faster Python once again and I hope this trend will continue, but what I don't understand is why can't we simply make it fast as Julia (C speed), when the syntax seems pretty much the same, compilation time is almost non-existent.. like why do we have no options to accelerate Python and to be compiled language as an option.. maybe its impossible for some reason
@henriquemuccilloschumacher542
Жыл бұрын
Actually you have some options, if you want faster python you can use PyPy, it is a JIT Compiled python, which is probably like 10x faster than normal python and can optimize your code, but normal python doesn't compile your code, it interprets the code and from what i know interpreters don't optimize code so you mostly would need to manually change your code to achieve some optimizations that any compiler would do for you So pypy should be your main option if you want to stick with Python while also having a speed closer to compiled languages, it works really well and can probably achieve what you want (i saw that some libs are incompatible with pypy and that's a reason not everyone is using it) If you wanted compilation ahead of time then i must say python is not designed to be compiled ahead of time, i even remember seeing this quote from Elon Musk : "Our NN is initially in Python for rapid iteration, then converted to C++/C/raw metal driver code for speed (important!)." , i think it's really easier to just do the same: convert Python to C/C++ which have really mature and good compilers instead of trying to have a new python compiler when in my opnion most python developers choose python because they don't care about speed, want something easy and fast to develop still if you really want to be memory efficient and is really worried about speed then you should just go with C/C++/Rust, those languages are really designed to be closer to bare metal and have compilers that can generate really optimal code, you can write the code that needs performance in pure C/C++/Rust and have it be called from python by using a DLL/Shared object, that's mostly how a lot of python libs work like pygame(SDL wrapper), any machine learning lib (they all use C/C++ code beneath a python API)
Haha leave it to John to make an announcement about Python
I can't install kivy on python 3.11 .please help me
I'll download Pi-thon when it gets to version 3.14 ;)
@intelchip_x86
Жыл бұрын
you dirty bastard
@argonwheatbelly637
Жыл бұрын
So, you'll program in Thon. Of course, there will be letter versions, so you might wait for version 'g'. Yes, Python 3.14g, also known as "Thong." 😂
Loving the new python 3.11 Error handling!
Hi John :)
Are batteries included?👀
It's not true that Python is a weakly typed language - it is strongly typed. Just because Python can infer by itself the type of something does not mean it is weakly typed.
Bro I m here remember me
fuck yea new python i fucking love python!
Damnnn
TOML looks like .ini files
i just ran a fidget spinner 3.12
Is the name of the variable for a reason. LOL
i need faster Autoit
I cant install pygame and tensorflow ☹️
@pyp2205
Жыл бұрын
Well most Python modules installed from pip, may not be compatible with newer versions of Python. Because I had this kind of issue in the past, and typically it would work after a while when the people maintaining it update it to support a newer version of Python. So you're definitely not the only person who might be having this problem.
Man i just upgraded from 3.8 goddamn it
you forgot to deals with loggin changes
Say every time the drops a new main version it install in a new directory in windows, can you post a video on how to get our libraries back. Like 3.9 i hacve a great version of Pandas, 3.10 i had to download and the new CSV handlers suxz to put it nicely.
@Ashmoreinc
Жыл бұрын
To be fair, for the most part you should really be using virtual environments anyway. Freeze all reqs into a requirements.txt and then pip install from that file.
Python for workgroups.
Python bashed some dreams I recently had, so I'm staunchly against even attempting to learn it (yea I'm butt hurt). That said this may Change my mind
@christianmingle3394
Жыл бұрын
Care to elaborate a little? Lol I’m curious now
Finally, my snakes will be as good at telling me how I fucked up as other people's crabs are.
The Python team is taking ques from Rust
Python starting to look like rust
hi everyone 👋
Yeys, but does it really matter if it's 10% faster?
@shallex5744
Жыл бұрын
yes
@thekokoserver
Жыл бұрын
Yes very much
@rahulsetrakian
Жыл бұрын
@@thekokoserver so when it was 10% slower, why did people still used it?
@nawaz_haider
Жыл бұрын
deploy a largescale application on cloud and you will understand
@rahulsetrakian
Жыл бұрын
@@nawaz_haider if no one uses it, then it doesn't matter, people just do fine with slower languages too, if it works and people actual use it, my opinion. no offense
Python is amazing
@darukutsu
Жыл бұрын
Rust is the way
@DhavalAhir10
Жыл бұрын
@@darukutsu Rust is used for Web Development Backend?
"I am running windows so forgive me"
Im a beginner python developer, how to improve my career
I know what I’m doing tonight
Is the logo a snake because it is easy to wrap your head around Python and easy to get head and tail of things in Python? 🤷🏻♂️
Python for Rustaceans
I think majorly the people who uses python for machine learning may feel faster
I just hate the python syntax, been coding with go instead, I like more C like syntax since I started coding with c++.
You know its bad when the presenter saying meh to backward compatibility 😁 You'll be amazed knowing that even on this modern age there are stuff that still going strong from way back then 😁
python has joined the third realm?
its more like rust now
where python 4??
@pyp2205
Жыл бұрын
From what I heard, the creator of Python said that Python 4 won't come. At least for a long time, because when Python 3 came out. It was a disaster for everyone who was migrating their Python 2 projects to Python 3. Plus there's a bunch of outdated Python stuff on the internet. So as far as I can understand, the creator said that Python 4 won't come until some later version of Python 3 that I can't remember or probably never (might want to look this up). But just don't expect Python 4 to come out anytime soon. Because the creator of Python said that he doesn't want to go through this kind of disaster again.
Too ads on youtube
Extremely unrelated to the entire video at hand but who’s your fav melee player
@_JohnHammond
Жыл бұрын
Fox was my main back in the Melee days. Meta Knight in Brawl, but now Ganondorf in Ultimate. Was watching the LSI tournament this past weekend and it is absolutely insane to see pro players in action!
Hacking the algo...
"Python is allegedly faster" - John's government background is suddenly breaking through, always make sure not to speak in too many absolutes... ;)
That outro though :) xD Made me double check xD
plz be nice to choca or theyll no you to1.1
john hammond u are the soyjak
I'M STICKING TO 3.9 THANK YOU VERY MUCH "JOHN"
Rust will always remain a supremacy
Second
Second... 😂
First
FIRST
first
3.11 probably breaks everything you wrote using Python 3.10 :)
@TheArrowedKnee
Жыл бұрын
Haven't had any issues with the projects i'm currently working on
@drgr33nUK
Жыл бұрын
@@TheArrowedKnee I was being satirical :) But I suspect there will be a few broken packages.
@memphisartguy2
Жыл бұрын
in nodeJS the puppeteer library breaks every thing from version to version... So i know the frustration
They are trying to cloutjack rust community
You literally demoed that Python is anything but weakly typed
dear John you have so much more potential, why are you doing this on youtube for sponsors paying u to do so?
Python is very over power
First