Python help

Discussion in 'General Off-Topic Chat' started by Linkiboy, Sep 16, 2007.

Sep 16, 2007

Python help by Linkiboy at 2:19 AM (398 Views / 0 Likes) 0 replies

  1. Linkiboy
    OP

    Member Linkiboy GBAtemp Testing Area

    Joined:
    May 14, 2006
    Messages:
    4,888
    Country:
    United States
    solved

    I was making a fusker app, heres the final version

    CODEfilename = "PyFusk.html"
    done = 0
    namelist = []
    a = raw_input("Whats the URL? (Example: http://google.com/image0) ")
    b = input("Starting number? (No zeroes before the first real number, you must include that in the first question) ")
    c = input("Ending number? ")
    d = raw_input("Image format? ")
    while not done:
    Â Âif b < c:
    Â Â Â Âe = b
    Â Â Â Ânamelist.append('
    ')
    Â Â Â Âb += 1
    Â Âelse:
    Â Â Â Âdone = 1
    Â Â Â Âprint "Finished."
    Â ÂFILE = open(filename,"w")
    Â ÂFILE.writelines(namelist)
    Â ÂFILE.close()
     

Share This Page