Added hashbang to executables

This commit is contained in:
Marcos Del Sol Vives 2019-01-29 10:53:20 +01:00
parent 91433f9ca3
commit 15beacb682
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
try:
import numpy as np
from PIL import Image

4
ui.py
View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
"""
Code illustration: 6.09
@ -544,4 +546,4 @@ class PaintApplication(framework.Framework):
if __name__ == '__main__':
root = tk.Tk()
app = PaintApplication(root)
root.mainloop()
root.mainloop()