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


Groups > comp.lang.python > #56913

Re: how to add object from dict

From Ben Finney <ben+python@benfinney.id.au>
Subject Re: how to add object from dict
Date 2013-10-17 11:15 +1100
References <1381961694.21908.13.camel@debian> <7wwqlcixup.fsf@benfinney.id.au> <1381968532.12853.4.camel@debian>
Newsgroups comp.lang.python
Message-ID <mailman.1129.1381968943.18130.python-list@python.org> (permalink)

Show all headers | 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


Thread

Re: how to add object from dict Ben Finney <ben+python@benfinney.id.au> - 2013-10-17 11:15 +1100

csiph-web