The Artima Developer Community
Sponsored Link

Python Buzz Forum
PyContest - Seven Segment Display

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Guyon Morée

Posts: 66
Nickname: gumuz
Registered: Apr, 2005

Guyon Morée is a professional powerbuilder programmer fallen in love with python
PyContest - Seven Segment Display Posted: Dec 28, 2005 7:54 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Guyon Morée.
Original Post: PyContest - Seven Segment Display
Feed Title: gumuz' devlog
Feed URL: http://gumuz.looze.net/wordpress/wp-rss2.php
Feed Description: 'till dev do us part
Latest Python Buzz Posts
Latest Python Buzz Posts by Guyon Morée
Latest Posts From gumuz' devlog

Advertisement
I already know I didn't win so I'll share my entry to this entertaining Python programming contest. PYTHON: c=' _ ¦ ¦¦_¦     ¦  ¦ _  _¦¦_  _  _¦ _¦   ¦_¦  ¦ _ ¦_  _¦ _ ¦_ ¦_¦ _   ¦  ¦ _ ¦_¦¦_¦ _ ¦_¦ _¦' def seven_seg(x): return '\n'.join([''.join([c[int(d)*9+p:int(d)*9+p+3] for d in x]) for p in (0,3,6)]+['']) [...]

Read: PyContest - Seven Segment Display

Topic: ZCML is good for Zope3! Previous Topic   Next Topic Topic: There's so much more than Rails

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use