Also, some of your questions(like this one) seem very basic.Have you gone through the official tutorial yet? It's a really good introduction to most python features for people with previous programming experience.