In this video we will be writing a quick script to automate the parsing and renaming of multiple files. Writing quick scripts to automate boring and repetitive tasks is …
Nguồn:https://ftlinuxcourse.com/
Xem thêm Bài Viết:
- Trải nghiệm mới hay ho với hướng dẫn cài Mac Os trên vmware
- Bật mí cách cài đặt ssl miễn phí lên Let’s Encrypt
- Tuyệt chiêu tạo usb boot kali linux đơn giản dành cho bạn
- Hướng dẫn chi tiết từ A – Z các bước cài đặt Python trên Windows 10
- Bật mí quy trình cài đặt Kali Linux trên Vmware đúng chuẩn và chi tiết
I know this video is old, but you make some of the best content that I've learned from. thanks so much man.
Awesome content
Your videos helped me a lot to understand different topics related to python ❤
Corey !! You are amazing !!
I would say this is really awesome.
This was awesome!!!
8:00 hye, how did u do that? copy and write at the same time? anyone knows the shortcut on how to do that. appreciate if u can let me know
Great vid
This tutorial blows my mind! Thank you!
damn my ocd senses are now so pleased. Thank you!!
Great video. Don't have a use case for this right now but definitely keeping this close for the future! thank you
Dude really, if you made a course for python or any other programming language, i would buy it instantly
RIP Pluto
You are just A GREAT GUY who makes my life in the Physics Lab much easier than ever before….
You are making this look so easy xD but anyone who watches this have their mindblown
Man u r awesome 😎
This is a great tutorial. Been a while since I last dabbled in python. Had a request at work to change a ton of filenames. This was a clear framework and I ws able to modify for the requirements.
This is a problem i came across when i downloaded your videos …. there was no order i ordered that one by one.. Now i know how to manage that thanks
got this error: Traceback (most recent call last):
File "C:UserskazpuJupyter_Notebookautomatecwdtry.py", line 12, in <module>
f_title,f_course,f_num = f_name.split(' ')
ValueError: not enough values to unpack (expected 3, got 1)
im putting in 3 variables too, seperated by commas. Maybe its cause my files dont have the '-' on them in the first place?
Awesome Tutorial Corey. Very detailed.
Hello! How I read multiple file in python ?
Another way to transform f_num from '#5' to '5' (at around 8:40 ) would be
f_name.strip('#')
Great video , and I especially like the methodical step-by-step (with printing just to check what we have achieved-so-far) approach up to the final solution.
You saved me countless hours of annoying work, thanks Corey! You're a great teacher 🙏
Hi Corey, thanks for the useful lecture.
I have a doubt. Do i need to save the script file in the same directory??
Whenever i try accessing file in new directry i am getting error [winerror 123] file name ,directory name , or label index is incorrect.
For checking i print the directory details it is giving the directory details of the script i saved.
If i save a script file in the folder where i have to rename its working fine. What could be the issue.
I am using python shell for scripts.
There is no doubt that gaining skills in the workplace is a priceless way to grow. If you want to learn about how companies train and develop their employees and the tips regarding the same, check out this great blog on it:
https://www.peoplehum.com/platform.html#bl
Which tool is used to write code here ?
Great job, you"re a good explained, but I have seen that you usually use keyboard shortcut fhat are really interesting and make a difference, maybe one day you would be able to do a class with those things. Thanks.
Saved me so much time, thank you so much!
Hello Corey, excellent tutorials, I-m using them to learn Python!
I have a question… when I try to run
f_title, f_course, f_num = file_name.split("-")
I get
ValueError: not enough values to unpack (expected 3, got 1)
Why would that be? thanks a lot!
I have been looking for this information for 3 days.