Re: [Tutor] Run Python 2.7 on Android Tablet

2015-11-10 Thread memilanuk
Android 4.2.2. Possible? thanks, Ken Yes. use Python Anywhere in a browser on your tablet. https://www.pythonanywhere.com/ https://mail.python.org/mailman/listinfo/tutor Or koding.io... but PythonAnywhere is nicer for straight-up python. -- Shiny! Let's be bad guys. Reach me @ memilanu

Re: [Tutor] question / decision tree

2015-08-03 Thread memilanuk
on. -- Shiny! Let's be bad guys. Reach me @ memilanuk (at) gmail dot com ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] https://trinket.io

2015-05-21 Thread memilanuk
On 05/21/2015 01:02 AM, Albert-Jan Roskam via Tutor wrote: Not sure whether I like this better than IPython Notebook, though. I was given to understand that the target use / demographic was a bit different than with iPython... Monte -- Shiny! Let's be bad guys. Reach me @ memilanu

Re: [Tutor] ?!

2015-04-21 Thread memilanuk
27;t going to do your (home) work for you... try to provide some code to show what you've tried, and specific questions as to what you're having trouble with. -- Shiny! Let's be bad guys. Reach me @ memilanuk (at) gmail dot com ___

Re: [Tutor] looking for a Python feature for computer teaching

2014-12-14 Thread memilanuk
code.google.com/p/spyderlib/ https://pythonhosted.org/spyder/variableexplorer.html -- Shiny! Let's be bad guys. Reach me @ memilanuk (at) gmail dot com ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: htt

Re: [Tutor] Some shameless self promotion

2014-11-04 Thread memilanuk
On 11/03/2014 11:41 PM, Alan Gauld wrote: On 04/11/14 00:55, memilanuk wrote: On 11/02/2014 05:22 PM, Alan Gauld wrote: For anyone who might be interested http://www.amazon.com/Python-Projects-Laura-Cassell/dp/111890866X A book aimed at those who have just finished their first python

Re: [Tutor] Some shameless self promotion

2014-11-03 Thread memilanuk
an electronic version i.e. pdf or kindle? -- Shiny! Let's be bad guys. Reach me @ memilanuk (at) gmail dot com ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Good Text Editor/IDE for Python

2014-09-03 Thread memilanuk
d to do to avoid the name conflict. -- Shiny! Let's be bad guys. Reach me @ memilanuk (at) gmail dot com ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Good Text Editor/IDE for Python

2014-09-03 Thread memilanuk
some relation there that I'm missing? I'll admit, I haven't downloaded/installed the Anaconda version of python myself as of yet. -- Shiny! Let's be bad guys. Reach me @ memilanuk (at) gmail dot com ___ Tutor maillist -

Re: [Tutor] Python functions are first-class citizens

2014-08-01 Thread memilanuk
ction a black box. Yeah, I'm starting to see that... -- Shiny! Let's be bad guys. Reach me @ memilanuk (at) gmail dot com ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Python functions are first-class citizens

2014-08-01 Thread memilanuk
so: counts.get('a'), counts.get('b'), counts.get('c'), which should return the corresponding dict values (1, 22, 100), and then max() returns the highest value seen. Is that about right? Monte -- Shiny! Let's be bad guys. Reach me @ memilanuk (at) gmail

Re: [Tutor] Python functions are first-class citizens

2014-07-31 Thread memilanuk
On 07/31/2014 08:22 PM, Ben Finney wrote: memilanuk writes: >> So... the similarity between dict.get() and dict.get as used here is >> kinda confusing me. > > I hope that helps. They are the same function; but the former is > *calling* the function object, and optionally u

[Tutor] dict.get() vs. dict.get

2014-07-31 Thread memilanuk
/stackoverflow.com/questions/12402015/print-the-key-of-the-max-value-in-a-dictionary-the-pythonic-way -- Shiny! Let's be bad guys. Reach me @ memilanuk (at) gmail dot com ___ Tutor maillist - Tutor@python.org To unsubscribe or change subsc

Re: [Tutor] Why is Quick Search at docs.Python.org so useless?

2014-07-06 Thread memilanuk
On 07/05/2014 11:53 AM, Mark Lawrence wrote: As I said it's a known problem, but then so are the 4600 bugs at bugs.python.org. So why bother spending the time making the search useful when there is a well known workaround Because it's supposed to be the first place new (and old) users go to

Re: [Tutor] What are your favourite unofficial resources

2014-06-29 Thread memilanuk
On 06/29/2014 03:41 PM, Alan Gauld wrote: I'm looking for tips for an appendix to a book that I'm working on. What are the best unofficial (ie not python.org) resources for people who have learned the basics but are not experts yet? ie Typical tutor list "graduates"... I'm thinking about web si

Re: [Tutor] flask/sqlite3 problem - 'OperationalError: no such table'?

2013-09-18 Thread memilanuk
Sheeesh... After reading your message, I realized I was running the script from inside a new-to-me IDE (pycharm), and started wondering if somehow a path or working directory was not what I thought it might be. I closed out the IDE window, and ran the script directly from the terminal - succ

[Tutor] flask/sqlite3 problem - 'OperationalError: no such table'?

2013-09-18 Thread memilanuk
Hello there, I'm working thru a Flask tutorial, and when I get to the portion for querying the database (sqlite3) for the existing posts, i.e. 'SELECT * FROM posts', I get an error that says there is no such table 'posts' in my database. Yet I can query said db file from either the sqlite3 c

Re: [Tutor] Better way to compare values?

2011-08-28 Thread memilanuk
There's a few things that can make this a lot shorter. To address your primary question first, the python idiom for this is like so: if 10 in (a, b): it constructs a tuple containing the variables a and b, then checks if the number ten is inside that tuple. simple and straightforward. Now, or

[Tutor] Better way to compare values?

2011-08-28 Thread memilanuk
Hello, Recently picked back up the Python bug, and have started chipping away at the warm-up exercises over @ codingbat.com. I'm getting thru the basic stuff okay, but I'm getting a feeling that maybe I'm not doing things the 'right' way, even though the results are correct. Specifically,

Re: [Tutor] PI

2011-05-25 Thread memilanuk
On 05/25/2011 09:21 PM, David Merrick wrote: How do I can access to the math module to use PI? area = math.pi * pow(3,2) Traceback (most recent call last): File "", line 1, in area = math.i * pow(3,2) NameError: name 'math' is not defined try 'import math' first... __