Created
October 18, 2012 16:50
-
-
Save Osse/3913190 to your computer and use it in GitHub Desktop.
shebang patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From c5744b66fc7efc26dee982cb21a1a1a6b761f1a4 Mon Sep 17 00:00:00 2001 | |
From: =?UTF-8?q?=C3=98ystein=20Walle?= <[email protected]> | |
Date: Thu, 18 Oct 2012 18:48:25 +0200 | |
Subject: [PATCH] Add shebang line to example.py | |
This makes it possible to run the script with e.g. './example.py' | |
instead of 'python example.py'. | |
--- | |
example.py | 2 ++ | |
1 file changed, 2 insertions(+) | |
diff --git a/example.py b/example.py | |
index 6558e88..f7d41a8 100644 | |
--- a/example.py | |
+++ b/example.py | |
@@ -1,3 +1,5 @@ | |
+#!/usr/bin/env python | |
+ | |
import numpy as np | |
import TEMimagemanipulation | |
-- | |
1.7.9.5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment