diff options
author | biswakalyan890@gamil.com | 2022-09-24 12:21:56 +0530 |
---|---|---|
committer | biswakalyan890@gamil.com | 2022-09-24 12:21:56 +0530 |
commit | b0cc2df4fcbc856861448069a0802c5a22becf31 (patch) | |
tree | 8f121a2aaa187d8266e20df23ad36262ab051866 /httpx |
script's
Diffstat (limited to 'httpx')
-rwxr-xr-x | httpx | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +import re +import sys +from httpx import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) |