×ÉѯÇëÌí¼Ó QQ£º3064302332 ΢ÐÅ£ºwxxygzs
ÄÏ¿ªÍøÂçÅÀ³æÓëÐÅÏ¢ÌáÈ¡_24´ºÑ§ÆÚ£¨¸ßÆð±¾£º1803-2103¡¢×¨Éý±¾¸ßÆðר£º2009-2103£©¡¶ÍøÂçÅÀ³æÓëÐÅÏ¢ÌáÈ¡¡·ÔÚÏß×÷Òµ[±ê×¼´ð°¸]
ÊÔ¾í×Ü·Ö:100 µÃ·Ö:100
Ò»¡¢µ¥Ñ¡Ìâ (¹² 20 µÀÊÔÌâ,¹² 40 ·Ö)
1.ÏÂÃæPython´úÂëÊä³öΪ(): def default_para_trap(para=[], value=0): para.append(value) return para print('µÚÒ»²½:{}'.format(default_para_trap(value=100))) print('µÚ¶þ²½:{}'.format(default_para_trap(value=50)))
A.µÚÒ»²½:[100] µÚ¶þ²½:[100,50]
B.µÚÒ»²½:[100] µÚ¶þ²½:[50]
C.µÚÒ»²½:[100] µÚ¶þ²½:[]
D.µÚÒ»²½:[100] µÚ¶þ²½:[100]
2.Python¶ÁCSVÎļþÐèÒªÄĸö·½·¨()
A.CSVReader
B.CsvReader
C.DictReader
D.FileReader
3.ÔÚPythonÖÐ,ΪÁËʹÓÃXPath,ÐèÒª°²×°Ò»¸öµÚÈý·½¿â()
A.lxml
B.xml
C.xpath
D.path
4.chromeĬÈÏ´ò¿ª¿ª·¢Õß¹¤¾ßµÄ¿ì½ÝÊÇ
A.F5
B.F11
C.F12
D.F2
5.xpathÖÐextract·½·¨·µ»ØÖµÀàÐÍÊÇ()
A.Áбí
B.Ôª×é
C.×Öµä
D.¼¯ºÏ
6.RedisÖÐÈç¹û²»É¾³ýÁбíÖеÄÊý¾Ý,ÓÖÒª°ÑÊý¾Ý¶Á³öÀ´,¾ÍÐèҪʹÓùؼü×Ö()
A.range
B.lrange
C.srange
D.pop
7.RedisÖжÁÈ¡Êý¾ÝÓï¾älrange chapter 0 3,ÄÇô±íʾ¶ÁÁбíÖÐ()¸öÖµ
A.2
B.3
C.4
D.5
8.requests»ñÈ¡get»òÕßpostÇëÇóºóÐèҪͨ¹ý()ÊôÐÔ»ñÈ¡Îı¾ÄÚÈÝ
A.content
B.text
C.string
D.body
9.ÒÔϱíʾÇëÇó×ÊÔ´ÕÒ²»µ½µÄHTTP״̬ÂëΪ
A.200
B.301
C.404
D.500
10.µ±ÐèÒª°ÑPythonÀïÃæµÄÊý¾Ý·¢Ë͸øÍøҳʱ,ÐèÒªÏÈת»»³É()×Ö·û´®
A.Python
B.Json
C.ÕýÔò±í´ïʽ
D.Ajax
11.PythonÖÐÄÄÖÖÈÝÆ÷Ò»µ©Éú³É¾Í²»ÄÜÐÞ¸Ä
A.Áбí
B.Ôª×é
C.×Öµä
D.¼¯ºÏ
12.PythonÖÐObject=(1, 2, 3, 4, 5),ÔòObjcetÊÇ()
A.Áбí
B.Ôª×é
C.×Öµä
D.¼¯ºÏ
13.()ÊÇÒ»¸ö´«µÝÐÅÏ¢µÄͨµÀ¡£Ëü¸ºÔð½«ÅÀÈ¡²©ÎÄÁбíÒ³»ñÈ¡µ½µÄÐÅÏ¢´«µÝ¸ø¸ºÔðÅÀÈ¡ÕýÎÄÒ³µÄ·½·¨ÖС£
A.meta
B.head
C.header
D.body
14.ÔÚScrapy¹¤³ÌµÄsettings.pyÎļþÖÐ,ÄĸöÅäÖÃÏî,Èç¹ûÉèÖÃΪTrue,ÄÇôScrapy¾Í»á×Ô¶¯Ìø¹ýÍøÕ¾²»ÔÊÐíÅÀÈ¡µÄÄÚÈÝ()
A.ROBOTSTXT_ OBEY
B.ROBOTSTXT_JUDGE
C.ROBOTSTXT
D.ROBOTSTXT_ IF
15.HTTP³£ÓÃ״̬Âë±íÃ÷·þÎñÆ÷ÄÚ²¿×ÊÔ´³ö¹ÊÕÏÁ˵ÄÊÇ()
A.500
B.503
C.403
D.404
16.Python²Ù×÷CSVÎļþ¿Éͨ¹ý()ÈÝÆ÷µÄ·½Ê½²Ù×÷µ¥Ôª¸ñ
A.Áбí
B.Ôª×é
C.×Öµä
D.¼¯ºÏ
17.PythonÖаÑÁбíת»»Îª¼¯ºÏÐèҪʹÓÃ##º¯Êý
A.set
B.list
C.convert
D.change
18.HTTP³£ÓÃ״̬Âë±íÃ÷·þÎñÆ÷²»ÔÊÐí·ÃÎÊÄǸö×ÊÔ´µÄÊÇ()
A.500
B.503
C.403
D.405
19.´òÂëƽ̨һ°ãͨ¹ý()ʶ±ðÑéÖ¤Âë¡£
A.È˹¤Ê¶±ð
B.»úÆ÷ѧϰʶ±ð
C.¹âѧ×Ö·ûʶ±ð
D.Éî¶Èѧϰʶ±ð
20.´øÉÏͨ¹ýChromeä¯ÀÀÆ÷´ÓÆÀÂÛÒ³Ã渴ÖƶøÀ´µÄ()ÔÙ·¢ÆðÇëÇó,¿ÉÒÔ¼õÉÙÅÀ³æ±»ÍøÕ¾·âËøµÄ¸ÅÂÊ
A.Cookie
B.Html
C.Headers
D.CSS
¶þ¡¢¶àÑ¡Ìâ (¹² 10 µÀÊÔÌâ,¹² 20 ·Ö)
21.×î³£¼ûµÄHTTPÇëÇóÀàÐÍÓÐ()
A.GET
B.POST
C.SEND
D.RECEIVE
22.BS4¿ÉÒÔÓÃÀ´´Ó()ÖÐÌáÈ¡Êý¾Ý
A.HTML
B.XML
C.Êý¾Ý¿â
D.JSON
23.HTTP³£ÓÃ״̬Âë±íÃ÷±íÃ÷·þÎñÆ÷±¾Éí·¢Éú´íÎóµÄÓÐ()
A.403
B.404
C.500
D.503
24.PythonÖÐÄÄÖÖÈÝÆ÷Éú³Éºó¿ÉÒÔÐÞ¸ÄÄÚÈÝ
A.Áбí
B.Ôª×é
C.×Öµä
D.¼¯ºÏ
25.ÏÂÁйØÓÚÔÚIOSÉÏÅäÖÃcharlesµÄ˵·¨ÕýÈ·µÄÊÇ()
A.²»Í¬iosÉ豸֮¼ä»áÓбȽϴóµÄ²î±ð£¬ËùÒÔÅäÖõÄʱºòÐèÒªÕÒµ½¶ÔÓ¦µÄ°²×°Ö¤ÊéµÄÈë¿Ú¡£
B.ÊÖ»úºÍµçÄÔÐèÒªÔÚͬһ¸ö¾ÖÓòÍøÏ¡£
C.HTTP´úÀí¿ÉÒÔʹÓÓ×Ô¶¯”Ñ¡Ïî¡£
D.°²×°ºÃÖ¤ÊéÒԺ󣬴ò¿ªiOSÉ豸ÉϵÄÈκÎÒ»¸öApp£¬¿ÉÒÔ¿´µ½CharlesÖÐÓÐÊý¾Ý°üÔÚÁ÷¶¯
26.PyMongo¸üвÙ×÷ÓÐ()
A.update
B.update_all
C.update_one
D.update_many
27.PythonÖÐÓÐÄÄЩʵÏÖ¶àÏ̷߳½·¨()
A.multiprocess.dummy
B.threading.Thread
C.process
D.PyMongoDB
28.PythonÖÐͨ¹ýKeyÀ´´Ó×ÖµäobjectÖжÁÈ¡¶ÔÓ¦µÄValueµÄ·½·¨ÓÐ()
A.object[key]
B.object.get(key)
C.object.pop(key)
D.object.pop()
29.HTTP³£ÓÃ״̬Âë±íÃ÷±íÃ÷¿Í»§¶ËÊÇ·¢Éú´íÎóµÄÔÒòËùÔÚµÄÓÐ()
A.403
B.404
C.500
D.503
30.ʹÓÃSelennium»ñÈ¡ÍøÒ³ÖÐÔªËصķ½·¨ÓÐ
A.find_element_by_name
B.find_element_by_id
C.find_elements_by_name
D.find_elements_by_id
Èý¡¢ÅжÏÌâ (¹² 20 µÀÊÔÌâ,¹² 40 ·Ö)
31.charlesÅäÖÃÖÐ,°²×°Íê³ÉÖ¤ÊéÒÔºó,ÔÚÉèÖÃÖдò¿ª“¹ØÓÚ±¾»ú”,ÕÒµ½×îÏÂÃæµÄ“Ö¤ÊéÐÅÈÎÉèÖÔ,²¢ÔÚÀïÃæÆô¶¯¶ÔCharlesÖ¤ÊéµÄÍêÈ«ÐÅÈΡ£
32.RedisÊÇ×ñÊØBSDÐÒé¡¢Ö§³ÖÍøÂç¡¢¿É»ùÓÚÄÚ´æÒà¿É³Ö¾Ã»¯µÄÈÕÖ¾ÐÍ¡¢Key-ValueÊý¾Ý¿â
33.Scrapy×÷Ϊһ¸öÅÀ³æµÄ¿ò¼Ü,ËüÔÚµ¥»ú»·¾³ÏÂÔËÐÐʱ¾Í¿ÉÒÔ»ñµÃ×î´óÐÔÄÜÓÅÊÆ
34.mitmproxyµÄÇ¿´óÖ®´¦ÔÚÓÚËü»¹×Ô´øÒ»¸ömitmdumpÃüÁî¡£Õâ¸öÃüÁî¿ÉÒÔÓÃÀ´ÔËÐзûºÏÒ»¶¨¹æÔòµÄPython½Å±¾
35.ʹÓÃUI AutomatorrÈÃÆÁÄ»ÏòÓÒ¹ö¶¯µÄ²Ù×÷Êǵõ½ÏàÓ¦¿Ø¼þºóʹÓÃÃüÁîscroll.horiz.forward()
36.PyMongoDBÖÐÅÅÐò·½·¨sortµÚ¶þ¸ö²ÎÊý-1±íʾÉýÐò
37.HTTP״̬Âë302Óë307ÍêȫͬÒå¡£
38.ʹÓÃÒì²½¼ÓÔؼ¼ÊõµÄÍøÕ¾,±»¼ÓÔصÄÄÚÈÝ¿ÉÒÔÔÚÔ´´úÂëÖÐÕÒµ½
39.ÐèÒªµÇ¼µÄÍøÕ¾Ò»°ãͨ¹ýGETÇëÇó¾Í¿ÉÒÔʵÏֵǼ¡£
40.ÔÚʹÓöàÏ̴߳¦ÀíÎÊÌâʱ,Ï̳߳ØÉèÖÃÔ½´óÔ½ºÃ
41.PythonÕýÔò±í´ïʽÖГ.*?”ÊÇ·ÇÌ°À·Ä£Ê½,»ñÈ¡×î¶ÌµÄÄÜÂú×ãÌõ¼þµÄ×Ö·û´®¡£
42.ÅÀ³æµÄÔ´´úÂëͨ¹ý¹«¿ª²»»á¶Ô±»ÅÀ³æÍøÕ¾Ôì³ÉÓ°Ïì
43.´òÂëƽ̨¶¼ÊÇ¿¿»úÆ÷ʹÓÃOCR¼¼Êõʶ±ðͼƬÉϵÄÎÄ×Ö¡£
44.CharlesºÍChrome¿ª·¢Õß¹¤¾ßÏà±È,Ö»ÊǶàÁËÒ»¸öËÑË÷¹¦ÄÜ¡£
45.ÅÀ³æÎļþÎÞ·¨´ÓPycharmÔËÐк͵÷ÊÔ,Ö»ÄÜͨ¹ýÃüÁîÐеķ½Ê½ÔËÐС£
46.RedisÖвéѯÁÐ±í³¤¶ÈÃüÁîllenÖÐl´ú±íleft,¼´´Ó×ó²à¿ªÊ¼Êý
47.ÔÚcharlesÖÐʹÓÃCTRL+FËÑË÷,JSONÀïÃæµÄÖÐÎÄÊÇ¿ÉÒÔÖ±½ÓËÑË÷µ½µÄ¡£
48.µ±Ê¹ÓÃScarpy´´½¨ÅÀ³æʱ,µ±ÅÀÈ¡ÍøÒ×ÔÆÒôÀÖÊ×Ò³ÐÅϢʱ,scrapy genspiderµÄµÚ¶þ¸ö²ÎÊýÖ±½ÓÊäÈë"163.com"¾Í¿ÉÒÔÁË
49.MongoDBÊÇÒ»¸ö¹ØϵÊý¾Ý¿â²úÆ·
50.Scrapyÿһ´Î·¢ÆðÇëÇó֮ǰ¶¼»áÔÚÕâÀï¼ì²éÍøÖ·ÊÇ·ñÖظ´¡£Òò´ËÈç¹ûȷʵÐèÒªÔÙÒ»´ÎÅÀÈ¡Êý¾Ý,ÔÚRedisÖаÑÕâ¸öKeyɾ³ý¼´¿É¡£