Using PyCharm as IDE