Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #56913
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsreader4.netcologne.de!news.netcologne.de!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.018 |
| X-Spam-Evidence | '*H*': 0.96; '*S*': 0.00; 'pep': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'conforming': 0.16; 'discussion.': 0.16; 'finney': 0.16; 'itself,': 0.16; 'link,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'stallman': 0.16; 'subject:object': 0.16; 'followed': 0.16; ':-)': 0.16; 'fit': 0.20; 'example': 0.22; 'header:User-Agent:1': 0.23; "haven't": 0.24; 'post': 0.26; 'header:X-Complaints-To:1': 0.27; 'external': 0.29; "doesn't": 0.30; "i'm": 0.30; 'code': 0.31; 'lines': 0.31; 'helpful.': 0.31; 'writes:': 0.31; 'sense': 0.34; 'subject:from': 0.34; 'advice': 0.35; 'but': 0.35; 'useful': 0.36; 'thank': 0.38; 'ben': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'liked': 0.60; 'free': 0.61; 'length': 0.61; 'complete': 0.62; 'skip:\xe2 10': 0.65; 'within': 0.65; 'here': 0.66; 'social': 0.69; 'glad': 0.83; 'short,': 0.84; 'subject:add': 0.91 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Ben Finney <ben+python@benfinney.id.au> |
| Subject | Re: how to add object from dict |
| Date | Thu, 17 Oct 2013 11:15:27 +1100 |
| References | <1381961694.21908.13.camel@debian> <7wwqlcixup.fsf@benfinney.id.au> <1381968532.12853.4.camel@debian> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| X-Gmane-NNTP-Posting-Host | rasputin.madmonks.org |
| 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-gpg.asc |
| X-Post-From | Ben Finney <bignose+hates-spam@benfinney.id.au> |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
| Cancel-Lock | sha1:pvvTK5FTeH+LRtkufPQUYAYFhyQ= |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1129.1381968943.18130.python-list@python.org> (permalink) |
| Lines | 23 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1381968943 news.xs4all.nl 15946 [2001:888:2000:d::a6]:60854 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:56913 |
Show key headers only | View raw
Mohsen Pahlevanzadeh <mohsen@pahlevanzadeh.org> writes: > Thank you for your useful link , i paste my code into [an external > pastebin service] I'm glad you liked the link, but you haven't followed its advice :-) Also, pointing us to a pastebin is not helpful. Please use a user-agent that won't mangle your code so you can post code *here*. It's important that it be here, so that your post is self-contained and doesn't rely on some external URL to make sense years later. For the code itself, please make a short, self-contained, complete example (preferably conforming to PEP 8 so your lines fit within normal line length limits), and post it here for discussion. -- \ “Creativity can be a social contribution, but only in so far as | `\ society is free to use the results.” —Richard Stallman | _o__) | Ben Finney
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: how to add object from dict Ben Finney <ben+python@benfinney.id.au> - 2013-10-17 11:15 +1100
csiph-web