Hi,
I would like to get information from Wikipedia articles and I am testing the
connection to Wikipedia.
I am running Python 3.6.2 on Windows 10.
I get certificate errors for all pages with https.
Any suggestions are welcome!
Here my code:
import requests, bs4
from bs4 import BeautifulSoup
Install pyopenssl package and try again?
Original Message
On 11 Dec 2017, 16:44, F Massion wrote:
> Hi,
>
> I would like to get information from Wikipedia articles and I am testing the
> connection to Wikipedia.
>
> I am running Python 3.6.2 on Windows 10.
>
> I get certificate
On Sat, Dec 9, 2017 at 11:43 AM, Thomas Jollans wrote:
>
> On 08/12/17 23:57, Larry Martell wrote:
> > Trying to install scipy on ubuntu-trusty-64 running Python 2.7.6.
>
> I STRONGLY recommend moving to Python 3 if you can. The scientific
> python ecosystem has had good support for Python 3 for y
On 2017-12-05, Steve D'Aprano wrote:
> On Wed, 6 Dec 2017 04:20 am, Jason wrote:
>> while iterating over two files, which are line-by-line
>> corresponding. The DictReader skipped ahead many lines
>> breaking the line-by-line correspondence.
>
> Um... this doesn't follow. If they are line-by-line
On 2017-12-11, Neil Cerutti wrote:
> On 2017-12-05, Steve D'Aprano wrote:
>> On Wed, 6 Dec 2017 04:20 am, Jason wrote:
>>> while iterating over two files, which are line-by-line
>>> corresponding. The DictReader skipped ahead many lines
>>> breaking the line-by-line correspondence.
>>
>> Um... th
On 12/11/2017 07:27 AM, Dennis Lee Bieber wrote:
> On Sun, 10 Dec 2017 16:05:37 -0800 (PST), Lauren Porter
> declaimed the following:
>
>> Hello all! I've been trying to create a game in Python Processing
Seems like most of the
Lauren Porter wrote:
> Hello all! I've been trying to create a game in Python Processing where a
> spaceship moves horizontally in order to miss a collision with an
> asteroid. I'm having difficulty making it so that the game quits when an
> asteroid hits the spaceship, could anybody help? Here is
On Tue, Dec 12, 2017 at 5:46 AM, Peter Otten <__pete...@web.de> wrote:
> You can test for a collision and exit if an asteroid is close to a spaceship
> with
>
> for s in spaceship:
> for a in asteroid:
> if calculate_distance(s, a) < 62.5:
> print("One of you
On Tue, Dec 05, 2017 at 09:02:54PM +1200, ssghotra1997 wrote:
> for i in range(num):
> rolls = int(random.randint(1, 6))
> if rolls == 1:
> sides['One'] += 1
[...]
Using integers as the key makes the code a bit shorter... That
approach is also better if you're usin
Chris Angelico wrote:
> On Tue, Dec 12, 2017 at 5:46 AM, Peter Otten <__pete...@web.de> wrote:
>> You can test for a collision and exit if an asteroid is close to a
>> spaceship with
>>
>> for s in spaceship:
>> for a in asteroid:
>> if calculate_distance(s, a) < 62.5:
>>
Lawrence D’Oliveiro wrote:
> Rick Johnson wrote:
> > And it's not like we can just pick file up and shake
> > it, in a crude attempt to intuit the contents.
>
> Yes we can!
BO??? Is that you?
--
https://mail.python.org/mailman/listinfo/python-list
On Thursday, December 7, 2017 at 4:49:52 AM UTC-8, edmondo.g...@gmail.com wrote:
> import numpy
I teach Python to students at varying levels. As much as I love and use Numpy
in my regular work, I try to avoid showing beginning Python students solutions
that require third-party packages. Her
This thread is getting like a mini hologram of our current surreal time…
If we can put aside who is right and wrong for a moment we see the more
frightening spectacle that Repubs and democrats, Remainers and Brexiters and so
on all over — by getting more and more shrill are not talking to each o
On Tue, Dec 12, 2017 at 12:37 PM, Rustom Mody wrote:
>
> This thread is getting like a mini hologram of our current surreal time…
> If we can put aside who is right and wrong for a moment we see the more
> frightening spectacle that Repubs and democrats, Remainers and Brexiters and
> so
> on all
F Massion writes:
> ...
> I would like to get information from Wikipedia articles and I am testing the
> connection to Wikipedia.
>
> I am running Python 3.6.2 on Windows 10.
>
> I get certificate errors for all pages with https.
> Any suggestions are welcome!
> ...
> self._sslobj.do_handsh
15 matches
Mail list logo