Skip to content

UncleHanWei/Batch_Python_Program_Verify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Batch Python Program Verify

About

As a TA(teaching assistant) of Programming Class, it is very annoying to test students' homework assignments one by one. So I wrote this to helping me verify if students' homework assignments have the correct file name, and correct excute result.

Usage

Attention !!

This program was made for NCNU IM programming class, its functions are combined with the Moodle System, and our Online Judge. And the runtime environment is Windows 10. If you are not using any of this, then you need to change a little for customize

Step 1 :

Create a folder as a root folder for your homeworks (every homework should have a folder)

Step 2 :

put the "verify.py" file into the "root" folder

Step 3 :

Download the test file (regualtion input, output, if you don't have an OnlineJudge to download, then you can create your own) then put the file into the "Homework folder"

Step 4 :

Excute the program and wait for the result!

使用方法

注意 !!

這個程式是為了 NCNU IM 的程式設計課所寫的 因此這個程式的功能是需要配合我們所使用的 Moodle, Online Judge 來操作的 附帶一提,這個程式的執行環境是 Windows 10 如果你的環境不是 Windows,也沒有使用上述所提到的系統 那我想你會需要做一些調整

Step 1 :

先創建一個資料夾,用來放所有作業的(可以把它當作作業的根目錄 root) 而在這個資料夾中,各個作業需要個別再用一個資料夾包著

Step 2 :

把 "verify.py" 這個檔案放到作業的根目錄

Step 3 :

上 OJ 下載測資,放到對應的作業的資料夾中, 並解壓縮至資料夾(預設的資料夾名就好) (如果你沒有用 Online Judge,那就自己寫測資就好)

Step 4 :

執行程式並稍微等待,就可以看到結果了~

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages