I had installed urllib3 1.22 for Python3. I upgraded it to 1.23. This
broke the requirements for requests 2.18.4:
requests 2.18.4 has requirement urllib3<1.23,>=1.21.1, but you'll have
urllib3 1.23 which is incompatible
I downgraded to 1.22, but this should not happen I think.
--
Cecil West
On 2018-06-06 02:42, Terry Reedy wrote:
On 6/3/2018 3:54 PM, Jim Lee wrote:
Given the following snippet (Python 3.6.5, Tk 8.6.8):
What OS? Likely not Windows
Already answered: Linux (Fedora 28, MATE desktop).
import tkinter as tk
from tkinter import ttk
root = tk.Tk()
cb = ttk.Combobox(ro
On 6/3/2018 3:54 PM, Jim Lee wrote:
Given the following snippet (Python 3.6.5, Tk 8.6.8):
What OS? Likely not Windows
import tkinter as tk
from tkinter import ttk
root = tk.Tk()
cb = ttk.Combobox(root)
cb.grid(row=0, column=0, sticky='NSEW')
cb['values'] = ['one', 'two', 'three', 'four']
roo
"Peter J. Holzer" writes:
> Then the statement
>
> | (For good reasons, attachments are dropped when messages are
> | distributed on the forum.)
>
> was demonstrable false (at least overly general) as the attachment in
> Jach's message wasn't dropped.
Try this more precise statement, then:
Many
Hello everyone,
Sorry about the cross-posting.
There's a couple more days to submit to the John Hunter Excellence in
Plotting Competition!
If you have any scientific plot worth sharing, submit an entry before June
8th.
For more information, see below.
Thanks,
Nelle
In memory of John Hunter, we
I am trying to dynamically add a site-package to a script that is run as a cron
job. The method adduseristepackages does not seem to do anything.
import sys
import site
print('-')print(site.getusersitepackages())
print('add',
site.addusersitepackages('/home/erik/.local/l
I have found Learning Python by Mark Lutz helpful. I have the 4th edition
(2009). Its ISBN is 978-0-596-15806-4.
A lot will depend on your learning style. This book reads more like a set
of course notes than a reference book, but it does contain tables and
summaries, too.
On Tue, Jun 5, 2018 at 5
On Tue, Jun 5, 2018 at 3:28 PM, Peter J. Holzer wrote:
>
> Now, if MacOS uses something like that, this is a different matter.
> Presumably (since HFS+ is a native file system) the kernel deals with
> NUL characters in a straightforward manner. It might even have a
> (non-POSIX) API to expose such
On 6/5/18 12:51 PM, T Berger wrote:
Can someone learn Python through a book such as Head Start Python? Would an
online course from MIT or google be better?
This is really a question about your own learning style. It is possible
to learn from a book. Not too long ago, that was one of the onl
Can someone learn Python through a book such as Head Start Python? Would an
online course from MIT or google be better?
--
https://mail.python.org/mailman/listinfo/python-list
On 06/05/2018 12:21 AM, Peter Otten wrote:
Jim Lee wrote:
Oops, I hit "reply" instead of "reply-list" last time. Trying again...
On 06/03/2018 02:01 PM, Christian Gollwitzer wrote:
Am 03.06.18 um 21:54 schrieb Jim Lee:> import tkinter as tk
from tkinter import ttk
root = tk.Tk()
cb = tt
On 2018-06-05 09:33:03 +1000, Ben Finney wrote:
> "Peter J. Holzer" writes:
> > So we have determined that "the forum" is not the mailing list and not
> > the newsgroup (Jach's message appeared on both with the attachment).
>
> By “the forum” I don't mean any specific server to the exclusion of
>
On 2018-06-05 07:37:34 +, Steven D'Aprano wrote:
> On Mon, 04 Jun 2018 22:13:47 +0200, Peter J. Holzer wrote:
> > On 2018-06-04 13:23:59 +, Steven D'Aprano wrote:
> >> I don't know whether or not the Linux OS is capable of accessing
> >> files with embedded NULs in the file name. But Mac OS
On 2018-06-05, Peter Otten <__pete...@web.de> wrote:
> Peter J. Holzer wrote:
>
>>> However, I did see that particular particular attachment, test.py in
>>> Jach's original post, and I'm reading c.l.py via gmane.
>>
>> comp.lang.python or gmane.comp.python.general? (I see the latter
>> but not the
On Sunday, 3 June 2018 20:11:43 UTC-4, Steven D'Aprano wrote:
> On Sun, 03 Jun 2018 16:36:12 -0700, bellcanadardp wrote:
>
> > hello peter ...how exactly would i solve this issue .i have a script
> > that works in python 2 but not pytho3..i did 2 to 3.py ...but i still
> > get the errro...cha
On Tue, Jun 5, 2018 at 11:11 PM, Steven D'Aprano
wrote:
> On Tue, 05 Jun 2018 20:15:01 +1000, Chris Angelico wrote:
>
>> On Tue, Jun 5, 2018 at 5:37 PM, Steven D'Aprano
>> wrote:
>>> On Mon, 04 Jun 2018 22:13:47 +0200, Peter J. Holzer wrote:
>>>
On 2018-06-04 13:23:59 +, Steven D'Aprano
On Tue, 05 Jun 2018 20:15:01 +1000, Chris Angelico wrote:
> On Tue, Jun 5, 2018 at 5:37 PM, Steven D'Aprano
> wrote:
>> On Mon, 04 Jun 2018 22:13:47 +0200, Peter J. Holzer wrote:
>>
>>> On 2018-06-04 13:23:59 +, Steven D'Aprano wrote:
>> [...]
>>
I don't know whether or not the Linux OS
On Tue, Jun 5, 2018 at 5:37 PM, Steven D'Aprano
wrote:
> On Mon, 04 Jun 2018 22:13:47 +0200, Peter J. Holzer wrote:
>
>> On 2018-06-04 13:23:59 +, Steven D'Aprano wrote:
> [...]
>
>>> I don't know whether or not the Linux OS is capable of accessing files
>>> with embedded NULs in the file name
On Mon, 04 Jun 2018 22:13:47 +0200, Peter J. Holzer wrote:
> On 2018-06-04 13:23:59 +, Steven D'Aprano wrote:
[...]
>> I don't know whether or not the Linux OS is capable of accessing files
>> with embedded NULs in the file name. But Mac OS is capable of doing so,
>> so it should be possible.
On Mon, 04 Jun 2018 20:13:32 -0700, Sharan Basappa wrote:
> Is there a specific location where user defined modules need to be kept?
> If not, do we need to specify search location so that Python interpreter
> can find it?
Python modules used as scripts can be run from anywhere, by pointing the
Peter J. Holzer wrote:
>> However, I did see that particular particular attachment, test.py in
>> Jach's original post, and I'm reading c.l.py via gmane.
>
> comp.lang.python or gmane.comp.python.general? (I see the latter but not
> the former on gmane, but I'm accessing it anonymously which migh
Jim Lee wrote:
> Oops, I hit "reply" instead of "reply-list" last time. Trying again...
>
>
> On 06/03/2018 02:01 PM, Christian Gollwitzer wrote:
>> Am 03.06.18 um 21:54 schrieb Jim Lee:> import tkinter as tk
>>> from tkinter import ttk
>>>
>>> root = tk.Tk()
>>> cb = ttk.Combobox(root)
>>> cb.
22 matches
Mail list logo