Re: [Tutor] Import module function using variable

2018-06-13 Thread Slater, Joseph C.
> On Jun 13, 2018, at 3:37 AM, Peter Otten <__pete...@web.de> wrote: > > Slater, Joseph C. wrote: > >> Dear friends, >> >> I am trying to import a function in a module by variable name. The >> specific example is that my function allows the user to

[Tutor] Import module function using variable

2018-06-13 Thread Slater, Joseph C.
Dear friends, I am trying to import a function in a module by variable name. The specific example is that my function allows the user to select which function my code will use (in this case, which optimizer in scipy). There is a default for a named variable. I have thing working in a quite uncl

Re: [Tutor] python gui Tkinter

2018-01-31 Thread Slater, Joseph C.
> On Jan 13, 2018, at 9:18 AM, Alan Gauld via Tutor wrote: > > On 13/01/18 12:05, mamatha n wrote: >> please any one give me the code for > > We don't write code for you (unless you want to pay > one of us as a contractor) But we can point you at > some examples: > >> username (entryfld)-

[Tutor] doctest: how to test a single function?

2015-05-06 Thread Slater Joseph C , PhD, PE
I'm an admitted newb trying to enter the Python community and use Python significantly (versus occassionally). dockets seems to be much more powerful than I can figure out how to tap. I have a function inside a file that's an embedded test that (currently) works fine. However, the package has