Re: Import module from a different subdirectory

2019-05-16 Thread Inada Naoki
2019年5月17日(金) 9:25 Rich Shepard : > > My understanding is that Python3 does not require subdirectories to have an > __init__.py file, only Python2 does. If that's not correct I'll add the > blank file. > This is slightly off topic (not relating to your problem), but please don't think "Python 3 do

Re: Import module from a different subdirectory

2019-05-16 Thread dieter
Rich Shepard writes: > I'm developing a Python3 application using Python3-3.7.3 and > virtualenv-16.5.0 on a Slackware-14.2 host. > > The project directory contains subdirectories, including gui/ (with the > tkinter views) and classes/ with the SQLAlchemy model.py. > > Within the gui/ directory as

Re: Import module from a different subdirectory

2019-05-16 Thread Rich Shepard
On Fri, 17 May 2019, duncan smith wrote: You could make the subdirectories Python packages. Google (or better DuckDuckGo) is your friend. Duncan, My understanding is that Python3 does not require subdirectories to have an __init__.py file, only Python2 does. If that's not correct I'll add the

Re: Tkinter on Mac OS crashes python

2019-05-16 Thread MRAB
On 2019-05-16 21:39, Christian Gollwitzer wrote: Am 15.05.19 um 20:25 schrieb Chip Towner: Terry, Thanks for the input and FYI I am running 10.14.4 Mojave. Apple changed a couple of APIs on Mojave (versus High Sierra) that made Tk stop working, when it was compiled with the Mojave SDK. Tk com

Re: Import module from a different subdirectory

2019-05-16 Thread duncan smith
On 16/05/2019 22:50, Rich Shepard wrote: > I'm developing a Python3 application using Python3-3.7.3 and > virtualenv-16.5.0 on a Slackware-14.2 host. > > The project directory contains subdirectories, including gui/ (with the > tkinter views) and classes/ with the SQLAlchemy model.py. > > Within

Import module from a different subdirectory

2019-05-16 Thread Rich Shepard
I'm developing a Python3 application using Python3-3.7.3 and virtualenv-16.5.0 on a Slackware-14.2 host. The project directory contains subdirectories, including gui/ (with the tkinter views) and classes/ with the SQLAlchemy model.py. Within the gui/ directory as the cwd testing the code for a v

Re: Tkinter on Mac OS crashes python

2019-05-16 Thread Christian Gollwitzer
Am 15.05.19 um 20:25 schrieb Chip Towner: Terry, Thanks for the input and FYI I am running 10.14.4 Mojave. Apple changed a couple of APIs on Mojave (versus High Sierra) that made Tk stop working, when it was compiled with the Mojave SDK. Tk compiled against the High Sierra SDK continued to w

Re: Python installer hangs in Windows 7

2019-05-16 Thread pauldubar
On Monday, 6 February 2017 16:16:24 UTC+11, Jean-Claude Roy wrote: >   I am trying to install Python 3.6.0 on a Windows 7 computer. > The download of 29.1 MB is successful and I get the nextwindow.  I choose the > "install now" selection and thatopens the Setup Program window. > Now the trouble s