Browse Source

Python Programm "pruefung.py" besser dokumentiert.

phi 3 years ago
parent
commit
6629136298
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      skript_index/pruefung.py

+ 6
- 0
skript_index/pruefung.py View File

2
 
2
 
3
 #2020-02 fp@bbw
3
 #2020-02 fp@bbw
4
 
4
 
5
+# Dieses Programm sucht alle Pruefungen und Pruefungsfragen durch
6
+# und erstellt den Index: Welche Pruefungsfrage in welcher Pruefung vorkommt.
7
+# Die Pruefungsfragen werden nach Kapitel sortiert und es wird eine LaTeX-Datei
8
+# erstellt.
9
+
5
 import os; # Opreating System
10
 import os; # Opreating System
6
 import re;
11
 import re;
7
 
12
 
13
 	tempListe=[];
18
 	tempListe=[];
14
 	return print_tex_directory_contents_recursive(sPath);
19
 	return print_tex_directory_contents_recursive(sPath);
15
 
20
 
21
+
16
 def print_tex_directory_contents_recursive(sPath):
22
 def print_tex_directory_contents_recursive(sPath):
17
 	for sChild in os.listdir(sPath):
23
 	for sChild in os.listdir(sPath):
18
 		sChildPath = os.path.join(sPath,sChild);
24
 		sChildPath = os.path.join(sPath,sChild);

Loading…
Cancel
Save