how to add object from dict

Ben Finney ben+python at benfinney.id.au
Wed Oct 16 20:15:27 EDT 2013


Mohsen Pahlevanzadeh <mohsen at 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




More information about the Python-list mailing list