Re: [Edu-sig] Python teacher notes, preparing for class...

2018-08-30 Thread Wes Turner
Mailing list tips and tricks, PEPs, Write the Docs Since you asked, although this isn't in scope of the original subject line, and since I'd like to just continue this thread instead of breaking the thread by changing the subject line, and since this isn't technically OT (off-topic) in the

Re: [Edu-sig] Python teacher notes, preparing for class...

2018-08-30 Thread Wes Turner
On Thursday, August 30, 2018, kirby urner wrote: > > > Thanks. Yes, I'll add some links to the docs as you suggest. Great > feedback! > Glad to be helpful. I've trimmed out the text I'm not replying to and tried to use plaintext only in order to: make sure the thread stays below the 40K

Re: [Edu-sig] Python teacher notes, preparing for class...

2018-08-30 Thread kirby urner
On Thu, Aug 30, 2018 at 3:02 AM Wes Turner wrote: > > By default, the sorted function looks at the leftmost element of a tuple > or other iterable, when sorting... > > You're right, my presentation is unclear. I'll fix it. The way it reads, it seems like you're implying that sorted() does

Re: [Edu-sig] Python teacher notes, preparing for class...

2018-08-30 Thread Wes Turner
> By default, the sorted function looks at the leftmost element of a tuple or other iterable, when sorting... AFAIU, sorted() compares the whole object. https://docs.python.org/3/howto/sorting.html >>> l = [(3, 2), (3, 1), (1, 1, 2), (1, 1)] >>> sorted(l) [(1, 1), (1, 1, 2), (3, 1), (3, 2)]

Re: [Edu-sig] Python teacher notes, preparing for class...

2018-08-29 Thread kirby urner
> I tested that out in my OrderingPolys.ipynb (Jupyter Notebook). Great! > I'm keeping the demo. > > > http://localhost:8889/notebooks/Documents/SAISOFT/SAISOFT/OrderingPolys.ipynb > https://github.com/4dsolutions/SAISOFT/blob/master/OrderingPolys.ipynb Sorry, my bad. I gave the local URL on

Re: [Edu-sig] Python teacher notes, preparing for class...

2018-08-29 Thread kirby urner
> This is the most unified reference on __dunder_methods__ ('magic methods') > I've ever seen: > "A Guide to Python's Magic Methods" > https://rszalski.github.io/magicmethods/ > > I'd not seen that Guide to magic methods before. Thanks! >From perusing it, I was reminded of a topic Trey Hunner

Re: [Edu-sig] Python teacher notes, preparing for class...

2018-08-27 Thread Wes Turner
On Monday, August 27, 2018, kirby urner wrote: > > My flight plan for sharing Python this evening, adult audience, real time > in cyberspace, includes going backstage to survey the Python for Developers > view. > > That will mean optionally cloning the Github site that's mainly a Sphinx > HTML

[Edu-sig] Python teacher notes, preparing for class...

2018-08-27 Thread kirby urner
My flight plan for sharing Python this evening, adult audience, real time in cyberspace, includes going backstage to survey the Python for Developers view. That will mean optionally cloning the Github site that's mainly a Sphinx HTML document about how to participate in Python's evolution.