If you have any questions, don't hesitate to ask in the comments! I'll try and answer as soon as I can, providing someone else hasn't already done so. ... https://www.youtube.com/watch?v=RlqMqVPgsls
Python 3.12 is easily the biggest release since...well, perhaps 3.0! It's packed full of game-changing features and improvements, and I can't wait to tell you about them!
Below is a list of chapters cited against any relevant references which you'll find further down. It's absolutely worth doing further reading using these if you want to learn more!
Chapters:
0:00 - Intro
0:21 - A per-interpreter GIL [1-5]
1:59 - Performance improvements [6]
2:39 - Syntactic formalisation of f-strings [6-8]
3:11 - Type parameter syntax [9]
3:38 - Override decorator [10-11]
4:06 - Using TypedDict for more precise **kwargs typing [12]
4:28 - Double Standards! [6, 13]
6:22 - Removals [6, 14-15]
6:56 - Deprecations [6, 16]
7:19 - Outro
References:
[1] https://docs.python.org/3/whatsnew/3.11.html
[2] https://peps.python.org/pep-0684
[3] https://www.artima.com/weblogs/viewpost.jsp?thread=214235
[4] https://wiki.python.org/moin/GlobalInterpreterLock
[5] https://peps.python.org/pep-0554
[6] https://docs.python.org/3.12/whatsnew/3.12.html
[7] https://peps.python.org/pep-0701
[8] https://peps.python.org/pep-0617
[9] https://peps.python.org/pep-0695
[10] https://peps.python.org/pep-0698
[11] https://pypi.org/project/overrides
[12] https://peps.python.org/pep-0692
[13] https://docs.python.org/3.12/library/itertools.html#itertools.batched
[14] https://setuptools.pypa.io/en/latest/pkg_resources.html
[15] https://peps.python.org/pep-0623
[16] https://docs.python.org/3.12/library/tarfile.html#tarfile-extraction-filter
—
If you enjoy my content, consider supporting me on Patreon or becoming a member!
https://patreon.carberra.xyz
https://join.carberra.xyz
If you need help with anything, feel free to join the Discord server:
https://discord.carberra.xyz
I get a lot of people asking, so here's my Visual Studio Code setup!
https://youtu.be/Kk5h6Yxflmw
—
If you have any questions, don't hesitate to ask in the comments! I'll try and answer as soon as I can, providing someone else hasn't already done so.
#python #coding #howto
...
https://www.youtube.com/watch?v=zwqKtv5y8Bk
Welcome to the updated discord.py series - the series where I teach you how to build a discord.py bot for your server! Below are some links to get you started.
The GitHub repository for the bot can be found here: https://github.com/Carberra/updated-discord.py-tutorial.
Things you'll need:
- Python, ideally version 3.8.0 or later: https://www.python.org/downloads/.
- An IDE - I'll be using Sublime Text 3: https://www.sublimetext.com/3.
- A database viewer - I'll be using DB Browser for SQLite: https://sqlitebrowser.org/dl/.
- The Discord Developer Portal: https://discordapp.com/developers/applications.
Other things you might want:
- Git, if you want to do version control: https://git-scm.com/downloads.
- GitHub Desktop, if you don't want to use the Git CLI: https://desktop.github.com/.
- Windows Terminal Preview, for connecting to a Linux VPS: https://www.microsoft.com/store/productId/9N0DX20HK701.
- FileZilla, if you don't want to use Git for transferring files: https://filezilla-project.org/download.php.
Some other awesome links for you:
- Discord: I have a Discord server! Come check it out here: https://discord.carberra.xyz.
- Patreon: If you like the videos, consider donating! It would help out so much, and you even get special benefits. Win-win!: https://patreon.carberra.xyz.
- Superboo: the gaming channel I've run for far too long: https://bit.ly/superboo-channel.
If you have any questions, don't hesitate to ask in the comments! I'll try and answer as soon as I can, providing someone else hasn't already done so.
#python #discord #bot
...
https://www.youtube.com/watch?v=OrFQzLEGtvc
If you enjoy my content, consider supporting me on Patreon or becoming a member!
https://patreon.carberra.xyz
https://join.carberra.xyz
If you need help with anything, feel free to join the Discord server:
https://discord.carberra.xyz
I get a lot of people asking, so here's my Visual Studio Code setup!
https://youtu.be/Kk5h6Yxflmw
—
If you have any questions, don't hesitate to ask in the comments! I'll try and answer as soon as I can, providing someone else hasn't already done so.
#python #coding #howto
...
https://www.youtube.com/watch?v=4Wqv-8K1vug
Welcome to the updated discord.py series - the series where I teach you how to build a discord.py bot for your server! Below are some links to get you started.
The GitHub repository for the bot can be found here: https://github.com/Carberra/updated-discord.py-tutorial.
Things you'll need:
- Python, ideally version 3.8.0 or later: https://www.python.org/downloads/.
- An IDE - I'll be using Sublime Text 3: https://www.sublimetext.com/3.
- A database viewer - I'll be using DB Browser for SQLite: https://sqlitebrowser.org/dl/.
- The Discord Developer Portal: https://discordapp.com/developers/applications.
Other things you might want:
- Git, if you want to do version control: https://git-scm.com/downloads.
- GitHub Desktop, if you don't want to use the Git CLI: https://desktop.github.com/.
- Windows Terminal Preview, for connecting to a Linux VPS: https://www.microsoft.com/store/productId/9N0DX20HK701.
- FileZilla, if you don't want to use Git for transferring files: https://filezilla-project.org/download.php.
Some other awesome links for you:
- Discord: I have a Discord server! Come check it out here: https://discord.carberra.xyz.
- Patreon: If you like the videos, consider donating! It would help out so much, and you even get special benefits. Win-win!: https://patreon.carberra.xyz.
- Superboo: the gaming channel I've run for far too long: https://bit.ly/superboo-channel.
If you have any questions, don't hesitate to ask in the comments! I'll try and answer as soon as I can, providing someone else hasn't already done so.
Thanks so much to my patrons!
Adam Dreher
Jaxtar
Sashank Bhamidi
Not Adam Dreher
Roy Smit
Ry Guy
#python #discord #bot
...
https://www.youtube.com/watch?v=jSk5uZBeCA0
Discord has released a new timeout feature -- here's how it works, plus how to implement into your bot RIGHT NOW!
More information:
https://support.discord.com/hc/en-us/articles/4413305239191-Time-Out-FAQ
Code example (only use if your library doesn't support it yet):
https://github.com/Carberra/Carberretta/blob/master/carberretta/bot/cogs/timeout.py#L21-L52
The Carberra network:
YouTube: https://youtube.carberra.xyz
Twitch: https://twitch.carberra.xyz
LBRY: https://lbry.carberra.xyz
Patreon: https://patreon.carberra.xyz
Discord: https://discord.carberra.xyz
Twitter: https://twitter.carberra.xyz
Instagram: https://instagram.carberra.xyz
GitHub: https://github.carberra.xyz
Tutoring: https://tutoring.carberra.xyz
If you have any questions, don't hesitate to ask in the comments! I'll try and answer as soon as I can, providing someone else hasn't already done so.
#discord #timeout #feature
...
https://www.youtube.com/watch?v=KC-an5vvHfw
Ever needed to convert between JSON and YAML? This video is just for you!
This video is sponsored by Cybrancee. Check out with the code CARB90 to get 90% off your first month! https://cybrancee.carberra.xyz.
The GitHub repository for the How it's Done series can be found here: https://github.com/Carberra/how-its-done.
The Carberra network:
YouTube: https://youtube.carberra.xyz
Twitch: https://twitch.carberra.xyz
LBRY: https://lbry.carberra.xyz
Patreon: https://patreon.carberra.xyz
Discord: https://discord.carberra.xyz
Twitter: https://twitter.carberra.xyz
Facebook: https://facebook.carberra.xyz
GitHub: https://github.carberra.xyz
Music:
"QuangerineCream" by Noir Et Blanc Vie
Thanks so much to my patrons!
SellingChocolates
Johnny _JTH
Ry Guy
Roy Smit
If you have any questions, don't hesitate to ask in the comments! I'll try and answer as soon as I can, providing someone else hasn't already done so.
...
https://www.youtube.com/watch?v=L433MPex178
Having issues running Python 3.9 in Sublime Text 3? This video might just be perfect for you.
The Carberra network:
YouTube: https://youtube.carberra.xyz
Twitch: https://twitch.carberra.xyz
LBRY: https://lbry.carberra.xyz
Patreon: https://patreon.carberra.xyz
Discord: https://discord.carberra.xyz
Twitter: https://twitter.carberra.xyz
Facebook: https://facebook.carberra.xyz
GitHub: https://github.carberra.xyz
Thanks so much to my patrons!
Tom Harris
SellingChocolates
Ry Guy
Roy Smit
If you have any questions, don't hesitate to ask in the comments! I'll try and answer as soon as I can, providing someone else hasn't already done so.
...
https://www.youtube.com/watch?v=TNpev_BIDvQ
Welcome to the discord.py music series - the series where I teach you how to build a music bot for your's and others' servers!
The GitHub repository for the series can be found here:
https://github.com/Carberra/discord.py-music-tutorial
Things you'll need:
- Python 3.8.0 or higher: https://www.python.org/downloads/
- An IDE - I'll be using Visual Studio Code: https://code.visualstudio.com/
- OpenJDK 13.0.2: https://jdk.java.net/archive/
- Lavalink: https://ci.fredboat.com/viewLog.html?buildId=lastSuccessful&buildTypeId=Lavalink_Build&tab=artifacts&guest=1
- The application.yml example: https://github.com/Frederikam/Lavalink/blob/master/LavalinkServer/application.yml.example
- The Discord Developer Portal: https://discordapp.com/developers/applications
Other things you might want:
- Git, for source and version control: https://git-scm.com/downloads
- Windows Terminal Preview, for connecting to a VPS: https://www.microsoft.com/store/productId/9N0DX20HK701
- A database viewer - this one is for SQLite: https://sqlitebrowser.org/dl/
The Carberra network:
YouTube: https://youtube.carberra.xyz
LBRY: https://lbry.carberra.xyz
Patreon: https://patreon.carberra.xyz
Discord: https://discord.carberra.xyz
Twitter: https://twitter.carberra.xyz
Facebook: https://facebook.carberra.xyz
GitHub: https://github.carberra.xyz
Thanks so much to my patrons!
George Dimopoulos
DARKIE_
Johnny _JTH
Ry Guy
Jaxtar
Roy Smit
If you have any questions, don't hesitate to ask in the comments! I'll try and answer as soon as I can, providing someone else hasn't already done so.
...
https://www.youtube.com/watch?v=iyQREXqHTsQ
It's been a while since I made an update video, and a lot has changed since the last one, so I thought I'd do one (:
—
If you enjoy my content, consider supporting me on Patreon (or hit the JOIN button below to become a member)!
https://patreon.carberra.xyz
If you need help with anything, feel free to join the Discord server:
https://discord.carberra.xyz
I get a lot of people asking, so here's my Visual Studio Code setup!
https://youtu.be/Kk5h6Yxflmw
—
If you have any questions, don't hesitate to ask in the comments! I'll try and answer as soon as I can, providing someone else hasn't already done so.
...
https://www.youtube.com/watch?v=mu1ZXMyDx_Q