Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #7058
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!news.glorb.com!news.astraweb.com!border6.newsrouter.astraweb.com!not-for-mail |
|---|---|
| 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> |
| X-Public-Key-ID | 0xAC128405 |
| X-Public-Key-Fingerprint | 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405 |
| X-Public-Key-URL | http://www.benfinney.id.au/contact/bfinney-pubkey.asc |
| X-Post-From | Ben Finney <bignose+hates-spam@benfinney.id.au> |
| Date | Mon, 06 Jun 2011 09:01:19 +1000 |
| Message-ID | <87vcwj3mtc.fsf@benfinney.id.au> (permalink) |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
| Cancel-Lock | sha1:0+lNUUc/Uj/BfKOQP+GIE9cRKQM= |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| Lines | 17 |
| Organization | Unlimited download news at news.astraweb.com |
| NNTP-Posting-Host | b954655a.news.astraweb.com |
| X-Trace | DXC=nE5Bi^YX<FoJ?XMfTm0i_cL?0kYOcDh@j7^o:UA4R?ce[VV1\5dcZ`j]G;2>V^?kWcbEW9A[5UK?eNZ[SL`C\Kgc\RZRWoF;dNd |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:7058 |
Show key headers only | View raw
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