Python 770 questions
22:54 2015.12.28 from Qq_30572853
Python access to 403forbidden suddenly encountered a edge, using the browser can not access the browser?
Such as the title, the use of requests access, when writing code yesterday, more than two hours has been visited the home page, there is no problem, today with the same program will become 403forbidden, chrome, edge access to the web site has become 403forbidden.. Do not know is...
Two

Answer

21:56 2015.12.28 from Baidu_33463617
God help me to change the program. Remove the contents of the first comma after the repeat line. Just keep one
# /usr/bin/python! # -*- coding: UTF-8 -*- The # inside a repeat, to repeat the line Re import Quchong = open ('G:\\007txt\\chongfuhan...
One

Answer

21:10 2015.12.28 from Qingyuanluofeng Offer a reward 1C
You ask God, how to use Python to extract the different parts of the two images?
Dear friends, I have a picture 1.png, another piece of picture 2.png picture 1 and picture 2 only a fraction of the different parts, now I want to in picture 1 for reference, the picture 2 and 1 in different part cut out to form a picture 3, ask you to do image processing of God to do, or...
One

Answer

21:10 2015.12.28 from Qingyuanluofeng Offer a reward 1C
You ask God, how to use Python to extract the different parts of the two images?
Dear friends, I have a picture 1.png, another piece of picture 2.png picture 1 and picture 2 only a fraction of the different parts, now I want to in picture 1 for reference, the picture 2 and 1 in different part cut out to form a picture 3, ask you to do image processing of God to do, or...
One

Answer

18:06 2015.12.28 from Baidu_33463617
Python I want to delete the blank line, how to get? (as is the case for the second time, there is no content, but thank God)
3798 A3 1-14, and west of downtown by part of the impact of shopping discounts, Fuchengmen Road, Fuxing Road, Sanhuan outside out of town line traffic pressure, 3799 1-14 16:53 a3, 3800 1-14 16:58 A3, northeast of the inner ring of the first line...
One

Answer

17:52 2015.12.28 from Baidu_33463617
Remove the first comma after the contents of the repeat line, just keep one line. I am a novice, God help me to write the program. Thank you very much
[photo description] (http://prog3.com/sbdm/img.ask/upload/201512/28/1451296203_897261.png) 3798 1-14 16:52 A3, the western city, by some of the district discount...
Two

Answer

00:07 2015.12.28 from Luczhi
Noob, return Python in JSON format
[photo description] (http://prog3.com/sbdm/img.ask/upload/201512/28/1451232275_986656.png) [photo description] (http://prog3.com/sbdm/img.ask/up...
Four

Answer

19:22 2015.12.27 from Am_thinking
Explain a docker command.
First built in the local dockerfile, docker-entrypoint.sh and requirements.txt files, dockerfile files Content as: . Daocloud.io/pyth FROM...
One

Answer

18:03 2015.12.26 from Qingyuanluofeng
Ask friends, numpy.min in python (dataset[: j]) this sentence is what does this mean?
Dear God, this is a problem: Recently in K-means clustering algorithm to see the python version to see a friend to write the program, the following is to select the data set K dataSet of the initial center of the function . Dear God, this is a problem: Recently watch K-m...
One

Answer

20:36 2015.12.24 from Weixin_31977675
With Python output of 1 to one hundred million between the even number
Ask God give the program and simple explanation! With a simple and popular language to describe ~ thanks!!!!!!!!!!!!!
Six

Answer

A total of 770 data One Three Four ... Shadowe