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


Groups > comp.lang.python > #80955 > unrolled thread

Re: How modules work in Python

Started byDave Angel <davea@davea.name>
First post2014-11-16 21:56 -0500
Last post2014-11-16 21:56 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: How modules work in Python Dave Angel <davea@davea.name> - 2014-11-16 21:56 -0500

#80955 — Re: How modules work in Python

FromDave Angel <davea@davea.name>
Date2014-11-16 21:56 -0500
SubjectRe: How modules work in Python
Message-ID<mailman.15942.1416192962.18130.python-list@python.org>
(Please don't top-post. Use interleaved posting.  And remove parts
 you didn't respond to.)

(While I'm criticizing,  I should point out that your quoting
 seems doublespaced.  That makes me suspect buggy googlegroups. 
 If you're using that, you should either find a real newsreader,
 use the mailing list, or manually fix the double spacing. 
 Hundres of posts on here about it, just search out one of
 them)

Abdul Abdul <abdul.sw84@gmail.com> Wrote in message:
> Dave,
> 
> Thanks for your nice explanation. For your answer on one of my questions:
> 
> 
>> Modules don't have methods. open is an ordinary function in the module.
> 
> Isn't "method" and "function" used interchangeably? In other words, aren't they the same thing? Or, Python has some naming conventions here?

Certainly not. A method is a very specic kind of function, you'll
 learn about it when you study classes. Some languages blur the
 distinction,  by not having any functions outside of classes. But
 that's not Python. 

> 
> 


-- 
DaveA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web