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


Groups > comp.lang.python > #45730 > unrolled thread

Re: What was the project that made you feel skilled in Python?

Started byBen Finney <ben+python@benfinney.id.au>
First post2013-05-22 23:05 +1000
Last post2013-05-22 23:05 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: What was the project that made you feel skilled in Python? Ben Finney <ben+python@benfinney.id.au> - 2013-05-22 23:05 +1000

#45730 — Re: What was the project that made you feel skilled in Python?

FromBen Finney <ben+python@benfinney.id.au>
Date2013-05-22 23:05 +1000
SubjectRe: What was the project that made you feel skilled in Python?
Message-ID<mailman.1965.1369227971.3114.python-list@python.org>
Ned Batchelder <ned@nedbatchelder.com> writes:

> as you moved from exercises like those in Learn Python the Hard Way,
> up to your own self-guided work on small projects, what project were
> you working on that made you feel independent and skilled?  What
> program first felt like your own work rather than an exercise the
> teacher had assigned?

I wanted to simulate a particular board game, and had others in mind
with some common mechanics.

This resulted in a library for rolling dice in different combinations,
and looking up result tables <URL:https://pypi.python.org/pypi/alea>.

Eventually I wanted to extend it to know about custom decks of cards,
and the different ways those are handled in board games.

The unifying theme was a library of routines for simulating the random
elements (dice, cards, tables, spinners, etc.) in any board game.

A little over-engineered, I'll freely admit. But it did give me a sense
of being at home in Python and knowing that this is a good language for
getting things done the right way.

-- 
 \     “Creativity can be a social contribution, but only in so far as |
  `\            society is free to use the results.” —Richard Stallman |
_o__)                                                                  |
Ben Finney

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web