Re: [Tutor] Accessing variables from other modules

2018-09-04 Thread Alan Gauld via Tutor
On 04/09/18 16:10, Chip Wachob wrote: > (like I would do in C). I then used the import statement to 'include' > them into the main.py file. OK a basically good idea but how did you use the import statement? There are many forms: import foo from foo import name1, name2,... from foo import * impo

Re: [Tutor] Accessing variables from other modules

2018-09-04 Thread Steven D'Aprano
Hi Chip, and welcome! On Tue, Sep 04, 2018 at 11:10:36AM -0400, Chip Wachob wrote: > I'll refrain from posting a bunch of code, but here is the 5000 foot view: Not posting a mountain of code is a great idea, but from 5000 ft away we can't see what is going on. Try posting *a little bit of code

[Tutor] Accessing variables from other modules

2018-09-04 Thread Chip Wachob
Hello, Hoping that this comes through as text only. Not sure how to force that with Gmail. Very new to Python and trying to follow the instructions I've read on the tutorial and other places. But, I'm not meeting with any success. I have a feeling this is something simple but a search of the ar