From c8fa0b2d8d96157c53b79396b9e2475acec59f27 Mon Sep 17 00:00:00 2001 From: ache Date: Thu, 16 Sep 2021 03:42:32 +0200 Subject: Add the dfrf command --- dfrf.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 dfrf.py (limited to 'dfrf.py') 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') + -- cgit v1.2.3