Line | |
---|
1 | import sys
|
---|
2 | from typing import List
|
---|
3 |
|
---|
4 |
|
---|
5 | class HelloWorld:
|
---|
6 | '''
|
---|
7 | Test for translation to python.<br>
|
---|
8 | Extra line for multiline-test.
|
---|
9 | '''
|
---|
10 | __username:str = "Jan"
|
---|
11 | __lastname:str = "Coens"
|
---|
12 | @staticmethod
|
---|
13 | def main(args:List[str]) -> None:
|
---|
14 | '''
|
---|
15 |
|
---|
16 | @param args the arguments of the call.
|
---|
17 | '''
|
---|
18 | sys.stdout.write( ("Hello " + HelloWorld.__username + "!")+'\n')
|
---|
19 |
|
---|
20 | if __name__ == "__main__":
|
---|
21 | HelloWorld.main(sys.argv[1:])
|
---|
Note:
See
TracBrowser
for help on using the repository browser.