13
submitted 1 month ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 5 points 1 month ago

My back and feet are absolutely dead, this is the worst possible posture to have while working lmao. I only have one more mini report thing for the day (but it's going to be a pain and a half to write)

Then I need to look at trying to do this in python: looking up original and replacement strings in a CSV table, and renaming files accordingly using regex. So the CSV might have two columns, old (1, 2, 3...) and new (89, 23, 7...) and I need to rename a folder of files from item_1_img_1.jpg, item_1_img_2.jpg, item_2_img_1.jpg, item_3_img_1.jpg... to item_89_img_1.jpg, item_89_img_2.jpg, item_23_img_1.jpg, item_7_img_1.jpg etc...

I know what steps are involved logically but not the functions or all the futzing around with environments etc. Might be time to ask chatgpt. Brain is fried. Had to move around tables and washing machines and what not today...

[-] [email protected] 3 points 1 month ago

Chatgpt is great for stuff like this

this post was submitted on 27 Apr 2025
13 points (100.0% liked)

Melbourne

2104 readers
41 users here now

This community is a place created for the people of Melbourne and Victoria. We are a positive, welcoming and inclusive community. We might not agree about everything, but we always strive to stay civil and respectful.

The focus of our discussions is based around things that affect Victoria, but we are also free to discuss our local perspective on wider issues. Or head to the regular Daily Random Discussion thread to talk about anything.

Full Community Guidelines

Ongoing discussions, FAQs & Resources (still under construction)

Adoption Certificate for Nellie, the Daily Thread numbat (with thanks to @Catfish)

Feedback & Suggestions

founded 2 years ago
MODERATORS