Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #40893
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <joel.goldstick@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.036 |
| X-Spam-Evidence | '*H*': 0.93; '*S*': 0.00; 'function,': 0.07; 'works.': 0.07; 'encode': 0.09; 'cc:addr:python-list': 0.10; 'alpha': 0.15; 'tutorials': 0.15; '"python': 0.16; '>>': 0.16; 'decode': 0.16; 'subject:program': 0.16; 'subject:python.': 0.16; '\xc2\xa0if': 0.16; 'wrote:': 0.17; 'code.': 0.20; 'email addr:gmail.com>': 0.20; 'cc:2**0': 0.23; 'example': 0.23; '>': 0.23; 'tried': 0.25; 'cc:addr:python.org': 0.25; 'header :In-Reply-To:1': 0.25; 'skip:" 20': 0.26; 'first,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'post': 0.28; 'helpful.': 0.29; 'url:mailman': 0.29; 'fri,': 0.30; 'skip:& 30': 0.30; 'code': 0.31; 'url:python': 0.32; 'could': 0.32; 'url:listinfo': 0.32; 'message.': 0.33; 'that,': 0.34; 'agree': 0.34; 'received:google.com': 0.34; 'thanks': 0.34; 'pm,': 0.35; 'something': 0.35; 'but': 0.36; 'url:org': 0.36; "didn't": 0.36; 'does': 0.37; 'two': 0.37; 'being': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'nothing': 0.38; 'sure': 0.38; 'shows': 0.38; 'description': 0.39; 'where': 0.40; 'help': 0.40; 'url:mail': 0.40; 'think': 0.40; 'your': 0.60; 'you.': 0.61; 'bring': 0.62; 'back': 0.62; 'email addr:gmail.com': 0.63; 'believe': 0.69; 'internet': 0.71; '2013': 0.84; 'awesome,': 0.84; 'neil': 0.84; 'intends': 0.91; 'joel': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=1ujEXP870h6S+TY3GXGMPscaOk5SBFmOFbiki7uIjTA=; b=yVItC2NgAVTxQIISnR5LzLTadYEIqcheTyCltkcvqJDjZCBDTzWbXhCQOtg7r8Prlm MkXlQMnNUyO1KHNtfPgpS6rPyy03aQRut71geYdYZsBsy+C+VLT5b8XJdrV7v9aAZtgj FnSPLvcBeDxgJImanYpzYa5P2oKf6dq84m0P99ADbmDFrHK/IkWvMnqjX0oCjXOWA+I4 1VsVIV6wv8hCqD8ZON4wBxcgUN+T5SKHXoNFUwsIQRSXq1DBnz3k9F4CRHQEpKh6ORpV OCli/xXel9eQfbUAY8v0SERsc76AwbtpIZqGKjP7arTtFKZ48Feq+ThaG8upBa4NXh67 OBrg== |
| MIME-Version | 1.0 |
| X-Received | by 10.205.34.137 with SMTP id ss9mr1461014bkb.14.1362771638310; Fri, 08 Mar 2013 11:40:38 -0800 (PST) |
| In-Reply-To | <apusm7Flmc9U1@mid.individual.net> |
| References | <f55c2474-7312-4366-bde8-d2bb45b22837@googlegroups.com> <apur8aFl9e5U1@mid.individual.net> <79311e2f-37a4-4050-b9fa-d0084c092c5f@googlegroups.com> <apusm7Flmc9U1@mid.individual.net> |
| Date | Fri, 8 Mar 2013 14:40:38 -0500 |
| Subject | Re: crypto program in python. |
| From | Joel Goldstick <joel.goldstick@gmail.com> |
| To | Neil Cerutti <neilc@norwich.edu> |
| Content-Type | multipart/alternative; boundary=bcaec51ba45d69bc4504d76eff2d |
| Cc | "python-list@python.org" <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 | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3094.1362771640.2939.python-list@python.org> (permalink) |
| Lines | 101 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1362771640 news.xs4all.nl 6848 [2001:888:2000:d::a6]:42454 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:40893 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Fri, Mar 8, 2013 at 2:32 PM, Neil Cerutti <neilc@norwich.edu> wrote: > On 2013-03-08, khudo.anastasia@gmail.com > <khudo.anastasia@gmail.com> wrote: > >> I believe your instructor intends you to start with the > >> skeleton of the program provided above. Complete it by writing > >> the missing functions: menu, decode, and encode. > > > > that is where I confused, I am not sure how to do it, I started > > but nothing works. And the tutorials at the internet not > > helpful. If you could write me the code for the decode > > function, that would be awesome, and other i can do by myself. > > Thanks for being honest. But I cannot agree to write any code for > you. > > Can you post an example of something you tried that didn't work? > > -- > Neil Cerutti > -- > http://mail.python.org/mailman/listinfo/python-list > First, think about how to do this without writing code. alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" key = "XPMGTDHLYONZBWEARKJUFSCIQV" The example shows "python rocks" being turned into AQULEWKEMNJ Do you see from the two strings how that works? If you can see that, write a description of how you encode a message. Bring that back with some code that does the same and you will get help -- Joel Goldstick http://joelgoldstick.com
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
crypto program in python. khudo.anastasia@gmail.com - 2013-03-08 11:01 -0800
Re: crypto program in python. Neil Cerutti <neilc@norwich.edu> - 2013-03-08 19:07 +0000
Re: crypto program in python. khudo.anastasia@gmail.com - 2013-03-08 11:12 -0800
Re: crypto program in python. Neil Cerutti <neilc@norwich.edu> - 2013-03-08 19:32 +0000
Re: crypto program in python. khudo.anastasia@gmail.com - 2013-03-08 11:35 -0800
Re: crypto program in python. Joel Goldstick <joel.goldstick@gmail.com> - 2013-03-08 14:40 -0500
csiph-web