File Organizing with Python: Rename, Move, Copy & Delete Files and Folders

  Рет қаралды 63,959

Patrick Loeber

Patrick Loeber

Күн бұрын

Пікірлер
@TheSuperUser
@TheSuperUser 2 жыл бұрын
Great video on how to use Python for day to day tasks. Thank you. Please make more of these types of "system admin" videos.👍
@lumberapple8820
@lumberapple8820 5 ай бұрын
Rename 0:00 Move 6:48 Copy: 8:43 Delete 9:28
@cimplyllc
@cimplyllc Жыл бұрын
Very nice tutorial. Thank you for making it. The final cleanup script is a good way to close out the video.
@Max90662
@Max90662 11 ай бұрын
Dieses Toturial ist total klasse, vielen Dank
@oddzhang
@oddzhang 2 жыл бұрын
it's great.previous time I have used os module to deal with my video files, such as rename,move,etc.but my code was too tricky to read and not easy to rebuild.this video inspire me to modify my code!
@shasvat0
@shasvat0 Жыл бұрын
why change it if it worked
@duduza1
@duduza1 11 ай бұрын
@@shasvat0 XD
@SatishSingh-cp3wo
@SatishSingh-cp3wo 2 жыл бұрын
wish u had made this video 6 months ago. i have already figured out all this but it took me a lot of digging.
@Knight8365
@Knight8365 2 жыл бұрын
Thank you and more like this please! I've just been trying to implement a recursive folder search, remove or rename in Bash and it had me tearing my hair out. It would have been much simpler in Python.
@kk5592
@kk5592 2 жыл бұрын
which IDE do you use?
@octaviandatcu8677
@octaviandatcu8677 2 жыл бұрын
Visual Studio Code it seems.
@hadadwasiim8248
@hadadwasiim8248 2 жыл бұрын
Nice video. This helped me a lot in renaming and moving files and also to add exceptions if file can`t be moved and renamed. :)
@RRDGamer
@RRDGamer Жыл бұрын
Thank you so much for this simple tutorial
@sheikhakbar2067
@sheikhakbar2067 2 жыл бұрын
Liked; already a subscriber; and saved to my python useful tips and tricks playlist!
@dhirajp4677
@dhirajp4677 2 жыл бұрын
Thank you Patrick..it was very informative..hoping to see a Playlist of file handling videos..
@bachphan1160
@bachphan1160 Жыл бұрын
very nice and useful, your tutorial is so simple ! thank you. Loved it
@bachirgab3084
@bachirgab3084 Жыл бұрын
thanks for this lessons
@minanabil1035
@minanabil1035 2 жыл бұрын
WOW new for me. thanks for the video
@toyomade
@toyomade Жыл бұрын
How would this handle a window’s indexing error? While using an unlocked Veracrypt container, power was lost. It’s not repairable and the files are still there and can be opened but when trying to copy them off, an error gets generated after every single one requiring a click. While using native copy/paste functions in Windows. This wouldn’t be so bad if this was a handful of files, or even a few hundred, I could make an afternoon out of it and just get it done. However, we’re talking thousands of files here. Basically photos of my kids entire childhoods. I really don’t want to lose them but it’s incredibly annoying to manually pull them off. And I no longer use Veracrypt unless I have battery backup
@gabrielalmeida6085
@gabrielalmeida6085 2 жыл бұрын
What is your macbook model?
@Kaviranghari
@Kaviranghari 6 ай бұрын
How can i copy an image to my clipboard using python
@blackmane1999
@blackmane1999 2 жыл бұрын
Could u please do a video on ONVIF for python? Thatd be a great help!
@NexInspireHub
@NexInspireHub 6 ай бұрын
which theme is this?
@jigarhathiyani
@jigarhathiyani 2 жыл бұрын
Thank you for the tutorial Can you please help me with this - how to copy specifiy list of files from one folder to another (if we dont have complete name of the file)
@VRchitecture
@VRchitecture 2 жыл бұрын
It’s better to convert your file’s extension to lower case before type checking, since there could be MP4 and mp4 on desktop
@VinodKRamachandra
@VinodKRamachandra 2 жыл бұрын
Very nice tutorial. Thank you
@patloeber
@patloeber 2 жыл бұрын
Glad it was helpful!
@economicblast
@economicblast Жыл бұрын
it's saying name isn't identified. idk how you ran the code without identifying the name
@abdellahelguermez3786
@abdellahelguermez3786 2 жыл бұрын
Thank u 🙏🏻
@ivarc256
@ivarc256 2 жыл бұрын
Ok! wish you make one for an.ordering. system.. thanks
@niteshnunia8293
@niteshnunia8293 2 жыл бұрын
Thanks really useful.
@kvelez
@kvelez Жыл бұрын
import os print("FileName || Extension") for file in os.listdir(): name, ext = os.path.splitext(file) name_split = name.split('-') ext_split = ext.split('-') print(f"{name_split}{ext_split}") ============================== import os print("FileName || Extension") for file in os.listdir(): name, ext = os.path.splitext(file) splitted = name.split("-") splitted = [s.strip() for s in splitted] new_name = f"{splitted[0]}{ext}" print(new_name)
@ivarc256
@ivarc256 2 жыл бұрын
Haaa, beautiful. thank you
@paulorosado6888
@paulorosado6888 Жыл бұрын
Thanks, bro
@anirbanc88
@anirbanc88 2 жыл бұрын
its awesome!
@serychristianrenaud
@serychristianrenaud 2 жыл бұрын
Thank ... 👏
@bayuganspride
@bayuganspride 2 жыл бұрын
kewl
@__________________________6910
@__________________________6910 2 жыл бұрын
Noice 😃
@ericbroun4657
@ericbroun4657 2 жыл бұрын
❤❤❤❤❤
@umeleumab.marcus8497
@umeleumab.marcus8497 2 жыл бұрын
Poor color choice, difficult to read at first instance.
11 Tips And Tricks To Write Better Python Code
11:00
Patrick Loeber
Рет қаралды 622 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
Start Automating Your Life Using Python! (File Management with Python Tutorial)
13:07
How to create a great dev environment with Docker
29:55
Patrick Loeber
Рет қаралды 278 М.
This Is Why Python Data Classes Are Awesome
22:19
ArjanCodes
Рет қаралды 819 М.
PyScript is officially here!🚀 Build web apps with Python & HTML
17:10
Object Oriented Programming (OOP) In Python - Beginner Crash Course
1:20:54
6 Tips to write BETTER For Loops in Python
9:19
Patrick Loeber
Рет қаралды 250 М.
31 ESSENTIAL Python String Methods
11:20
Patrick Loeber
Рет қаралды 83 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН