aboutsummaryrefslogtreecommitdiff
path: root/dfrf.py
diff options
context:
space:
mode:
Diffstat (limited to 'dfrf.py')
-rwxr-xr-xdfrf.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/dfrf.py b/dfrf.py
new file mode 100755
index 0000000..9f1df9b
--- /dev/null
+++ b/dfrf.py
@@ -0,0 +1,18 @@
+#!/bin/env python
+
+'''
+# Secondary file
+
+A program to retrieve the definition of a french word (in french language).
+Only the first defintion, have a look at dfr.py to the main file.
+'''
+
+import sys
+import os
+
+
+if __name__ == '__main__':
+ import sys
+ if sys.executable:
+ os.execlp(sys.executable, 'python', os.getcwd() + '/dfr.py', *sys.argv[1:], '-f')
+