Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Pedro Gonzalez plgonzalezrx8

🏠
Working from home
Block or report user

Report or block plgonzalezrx8

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am plgonzalezrx8 on github.
  • I am plgonzalezrx8 (https://keybase.io/plgonzalezrx8) on keybase.
  • I have a public key ASCz6YOu3nYxv9hunD32rTQfEN2RYNSonVO2SzMOOTSvpAo

To claim this, I am signing this object:

@plgonzalezrx8
plgonzalezrx8 / cleaner.py
Created Jul 16, 2018
txt file cleaner to remove all empty lines
View cleaner.py
#! /usr/bin/env python2.7
import glob
counter = 0
cache = []
# Get rid of empty lines
def cleanemptylines(filename):
@plgonzalezrx8
plgonzalezrx8 / parser.py
Created Jul 16, 2018
Subreddit Comment Parser
View parser.py
#! /usr/bin/env python2.7
"""This application will go through all the comments on a specific subreddit and parse all
the comments and save them to a local text file"""
import threading
import praw
import time
import cleaner
import glob
#reffer to the praw documentation for more info on clientID and client_secret. (API Keys)
You can’t perform that action at this time.