I have a python program called myresolver.py, which takes 1 command line argument. I want this python program to run like ./myresolver argument_name. Can I please know how to do this? Any help is greatly appreciated. Thanks.
simply add the correct shebang at the beginning of your myresolver.py file:
#!/usr/bin/python
and add the executable flag to the file:
$ chmod a+x myresolver.py
$ ./myresolver.py argument_name