changeset 164:30eb64fc9019

created
author 127.0.0.1
date Fri, 29 Jun 2012 21:51:31 +0200
parents ea49a9a44368
children 7372f425e83e
files docs/004%2F001%2Fresources.py
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/004%2F001%2Fresources.py	Fri Jun 29 21:51:31 2012 +0200
@@ -0,0 +1,8 @@
+import os
+
+def file_path(filename):
+    return os.path.join(
+            os.path.dirname(os.path.abspath(__file__)),
+            'resources',
+            filename
+        )