1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

People experienced with python

Discussion in 'Black Hat SEO' started by Deetssosa, Mar 30, 2015.

  1. Deetssosa

    Deetssosa Newbie

    Joined:
    Mar 16, 2015
    Messages:
    15
    Likes Received:
    1
    Basically I need help from someone who is good at using Python I'm trying to create some sort of checker but have no idea what to do or even where to start. Complete noob here just asking for some help :eek:
     
  2. myopic1

    myopic1 Regular Member

    Joined:
    Mar 24, 2014
    Messages:
    408
    Likes Received:
    404
    80% of the battle with learning how to code your own programs is learning how to learn effectively, if someone were to spoon feed you, you would soon rely on them entirely, instead sit in silence and think about what you program needs to do, break it down into its constituent elements. Having been in your position I will give you one word of help...'Requests'.
     
    Last edited: Mar 30, 2015
  3. Bartholomew

    Bartholomew Regular Member

    Joined:
    Dec 31, 2009
    Messages:
    290
    Likes Received:
    104
    Home Page:
    First read this http://www.diveintopython.net/
    If you're going to write a HTTP checker, you need to read manuals on urllib/urllib2, cookielib and threading.
     
  4. myopic1

    myopic1 Regular Member

    Joined:
    Mar 24, 2014
    Messages:
    408
    Likes Received:
    404
    Requests handles all of that...with the exception of threading, but that's reasonably easy to get your head around as long as you're aware of the RAM/CPU % you're using. It took me a while to figure out that I shouldn't be using subprocess with shell = True...weird things were happening with my variables, the RAM was slowly getting eaten until shut-down...to this day I don't know why.
     
    Last edited: Mar 30, 2015