Тёмный
No video :(

Pathlib makes file management in Python a BREEZE 

Carberra
Подписаться 19 тыс.
Просмотров 4,7 тыс.
50% 1

Let me show you the way(lib)!
-
If you enjoy my content, consider supporting me on Patreon (or hit the JOIN button below to become a member)!
patreon.carber...
If you need help with anything, feel free to join the Discord server:
discord.carber...
I get a lot of people asking, so here's my Visual Studio Code setup!
• My Visual Studio Code ...
-
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

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 17   
@burnere633
@burnere633 Год назад
A bit surprised that a 15-minute video on Pathlib doesn't mention the '/' operator -- that's a feature that's not available os.path and makes for, at least in my opinion, a great path concatenator.
@Carberra
@Carberra Год назад
Someone else mentioned this recently as well, and honestly I'm surprised I missed it as well! Deffo one of its best features.
@Policy_Maker
@Policy_Maker Год назад
Please upload the next videos with sufficient zoom. Your videos can't be understood when I seen in my mobile
@desertfish74
@desertfish74 Год назад
Yeah I hate this too everyone seems to assume people watch videos all the time on big 4K screens.
@etis398
@etis398 Год назад
Hello, thanks for this video, I started using pathlib some time ago and indeed it improved my quality of life overall: the globs to iterate easily on some data folder I've got, and being able to dump content into subfolders with auto creation of missing paths, providing a bash scripting-like experience but in python. I'm surprised you did not show the way to combine path parts together using the overloaded division operator! (one of the nice feature, especially the "float-like contamination" of the expression, where a path divided by a string will result in a path, allowing to work with regular strings too Also I might add some comments: - as already said in another comment of this video, zooming the UI might help for people watching on a mobile device - another point, but specific to almost all videos, is the lack of space for subtitles for non-native speakers. Subtitles are by default shown on the bottom of the screen, and it conflicts directly with the VSCode terminal, where you type the next command. This observation is or many coding videos on youtube actually
@Carberra
@Carberra Год назад
Glad you liked the video! Now you mention, it is bizarre I didn't show that off 🤔 Regarding the subtitles, I'm not sure there's a lot I can really do about that, besides maybe hiding the terminal when I'm not using it. But even then, when I *am* using it, it's still gonna be covered. Open to suggestions if you have any.
@RuslanKovtun
@RuslanKovtun Год назад
About .touch() and other function you might be wondering whether or not they are "cross platform". If you can't see any specialized versions - they are "cross platform" by default. This is one of the main promises of python - scripting language that just works anywhere you launching it. All platform specific things are handled behind the hood.
@igormriegel
@igormriegel Год назад
Pathlib globs and recursive globs are awesome.
@martincronje5242
@martincronje5242 Год назад
Switching from os to pathlib as of today
@Satyam1010-N
@Satyam1010-N Год назад
Always have a list of topics and then read theory and sudo codes and then practice questions and since its python find the domain in which you want to use , and yes if you don't get anything read docs its so handle while making my notes yes its might become overwhelming but you need to restrict yourself how much you need. And about vedio , I was trying to build a TA lib in my 64 bit system using build tool vs code can we get one vedio about that .
@teagancollyer
@teagancollyer Год назад
I know pathlib is a better way however I've personally always had issues in getting it to work properly for some reason.
@Carberra
@Carberra Год назад
Might be worth giving it another try now you've watched the video. If you're still struggling, feel free to drop a question in the replies.
@teagancollyer
@teagancollyer Год назад
@@Carberra yeah I'll be giving it another go next time I'm working on my python projects. Due to work and my degree apprenticeship I haven't given it much time in the last few months.
@Carberra
@Carberra Год назад
Oh yeah I can 100% relate to that. Good luck with it all!
@RuslanKovtun
@RuslanKovtun Год назад
.resolve() resolves '..' and '/./' etc. While .absolute() just adds absolute path prefix.
@jaxtar1591
@jaxtar1591 Год назад
CUTIEEEE
@someabsolutelyrandomstuff9440
Ethannnnnn
Далее
Itertools is a MUST-KNOW Python module
14:40
Просмотров 5 тыс.
Modern Graphical User Interfaces in Python
11:12
Просмотров 1,5 млн
Roles and privileges in snowflake (coding)
27:25
Are descriptors the most MISUNDERSTOOD part of Python?
16:42
A Deep Dive Into Pathlib And The Magic Behind It
16:56
Starting With Python's pathlib Module
10:33
Просмотров 5 тыс.
Unlocking your CPU cores in Python (multiprocessing)
12:16
Convert Python programs to EXE
9:52
Просмотров 6 тыс.
Cython makes Python INSANELY FAST
19:08
Просмотров 34 тыс.
Metaclasses in 17 minutes
17:29
Просмотров 4,6 тыс.
The Python collections module is OVERPOWERED
10:53
Просмотров 12 тыс.