I am trying to make an application that should not portable between computers or
between users of the same computer.
Which is the best way to do this?
edit:
By not portable I meant, the application should not be usable without installing it. ie) moving the installed folder to a different computer or different user login of the same computer.
How can we get an id that is always unique to a user login in a computer?.
please excuse my poor english.
Let your installation script copy some modules of your program to user application directory.
In your program add that path to sys.path, that import would find your modules.