Re: ttk present but not found for import

2019-01-19 Thread boB Stepp
On Sat, Jan 19, 2019 at 5:02 PM Rich Shepard wrote: > > I've started to learn tkinter as the GUI widget set I'll use from now on. > While ttk-8.6 is installed here (/usr/lib/tk8.6/ttk), I cannot import it: > > $ python3 > Python 3.6.7 (default, Dec 8 2018, 06:22:57) > [GCC 5.5.0] on linux > Type

Re: ttk present but not found for import [RESOLVED]

2019-01-19 Thread Rich Shepard
On Sat, 19 Jan 2019, Rich Shepard wrote: What have I done incorrectly? Got it: from tkinter import ttk Rich -- https://mail.python.org/mailman/listinfo/python-list

ttk present but not found for import

2019-01-19 Thread Rich Shepard
I've started to learn tkinter as the GUI widget set I'll use from now on. While ttk-8.6 is installed here (/usr/lib/tk8.6/ttk), I cannot import it: $ python3 Python 3.6.7 (default, Dec 8 2018, 06:22:57) [GCC 5.5.0] on linux Type "help", "copyright", "credits" or "license" for more information.

checking protocols.

2019-01-19 Thread Avi Gross
Short question. Checking if a protocol is set up? Many python improvements are changes to classes that implement a protocol. There are things you can do to make your own classes work with the protocol by setting various dunder variables like __iter__, __next__ and writing appropriate ode including

Re: Python Packages Survey

2019-01-19 Thread Jason Friedman
On Fri, Jan 18, 2019 at 5:22 PM Cameron Davidson-Pilon < cam.davidson.pi...@gmail.com> wrote: > Hello! I invite you to participate in the Python Packages Survey - it takes > less than a minute to complete, and will help open source developers > understand their users' better. Thanks for participat

How to access a folder in a zip file?

2019-01-19 Thread mignoncharly via Python-list
Hello! I'm a newbie in python and I was trying to access a folder inside a zip file and I also have issues with relative and absolute path. Thks in advance. In projects there a lot of urls (i'll read them later one by one and store them in a list/array so that I could work with it easily) here

How to access a folder inside a zip file

2019-01-19 Thread mignoncharly--- via Python-list
Hello! I'm a newbie in python and I was trying to access a folder inside a zip file and I also have issues with relative and absolute path. Thks in advance. In projects there a lot of urls (i'll read them later one by one and store them in a list/array so that I could work with it easily) here

Re: python package management confusion

2019-01-19 Thread dcs3spp via Python-list
On Saturday, 19 January 2019 07:33:50 UTC, dieter wrote: > dcs3spp via Python-list writes: > > On Friday, 18 January 2019 07:39:00 UTC, dieter wrote: > > ... > > My situation is similar to the following > > > > Assume the following two privately developed projects that I have written, > > e

basic question on how "import" works

2019-01-19 Thread joseph pareti
[*u23885@c009 3_NeuralNetworks]$ cat foo.py* from __future__ import print_function # Import MNIST data from tensorflow.examples.tutorials.mnist import input_data mnist = input_data.read_data_sets("/tmp/data/", one_hot=True) [u23885@c009 3_NeuralNetworks]$ when the above code is executed, equivale

Re: Python Packages Survey

2019-01-19 Thread Chris Warrick
On Sat, 19 Jan 2019 at 01:22, Cameron Davidson-Pilon wrote: > > Hello! I invite you to participate in the Python Packages Survey - it takes > less than a minute to complete, and will help open source developers > understand their users' better. Thanks for participating! > > https://python-packages