#!/usr/bin/python
import praw

reddit = praw.Reddit('mob-secondbot')

subreddit = reddit.subreddit("learnpython")

for submission in subreddit.hot(limit=5):
    print("Title: ", submission.title)
    print("Text: ", submission.selftext)
    print("Score: ", submission.score)
    print("---------------------------------\n")

[(4, 'praw.Reddit', 'praw.Reddit', False, 'import praw\n')]