aboutsummaryrefslogtreecommitdiff
path: root/dfrf.py
diff options
context:
space:
mode:
authorache <ache@ache.one>2021-09-16 03:42:32 +0200
committerache <ache@ache.one>2021-09-16 03:42:32 +0200
commitc8fa0b2d8d96157c53b79396b9e2475acec59f27 (patch)
tree1acf0173e66074e3dc22c926b6071c13748cdd1e /dfrf.py
parentInstall fix (diff)
Add the dfrf command
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')
+