2024 Cohort 2 - Group 12 Discussion #38
Replies: 16 comments 26 replies
-
|
Hi, so first step accomplished and created a GitHub account! Good to meet you all earlier. |
Beta Was this translation helpful? Give feedback.
-
|
Hi all, I've attached the brief notes we discussed today with links etc to resources people mentioned. Nice to meet you all, and see you next month. |
Beta Was this translation helpful? Give feedback.
-
|
Hey all, I've emailed the DPC about possible scripts we could work on over the next few months but I also found this example from the first cohort in their folders: c93d633 |
Beta Was this translation helpful? Give feedback.
-
|
Instructions for command line python install for future reference: python for archivists, pg. 7 |
Beta Was this translation helpful? Give feedback.
-
|
In case you had this question while looking at sample scripts, "How do I choose the right module?", here is a pretty well structured explanation of the modules: https://pymotw.com/3/index.html. It was the clearest one I saw while trying to figure out what "import os", etc meant. |
Beta Was this translation helpful? Give feedback.
-
|
Hey all, been using this resource recently which has been useful for some basics: https://www.codecademy.com/catalog/language/python |
Beta Was this translation helpful? Give feedback.
-
|
I've been using codedex, nice easy to follow basic lessons and I enjoy the fun aesthetic: https://www.codedex.io/python |
Beta Was this translation helpful? Give feedback.
-
|
I went through the Codedex (so fun!) until I got to the paid lessons. Here is a little script I made afterwards; most of it came from Googling how to do the things I wanted to do. I'm traveling soon and wanted to make a list of outfits to wear from the clothing I plan to bring. It runs in the Codedex screen, but can't get it to work right in the command line or Python IDLE on my computer. Also, maybe I can add on a loop or something so that it will pick 6 outfits. We'll see! |
Beta Was this translation helpful? Give feedback.
-
|
Hi Group 12 if you need anything @ me or use the questions section 😄 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
I've had a go at the file renamer we talked about trying out in our last meeting: https://github.com/Digital-Preservation-Coalition/PythonStudyGroups/blob/main/How-Tos/Use%20Case%20-%20How%20to%20batch%20rename%20files.md?plain=1 Attached is my version of the script with some slight variations from the code that is suggested in the step by step guide. I thought maybe something that might be useful in the file renamer script is to have an output file which acts as a log without having manually export text file from Terminal or Command Line using manual inputs. I've been trying to figure out a way to do this as part of the python script into a specific directory folder but I can't find a straight answer online to the issues I'm running into. Anyone got any suggestions? |
Beta Was this translation helpful? Give feedback.
-
|
Here is a list of all the functions that Python can do: https://docs.python.org/3/library/functions.html |
Beta Was this translation helpful? Give feedback.
-
|
Meeting 3, September 18, 2024, Notes. The meeting was just Dean and me! So we didn't really move forward much. Decided to continue with the decisions made in Meeting 2 on what to work on (working through various tutorials) and see if we can come up with a way to have the renaming program work on multiple folders at once. |
Beta Was this translation helpful? Give feedback.
-
|
Hey all, I've been learning about reading/writing files and creating csv files in a python script and I have tried to apply this to extracting and converting data in an xml file into a csv spreadsheet. I am using metadata from the National Library of Scotland's Moving Image Archive that is available on their Data Foundry here: https://data.nls.uk/data/metadata-collections/moving-image-archive/ The script I have written to do this is attached. It currently creates a csv file with the different DC elements as row headers, but does not fill in any of the data from the xml file. I've tried running it through Chat GPT 4 for some assistance but can't work out what is happening. Any ideas? Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
Hey all, I was having a look at using python to try and write a script to extract metadata from AV files and I ended up finding this information with lots of scripts for extracting metadata from different file formats: https://www.linkedin.com/pulse/mastering-metadata-extracting-file-information-python-yamil-garcia-wurwe I'm going to try running and tweaking the AV one, so I'll let you know if there are any issues/solutions. |
Beta Was this translation helpful? Give feedback.
-
|
Hi group 12, sorry to not drop in to your session today, if there's anything you need help with let us know :) |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
This is the discussion thread for those in Group 12 of the July-December 2024 Cohort
Beta Was this translation helpful? Give feedback.
All reactions