Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #56917
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <mohsen@pahlevanzadeh.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.062 |
| X-Spam-Evidence | '*H*': 0.88; '*S*': 0.00; 'pep': 0.09; 'cc:addr :python-list': 0.11; 'conforming': 0.16; 'discussion.': 0.16; 'finney': 0.16; 'itself,': 0.16; 'link,': 0.16; 'stallman': 0.16; 'subject:object': 0.16; 'followed': 0.16; ':-)': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'fit': 0.20; 'example': 0.22; 'cc:addr:python.org': 0.22; "haven't": 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'post': 0.26; 'header:In-Reply- To:1': 0.27; 'external': 0.29; 'related': 0.29; "doesn't": 0.30; "i'm": 0.30; 'code': 0.31; 'lines': 0.31; 'helpful.': 0.31; 'writes:': 0.31; 'style': 0.33; 'sense': 0.34; 'subject:from': 0.34; 'advice': 0.35; 'but': 0.35; 'useful': 0.36; 'url:org': 0.36; 'thank': 0.38; 'ben': 0.38; 'read': 0.60; 'liked': 0.60; 'free': 0.61; 'length': 0.61; 'you.': 0.62; 'complete': 0.62; 'skip:\xe2 10': 0.65; 'within': 0.65; 'here': 0.66; 'social': 0.69; 'saw': 0.77; 'glad': 0.83; 'short,': 0.84; 'subject:add': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=pahlevanzadeh.org; s=default; h=Content-Transfer-Encoding:Mime-Version:Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID; bh=TyAair9YkSdjijwiSd0NfyRl+XqOsOvr5a0GhKSW3+s=; b=eqV0dl8RrxioQFxB0yeWtrFt/GkppNZjQvDuBiB9W3V3mu9qZpPCfLiqqdrzerZ1aQwtQHpu3zuYJKQyUm5KYxjhDw8m7/aEY430sH89dHPxai98Zs+sG3mn77ShxbzfDXqwSakIoJHJP6EtDScuynnbapGjPLGa2KSF8IGhCVE=; |
| Subject | Re: how to add object from dict |
| From | Mohsen Pahlevanzadeh <mohsen@pahlevanzadeh.org> |
| To | Ben Finney <ben+python@benfinney.id.au> |
| Date | Thu, 17 Oct 2013 04:07:21 +0330 |
| In-Reply-To | <7wob6oiwgw.fsf@benfinney.id.au> |
| References | <1381961694.21908.13.camel@debian> <7wwqlcixup.fsf@benfinney.id.au> <1381968532.12853.4.camel@debian> <7wob6oiwgw.fsf@benfinney.id.au> |
| Content-Type | text/plain; charset="UTF-8" |
| X-Mailer | Evolution 3.8.5-2 |
| Mime-Version | 1.0 |
| Content-Transfer-Encoding | 8bit |
| X-AntiAbuse | This header was added to track abuse, please include it with any abuse report |
| X-AntiAbuse | Primary Hostname - part7.royal-servers.com |
| X-AntiAbuse | Original Domain - python.org |
| X-AntiAbuse | Originator/Caller UID/GID - [47 12] / [47 12] |
| X-AntiAbuse | Sender Address Domain - pahlevanzadeh.org |
| X-Get-Message-Sender-Via | part7.royal-servers.com: authenticated_id: mohsen@pahlevanzadeh.org |
| Cc | python-list@python.org |
| 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.1132.1381970262.18130.python-list@python.org> (permalink) |
| Lines | 34 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1381970262 news.xs4all.nl 16009 [2001:888:2000:d::a6]:45625 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:56917 |
Show key headers only | View raw
You say right, but i don't any time to read all of content of http://sscce.org/ , But when i saw its description , i found out , it's a set of law for good answer/question, Also i saw PEP 8 , it's like old style C, and i like CamelCase. But now, all of my code doesn't work and related to the given traceback of i sent you. --mohsen On Thu, 2013-10-17 at 11:15 +1100, Ben Finney wrote: > 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 Mohsen Pahlevanzadeh <mohsen@pahlevanzadeh.org> - 2013-10-17 04:07 +0330
csiph-web