I GOT IT TO WORK
rows = ws.iter_rows(max_row=5, max_col=2)
officer_info = dict((a.value, b.value) for a, b in rows)
First_Name = officer_info.get('First_Name')
Last_Name = officer_info.get('Last_Name')
IBM = officer_info.get('IBM')
Call_Sign = officer_info.get('Call_Sign')
Squad_Num =...
I want to take this data, and be able to have it automatically be placed into the correct position in my pre-written paragraph. So I changed the code a little to where I can print out the data in a decent looking dictionary.
rows = ws.iter_rows(max_row=5, max_col=2)
officer_info =...
So far i've made progress on parts of the project, and am stuck on others. docx is being used to start a word document and put the correct headers/paragraphs into the file. Now i'm working on using openpyxl to import data from an excel file i've created to simulate my final goal of getting data...
I'm definitely leaning towards putting the paragraph in the code. Gonna start off super basic, and as it progresses hopefully i'll be able to make it more and more accurate based on each data point. My current plan for whether or not a paragraph gets included is mostly going to rely on 'if'...
Hello, i've come up with an idea for my very first project in python, and have some questions about formatting the data in an efficient way prior to writing the code for it. I want to be able to take data from tables i've created in an Excel file, and based on those data points, create a word...
Hello! I'm brand new to learning coding (Codewithmosh.com is what I'm currently learning C++ on.) I had an idea for a project that would help lessen my work load at my job. 90% of my work is writing reports. They are all very similar with small differences based on the contact. We write our...