pretty code

2019年3月13日 星期三

Fix "Python 2 Syntax" of UDK2018 BaseTools when your use Python 3 to build BaseTools


There are three kinds of "Syntax error" in codes of "BaseTools\Source\Python".

1. print "XXX" ===> print("XXX")
2. operator "<>" ===> "!="
3. except "YYY", X:  ===> except "YYY" as X:


沒有留言: