Mapping a network printer using Python

As a new programmer, I have been trying to gain a better knowledge of the Python programming language. I am currently working on a project that requires me to map a network printer; however, I am not sure how to do this.

I have been successful in mapping a drive to a network location, but have been unsuccessful in mapping a network printer to my computer.

Any tips, links, or code is greatly appreciated! Thanks