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


Groups > comp.lang.python > #50964

Re: Share Code Tips

Date 2013-07-20 08:36 -0400
From Devyn Collier Johnson <devyncjohnson@gmail.com>
Subject Re: Share Code Tips
References (4 earlier) <mailman.4894.1374282301.3114.python-list@python.org> <51ea07a4$0$29971$c3e8da3$5496439d@news.astraweb.com> <CA+vVgJUW=QzC5JY7ta=9CLmfW4zK3cGrzVqxVVg132uGLAghTw@mail.gmail.com> <CA+vVgJWy2E0=x1SJqLscq+W54cy8Pqdi0whcWuq5MtH8xMc0sQ@mail.gmail.com> <CA+vVgJWWn_GvY+ZSRcQ9BmFSF2UOQwdSCEL0UA_8ibi1mmvF8g@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.4920.1374323827.3114.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 07/20/2013 12:26 AM, David Hutto wrote:
> I didn't see that this was for a chess game. That seems more point and 
> click. Everyone can recognize a bishop from a queen, or a rook from a 
> pawn. So why would case sensitivity matter other than the 16 pieces on 
> the board? Or am I misunderstanding the question?
>
>
>
> On Sat, Jul 20, 2013 at 12:22 AM, David Hutto <dwightdhutto@gmail.com 
> <mailto:dwightdhutto@gmail.com>> wrote:
>
>     It seems that you could use import re, in my mind's pseudo code,
>     to compile a translational usage of usernames/passwords that could
>     remain case sensitive by using just the translational
>     dictionaries, and refining with data input tests/unit tests.
>
>
>     On Sat, Jul 20, 2013 at 12:15 AM, David Hutto
>     <dwightdhutto@gmail.com <mailto:dwightdhutto@gmail.com>> wrote:
>
>         It seems, without utilizing this, or googling, that a case
>         sensitive library is either developed, or could be implemented
>         by utilizing case sensitive translation through a google
>         translation page using an urlopener, and placing in the data
>         to be processed back to the boolean value. Never attempted,
>         but the algorithm seems simpler than the dozens of solutions
>         method.
>
>
>
>
>     -- 
>     Best Regards,
>     David Hutto
>     /*CEO:*/ _http://www.hitwebdevelopment.com_
>
>
>
>
> -- 
> Best Regards,
> David Hutto
> /*CEO:*/ _http://www.hitwebdevelopment.com_
>
>
In the email, I am sharing various code snippets to give others ideas 
and inspiration for coding. I that particular snippet, I am giving 
Python3 programmers the idea of making chess tags on a HTML or XML 
interpreter. It would be neat to type a tag that would generate chess 
pieces instead of remembering the HTML ASCII code.

 From my understanding, that email is not being displayed correctly. Are 
all of the lines run together?

Thank you for asking. I want everyone to understand the purpose of the 
email and that particular snippet. Remember, assumption is the lowest 
form of knowledge.

Mahalo,
DCJ

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Share Code Tips Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-19 09:51 -0400
  Re: Share Code Tips Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-19 17:59 +0000
    Re: Share Code Tips Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-19 18:08 -0400
      Re: Share Code Tips Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-20 03:18 +0000
        Re: Share Code Tips Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-20 06:07 -0400
    Re: Share Code Tips Chris Angelico <rosuav@gmail.com> - 2013-07-20 09:08 +1000
    Re: Share Code Tips Dave Angel <davea@davea.name> - 2013-07-19 19:09 -0400
    Re: Share Code Tips Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-19 21:04 -0400
      Re: Share Code Tips Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-20 03:44 +0000
        Re: Share Code Tips David Hutto <dwightdhutto@gmail.com> - 2013-07-20 00:15 -0400
        Re: Share Code Tips David Hutto <dwightdhutto@gmail.com> - 2013-07-20 00:22 -0400
        Re: Share Code Tips David Hutto <dwightdhutto@gmail.com> - 2013-07-20 00:26 -0400
        Re: Share Code Tips David Hutto <dwightdhutto@gmail.com> - 2013-07-20 00:27 -0400
        Re: Share Code Tips Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-20 06:10 -0400
        Re: Share Code Tips Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-20 08:36 -0400
    Re: Share Code Tips Chris Angelico <rosuav@gmail.com> - 2013-07-20 11:13 +1000
    Re: Share Code Tips Dave Angel <davea@davea.name> - 2013-07-19 21:51 -0400
    Re: Share Code Tips David Hutto <dwightdhutto@gmail.com> - 2013-07-19 23:42 -0400
    Re: Share Code Tips Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-20 06:06 -0400
    Re: Share Code Tips Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-20 08:20 -0400

csiph-web