Dec-04-2021, 12:08 AM
I have a lot of students. I keep all their results in an Excel file.
As the term goes on, this Excel file gets more and more columns.
Some students want to see their scores, so I made a little programme to create individual, 1-page Excel files for each student.
Then I have a bash script lp_XL.sh which converts the Excel files to PDF, then sends them to the printer.
I would like to call the bash script from within the Python code which makes the individual Excel files, just to do everything in 1 fell swoop!
How can I do that?
As the term goes on, this Excel file gets more and more columns.
Some students want to see their scores, so I made a little programme to create individual, 1-page Excel files for each student.
Then I have a bash script lp_XL.sh which converts the Excel files to PDF, then sends them to the printer.
I would like to call the bash script from within the Python code which makes the individual Excel files, just to do everything in 1 fell swoop!
How can I do that?