Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #7058
| From | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Multiple windows services on the same machine |
| References | <4227ae83-a4a3-46b0-bc25-c5a1d89c08a4@32g2000vbe.googlegroups.com> |
| Date | 2011-06-06 09:01 +1000 |
| Message-ID | <87vcwj3mtc.fsf@benfinney.id.au> (permalink) |
| Organization | Unlimited download news at news.astraweb.com |
Massi <massi_srb@msn.com> writes: > So can anyone point me out which is the best way to "parametrize" the > service name? Thanks in advance for your help! Could you not make the ‘_svc_display_name’ an instance attribute instead of class attribute? That is, don't set it as an attribute on the class; instead, set it as an attribute on the instance during initialisation (the ‘__init__’ method). -- \ “Smoking cures weight problems. Eventually.” —Steven Wright | `\ | _o__) | Ben Finney
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Multiple windows services on the same machine Massi <massi_srb@msn.com> - 2011-06-05 09:54 -0700 Re: Multiple windows services on the same machine Ben Finney <ben+python@benfinney.id.au> - 2011-06-06 09:01 +1000 Re: Multiple windows services on the same machine Mark Hammond <skippy.hammond@gmail.com> - 2011-06-06 23:14 +1000
csiph-web