Created
November 20, 2015 02:39
-
-
Save diggzhang/38a9b45705702902daab to your computer and use it in GitHub Desktop.
简单的生成几百个落地页加Q的方法
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import sys | |
import os | |
import time | |
url_list = [ | |
"http://vs.yangcong345.com/三角形的高.html", | |
"http://vs.yangcong345.com/三角形的高.html", | |
"http://vs.yangcong345.com/三角形的高.html", | |
] | |
def url_add_q(urls, q): | |
url_list_with_q = [] | |
for url in urls: | |
print(str(url) + "?q=" + q) | |
return url_list_with_q | |
q = raw_input("输入q:") | |
url_add_q(url_list, q) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment