For it is the doom of men that they forget... Huidige en vroegere hardware specs The Z80 is still alive!
Vraag
Beste antwoord (via EXX op 23-04-2018 15:26)
code:
1
2
3
4
5
6
7
8
9
10
11
12
| $ python
Python 2.7.12 (default, Dec 4 2017, 14:50:18)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> outfile = open('test.xml','w')
>>> outfile.write('<bla.bla.bla>\n');
>>> outfile.write('</bla.bla.bla>\n');
>>> outfile.close()
$ cat test.xml
<bla.bla.bla>
</bla.bla.bla> |
Hier niet? misschien ligt het aan je viewer voor XML bestand?
http://xyproblem.info/
Alle reacties
code:
1
2
3
4
5
6
7
8
9
10
11
12
| $ python
Python 2.7.12 (default, Dec 4 2017, 14:50:18)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> outfile = open('test.xml','w')
>>> outfile.write('<bla.bla.bla>\n');
>>> outfile.write('</bla.bla.bla>\n');
>>> outfile.close()
$ cat test.xml
<bla.bla.bla>
</bla.bla.bla> |
Hier niet? misschien ligt het aan je viewer voor XML bestand?
http://xyproblem.info/
Als viewer gebruik ik de vi editor.
edit:
#@$%!$@%, het is inderdaad de vi editor!
Daar zou ik nooit opgekomen zijn. Bedankt!
Dan ben ik nu toe aan een koffie....
edit:
#@$%!$@%, het is inderdaad de vi editor!
Daar zou ik nooit opgekomen zijn. Bedankt!
Dan ben ik nu toe aan een koffie....
[ Voor 73% gewijzigd door EXX op 23-04-2018 15:19 ]
For it is the doom of men that they forget... Huidige en vroegere hardware specs The Z80 is still alive!