1
0
Fork 0
Commit graph

6 commits

Author SHA1 Message Date
Scott Giese
df67cc2bd9 Python: best practices
Check eq/ne
Anticipate file issues
Ensure file closure
2020-08-29 12:07:15 -05:00
mfranz
7bec212976 error message like xmllint; prepare for python3 2009-12-27 09:30:44 +01:00
mfranz
30524c7c05 faster reload; colorize symbols; environment variable; comments++; cleanup
Note that Python's XML parser is picky about accents. Choose encoding
ISO-8859-1 for latin1 accents or UTF-8 for UTF-8 accents. (Don't use latin1
comments in UTF-8 encoding!) Use xmllint to check for the validity of your
XML files (or let ./scripts/tools/fg-check do that for you):

  $ xmllint a26-yasim.xml
  a26-yasim.xml:113: parser error : Input is not proper UTF-8, indicate encoding !
  Bytes: 0xE8 0x73 0x20 0x6C
                   moment d'apr?s la doc : ________________________ = __________ =
                               ^
2009-12-23 09:41:20 +01:00
mfranz
b1e8917266 add mirror button (useful for asymmetric aircraft, like the BV-141) 2009-12-14 06:58:06 +01:00
mfranz
fdd252e1c5 comments++; log++; remove obsolete code; prepare for Python3 2009-12-12 00:12:58 +01:00
mfranz
fe6d306493 YASim importer plugin for Blender 2009-12-12 00:12:51 +01:00