Skip to content

Commit b315535

Browse files
author
david allen
committed
Initial helloworld copy for pygame
1 parent 3ad0f77 commit b315535

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

HelloWorld_pygame.py

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#!/usr/bin/env python
2+
# -*- coding: utf-8 -*-
3+
4+
# Módulos | imports
5+
6+
# Constantes | constants declarations
7+
8+
# Clases | local classes
9+
# ---------------------------------------------------------------------
10+
11+
# ---------------------------------------------------------------------
12+
13+
# Funciones | local functions
14+
# ---------------------------------------------------------------------
15+
16+
# ---------------------------------------------------------------------
17+
18+
# Funcion principal | main function definition
19+
# ---------------------------------------------------------------------
20+
def main():
21+
print("Hello World!")
22+
23+
return 0
24+
pass
25+
# ---------------------------------------------------------------------
26+
27+
28+
# Ejecutar solo si se ejecuta como aplicación principal
29+
# --
30+
# Only execute if fun as main application
31+
# ---------------------------------------------------------------------
32+
if __name__ == '__main__':
33+
main()
34+
35+
pass
36+
# ---------------------------------------------------------------------

0 commit comments

Comments
 (0)