There's nothing that says the single file hello world can't just be in the __init__.py of a package, so you never have to leave package land. On Sep 2, 2013 2:00 PM, "Paul Everitt" <[email protected]> wrote:
> > I'm knee-deep in the ginormous Pyramid tutorial I'm re-writing for a class > I'm doing next week. It started by mirroring the Quick Tour. Along the way, > of course, I started to think I got Quick Tour wrong, so I thought I'd ask > folks here to plug in their Pyramid Evaluator brains and give some feedback. > > As background, each time I've done a tutorial or documentation on Pyramid, > I waffle on an essential point: should I confront people with Python > distribution (aka package) early or late? Most of the time I think the > latter, which I did with the Quick Tour. I showed working code that didn't > care if you had a distribution. I could just focus on the first ten things > people wanted to learn about. > > But ultimately that sucks: no pserve, no INI files, et al. For the > tutorial I'm about to reverse the polarity Yet Again (tm) and start like > this: > > - Use a scaffold, to quickly get some pretty pixels > - Throw all that stuff out and do a single-file Hello World > - Throw that out and do a Python distribution > - Add in pserve with an INI file > - Then, off to the races > > By the time I'm done at PyCon/PloneConf Brazil and merge all this back > into the published docs, it's going to be an awesome lickable monster. But > I'll want to redo the Quick Tour to mimic the structure of the tutorial. > > So what say ye, archetypal Pyramid Evaluators: can Paulie make people eat > their vegetables first? > > --Paul > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to > pylons-discuss+unsubscribe@**googlegroups.com<pylons-discuss%[email protected]> > . > To post to this group, send email to > pylons-discuss@googlegroups.**com<[email protected]> > . > Visit this group at > http://groups.google.com/**group/pylons-discuss<http://groups.google.com/group/pylons-discuss> > . > For more options, visit > https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> > . > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/groups/opt_out.
