Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-05 Thread Terry Reedy
On 12/5/2019 3:55 PM, MRAB wrote: Ok thanks for the explanation there, and I have placed the cursor at the beginning of the first indented line. Moving down 1 line at a time , each line is at the same position upto line 157 in the authors code . Then it is closer in to the edge upto line 190, wh

Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-05 Thread MRAB
On 2019-12-05 20:39, Joel Goldstick wrote: On Thu, Dec 5, 2019 at 3:31 PM RobH wrote: On 05/12/2019 19:40, Rhodri James wrote: > On 05/12/2019 19:30, Rhodri James wrote: >> On 05/12/2019 18:49, RobH wrote: >>> Update: >>> I did python3 Internet.py >>> and now only get this error: >>> >>> pi@ra

Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-05 Thread Joel Goldstick
On Thu, Dec 5, 2019 at 3:31 PM RobH wrote: > > On 05/12/2019 19:40, Rhodri James wrote: > > On 05/12/2019 19:30, Rhodri James wrote: > >> On 05/12/2019 18:49, RobH wrote: > >>> Update: > >>> I did python3 Internet.py > >>> and now only get this error: > >>> > >>> pi@raspberrypi:~/Downloads $ pytho

Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-05 Thread RobH
On 05/12/2019 19:40, Rhodri James wrote: On 05/12/2019 19:30, Rhodri James wrote: On 05/12/2019 18:49, RobH wrote: Update: I did python3 Internet.py and now only get this error: pi@raspberrypi:~/Downloads $ python3 Internet.py    File "Internet.py", line 24 font = ImageFont.truetype( 'Min

Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-05 Thread Rhodri James
On 05/12/2019 19:30, Rhodri James wrote: On 05/12/2019 18:49, RobH wrote: Update: I did python3 Internet.py and now only get this error: pi@raspberrypi:~/Downloads $ python3 Internet.py    File "Internet.py", line 24 font = ImageFont.truetype( 'Minecraftia.ttf', 35)    

Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-05 Thread Rhodri James
On 05/12/2019 18:49, RobH wrote: Update: I did python3 Internet.py and now only get this error: pi@raspberrypi:~/Downloads $ python3 Internet.py   File "Internet.py", line 24     font = ImageFont.truetype( 'Minecraftia.ttf', 35)     ^ TabError:

Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-05 Thread MRAB
On 2019-12-05 18:49, RobH wrote: On 05/12/2019 10:07, RobH wrote: On 04/12/2019 23:15, Python wrote: Le 05/12/2019 à 00:06, RobH a écrit : On 04/12/2019 22:33, Wildman wrote: On Wed, 04 Dec 2019 20:25:33 +, RobH wrote: I am trying to do this project on a pi zero: http://frederickvanden

Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-05 Thread RobH
On 05/12/2019 10:07, RobH wrote: On 04/12/2019 23:15, Python wrote: Le 05/12/2019 à 00:06, RobH a écrit : On 04/12/2019 22:33, Wildman wrote: On Wed, 04 Dec 2019 20:25:33 +, RobH wrote: I am trying to do this project on a pi zero: http://frederickvandenbosch.be/?p=1365 I copied the cod

Re: Extract sentences in nested parentheses using Python

2019-12-05 Thread A S
On Tuesday, 3 December 2019 23:48:21 UTC+8, Peter Otten wrote: > A S wrote: > > > On Tuesday, 3 December 2019 01:01:25 UTC+8, Peter Otten wrote: > >> A S wrote: > >> > >> I think I've seen this question before ;) > >> > >> > I am trying to extract all strings in nested parentheses (along with

Re: Extract sentences in nested parentheses using Python

2019-12-05 Thread A S
On Tuesday, 3 December 2019 06:22:52 UTC+8, DL Neil wrote: > On 3/12/19 6:00 AM, Peter Otten wrote: > > A S wrote: > > I think I've seen this question before ;) > > In addition to 'other reasons' for @Peter's comment, it is a common > ComSc worked-problem or assignment. (in which case, we'd appr

Re: What does the blue color section in background mean?

2019-12-05 Thread MRAB
On 2019-12-05 03:28, lampahome wrote: I tried to plot graph about a time-series with library statsmodel. I decide to plot autocorrelation function, but I don't know the blue section in the example graph mean... Can anyone tell me? The plot_acf example link: https://www.statsmodels.org/dev/gene

Re: ImportError: No module named Adafruit_SSD1306

2019-12-05 Thread RobH
On 04/12/2019 23:15, Python wrote: Le 05/12/2019 à 00:06, RobH a écrit : On 04/12/2019 22:33, Wildman wrote: On Wed, 04 Dec 2019 20:25:33 +, RobH wrote: I am trying to do this project on a pi zero: http://frederickvandenbosch.be/?p=1365 I copied the code to the pi zero Download folder a

Re: array and struct 64-bit Linux change in behavior Python 3.7 and 2.7

2019-12-05 Thread Barry Scott
> On 3 Dec 2019, at 01:50, Richard Damon wrote: > > On 12/2/19 4:25 PM, Barry Scott wrote: >> >>> On 2 Dec 2019, at 17:55, Rob Gaddi >>> wrote: >>> >>> On 12/2/19 9:26 AM, Chris Clark wrote: Test case: import array array.array('L', [0]) # x.i

Re: Developers are advised to purge these malicious packages

2019-12-05 Thread Pankaj Jangid
Christian Heimes writes: > On 04/12/2019 18.59, David Lowry-Duda wrote: >> I notice that "python3-dateutil" is in over 4000 github repositories >> [1]. That sounds like a disaster. >> >> [1]: https://github.com/search?q=python3-dateutil&type=Code > > At least the first pages are packaging files