kobashi / webclass2unipa Goto Github PK
View Code? Open in Web Editor NEWWebclassの出席データをUniversal Passportの出席登録に利用するスクリプト
Webclassの出席データをUniversal Passportの出席登録に利用するスクリプト
xlrt と xlrd だけでも記述可能。
WebClassの出席ファイル
attendance1.csv
attendance2.csv
attendance3.csv
と
Universal Passportの出席ファイル
attendance1.xlsx
attendance2.xlsx
attendance3.xlsx
を用意しておき、スクリプトを実行すると
attendance1.xlsx
attendance2.xlsx
attendance3.xlsx
に出席データが差し込まれるようにする。
現バージョンではWebclassの出席データが 10 である場合に出席、それ以外は欠席になる。
また、Webclassにコース登録のない受講生は全欠席になる。
Universal Passport の出欠コード
0: 出席
1: 早退
2: 遅刻
3: 欠席
4: 公欠
に対応させたい。
Universal Passport からダウンロードした出席ファイルに差し込む処理の他に、
Webclassの出席ファイルを元にUniversal Passport用の出席ファイルの生成に対応する。
attendance.csv にUniversl Passport用の科目コードを追記すれば可能。
ただし、Webclassのコースに未登録の学籍番号の出席データは生成できない。
xlsxファイルに対応しない。
コードがシンプルになる。
WebClassからの出席記録ファイル(入力ファイル1)
attendance.csv
Universal Passport用の出席記録ファイル(出力ファイル1)
attendance.xlsx
が固定である。これをオプションで変更可能にしたい。
入力ファイル1と出力ファイル1に加えて、attendance.xlsx の元となる Webclassの出欠データを差し込むための受講生の学籍番号と科目コードが記載されたファイル(入力ファイル2)が必要。
ファイル2のファイル名は スクリプト実行時に第1引数で指定する。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.