diff options
author | ache <ache@ache.one> | 2021-09-16 03:42:32 +0200 |
---|---|---|
committer | ache <ache@ache.one> | 2021-09-16 03:42:32 +0200 |
commit | c8fa0b2d8d96157c53b79396b9e2475acec59f27 (patch) | |
tree | 1acf0173e66074e3dc22c926b6071c13748cdd1e /dfrf.py | |
parent | Install fix (diff) |
Add the dfrf command
Diffstat (limited to 'dfrf.py')
-rwxr-xr-x | dfrf.py | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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') + |