Results 1 to 3 of 3

Thread: Python - Kayses Tutorials Part four - Creating a moneytree grabber

  1. #1

    Joined
    Jun 2012
    Posts
    1,699
    Thanks
    876
    Thanked
    2,881/1,142
    DL/UL
    44/1
    Mentioned
    562 times
    Time Online
    118d 6h 45m
    Avg. Time Online
    40m

    Python - Kayses Tutorials Part four - Creating a moneytree grabber

    In this guide we will make a money tree grabber with these features:
    Grab Items
    Grab Np
    delay for a random time between refreshes


    past guides
    1.(you need an account to see links)
    2. (you need an account to see links)
    3.(you need an account to see links)

    you will need the code attached too tutorial 2 for this I also use a list function that I use quite often , you can see that below:

    PHP Code:
    def loaffiletoarray(filename):
        
    ablist = []
        
    outputfolder =  filename
        f 
    open(outputfolder)
        
    lines f.readlines()
        
    f.close()
        
    lines2=[]
        for 
    x in lines:
            
    lines2.append(x.replace("\n",""))
        
    ablistlines2
        
    return ablist 





    Attached Files Attached Files

  2. The Following 7 Users Say Thank You to DarkByte For This Useful Post:

    BEDDOEDv (08-17-2014),Doll (08-06-2014),donovanrules1234 (04-07-2015),fairydust201 (08-07-2014),Ghosts (08-05-2014),j03 (08-05-2014),soujen (10-15-2015)

  3. #2
    Zachafer's Avatar
    Joined
    Dec 2011
    Posts
    1,235
    Userbars
    11
    Thanks
    769
    Thanked
    1,466/678
    DL/UL
    98/0
    Mentioned
    512 times
    Time Online
    24d 13h 9m
    Avg. Time Online
    8m
    Code:
    def loaffiletoarray(filename):
        with open(filename) as f:
            content = f.read().splitlines()
        return content

  4. The Following User Says Thank You to Zachafer For This Useful Post:

    DarkByte (08-09-2014)

  5. #3

    Joined
    Jun 2012
    Posts
    1,699
    Thanks
    876
    Thanked
    2,881/1,142
    DL/UL
    44/1
    Mentioned
    562 times
    Time Online
    118d 6h 45m
    Avg. Time Online
    40m
    Quote Originally Posted by Zachafer View Post
    Code:
    def loaffiletoarray(filename):
        with open(filename) as f:
            content = f.read().splitlines()
        return content
    Thanks much cleaner , everyone should use this instead of my function , but i left mine up just so vids are easier to follow , ill use this code in all future vids.
    Last edited by DarkByte; 08-11-2014 at 09:59 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •