pip is the command which has to be run from the command line, not from the python interpreter. pip command actually helps in installing module.
For windows, it is usually found under your <python installation directory>\Scripts
so if you have installed Python 3.4 at C:, your command wil be
C:\Python34\Scripts\pip.exe install selenium
Hope that helps.