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


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

Re: Class Inheritance from different module

Started byJean-Michel Pichavant <jeanmichel@sequans.com>
First post2014-09-22 13:37 +0200
Last post2014-09-22 13:37 +0200
Articles 1 — 1 participant

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


Contents

  Re: Class Inheritance from different module Jean-Michel Pichavant <jeanmichel@sequans.com> - 2014-09-22 13:37 +0200

#78134 — Re: Class Inheritance from different module

FromJean-Michel Pichavant <jeanmichel@sequans.com>
Date2014-09-22 13:37 +0200
SubjectRe: Class Inheritance from different module
Message-ID<mailman.14193.1411385931.18130.python-list@python.org>
> class User(Inheritance from API):
> def __init__(self, ID):
> steamapi.core.APIConnection(api_key = KEY)
> super( " Inheritance SteamUser" (ID)) # creates the user using the
> API
> 
> 
> [...]
> 
> 
> So that in my code when I need to create a new user, I just call 'usr
> = User("XXXXXXX")' instead of calling 'usr =
> steamapi.user.SteamUser(76561197996416028)', is that possible?
[snip


-- IMPORTANT NOTICE: 

The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

[toc] | [standalone]


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


csiph-web