creating custom command

Job ID: 35283566

Budget: ₹600 – ₹1,500 INR

I have python scripts (code), inside that some functions (some functions are taking inputs as integers and some are taking strings) are also there.
for that i want custom command to run in ubuntu.
(suppose i am running python code with command "python code.py" then i want that code should run only by giving command "code")
also i need to input to functions through commands only
Related categories: PHP C Programming Python Linux Software Architecture