Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #105131

Re: from a module return a class

From John Gordon <gordon@panix.com>
Newsgroups comp.lang.python
Subject Re: from a module return a class
Date 2016-03-17 17:54 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <ncer09$rjq$1@reader1.panix.com> (permalink)
References <b4647f72-bf8a-4adb-ba1d-bd7d684ba350@googlegroups.com> <ncep21$e9v$1@reader1.panix.com> <56eaecc8$0$3658$426a74cc@news.free.fr>

Show all headers | View raw


In <56eaecc8$0$3658$426a74cc@news.free.fr> Laurent Pointal <laurent.pointal@free.fr> writes:

> >>     user_pword = promptUser_PWord()
> > 
> > Show us the complete definition of promptUser_PWord().

> AFAIU It looks to be the module…

If it were a module, it wouldn't be callable.  It has to be a function
or a class.

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

from a module return a class kevind0718@gmail.com - 2016-03-17 09:19 -0700
  Re: from a module return a class Laurent Pointal <laurent.pointal@free.fr> - 2016-03-17 18:16 +0100
  Re: from a module return a class John Gordon <gordon@panix.com> - 2016-03-17 17:21 +0000
    Re: from a module return a class Laurent Pointal <laurent.pointal@free.fr> - 2016-03-17 18:43 +0100
      Re: from a module return a class John Gordon <gordon@panix.com> - 2016-03-17 17:54 +0000
        Re: from a module return a class Laurent Pointal <laurent.pointal@free.fr> - 2016-03-17 19:24 +0100
          Re: from a module return a class Rick Johnson <rantingrickjohnson@gmail.com> - 2016-03-17 13:56 -0700
          Re: from a module return a class Rick Johnson <rantingrickjohnson@gmail.com> - 2016-03-17 13:59 -0700
            Re: from a module return a class kevind0718@gmail.com - 2016-03-18 05:40 -0700
    Re: from a module return a class kevind0718@gmail.com - 2016-03-18 05:34 -0700
  Re: from a module return a class kevind0718@gmail.com - 2016-03-18 05:32 -0700
    Re: from a module return a class John Gordon <gordon@panix.com> - 2016-03-18 15:08 +0000
      Re: from a module return a class John Gordon <gordon@panix.com> - 2016-03-18 16:16 +0000
        Re: from a module return a class kevind0718@gmail.com - 2016-03-18 12:19 -0700

csiph-web