| branch | new-model |
| changeset 929 | a39ff507b050 |
| parent 910 | b9f1bd52df9a |
| 928:5aadbc9f27cd | 929:a39ff507b050 |
|---|---|
1 import re, sys |
1 import re, sys |
2 |
2 |
3 inputname = sys.argv[1] |
3 inputname = sys.argv[1] |
4 outputname = re.sub("\.\w+$",".dokuwiki",inputname) |
4 outputname = re.sub("\.\w+$",".dokuwiki",inputname) |
5 |
|
6 print "Converting %s to %s"%(inputname,outputname) |
|
5 |
7 |
6 inputfile = open(inputname,'r') |
8 inputfile = open(inputname,'r') |
7 |
9 |
8 markdowntext = inputfile.read() |
10 markdowntext = inputfile.read() |
9 |
11 |