darangho 0 Newbie Poster

Hi, all
I want to write a program that doesn't require
/path filename.py whenever i execute the program.

I heard that one way to do is creating an alias for a command.
I know this can be done by alias name=String in shell script,
but how can i perform this using python?

have any idea???

Thanks!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.