Athat Hameed has finished the prototype of our online Python practice system. See http://py-bat.appspot.com We need to change the name so as not to conflict with Nick Parlante's JavaBat.com, which was the inspiration for this site. Athar and I like PyWhip, but we are open to suggestions. We need teachers, and anyone else who is interested, to contribute problems. Let's start with the categories Logic, Strings, Lists, and Recursion. Don't copy Nick's problems. He's planning his own Python site, with automated translations of his Java problems. We could also use a few more help pages. See my Strings example at http://py-bat.appspot.com/help These are basically tutorials, starting with the simplest examples first, and focusing on just those features of Python we are testing in the exercises. Try to resist including everything in Python. Python.org already has that. Let's put together some good problems for beginners, and inspire Athar to make the website as nice as JavaBat. -- Dave ************************************************************ * * David MacQuigg, PhD email: macquigg at ece.arizona.edu * * * Research Associate phone: USA 520-721-4583 * * * * ECE Department, University of Arizona * * * * 9320 East Mikelyn Lane * * * * http://purl.net/macquigg Tucson, Arizona 85710 * ************************************************************ *
I also invite visitors to my Oregon Curriculum Network site: http://www.4dsolutions.net/ocn/cp4e.html The Pythonic Math at this site is better than anything else on the Web as of March, 2009, bar none. That's why I won the Sociality TV contest and get all these accolades, woo hoo. http://mentor.sociality.tv/groups/pycontest/wiki/20372/Python_for_Teachers.h... But it's really Python itself that deserves appreciation. We couldn't have done it without you (smack). Kirby On Tue, Mar 3, 2009 at 3:59 PM, David MacQuigg <macquigg@ece.arizona.edu> wrote:
Athat Hameed has finished the prototype of our online Python practice system. See http://py-bat.appspot.com We need to change the name so as not to conflict with Nick Parlante's JavaBat.com, which was the inspiration for this site. Athar and I like PyWhip, but we are open to suggestions.
We need teachers, and anyone else who is interested, to contribute problems. Let's start with the categories Logic, Strings, Lists, and Recursion. Don't copy Nick's problems. He's planning his own Python site, with automated translations of his Java problems.
We could also use a few more help pages. See my Strings example at http://py-bat.appspot.com/help These are basically tutorials, starting with the simplest examples first, and focusing on just those features of Python we are testing in the exercises. Try to resist including everything in Python. Python.org already has that.
Let's put together some good problems for beginners, and inspire Athar to make the website as nice as JavaBat.
-- Dave
************************************************************ * * David MacQuigg, PhD email: macquigg at ece.arizona.edu * * * Research Associate phone: USA 520-721-4583 * * * * ECE Department, University of Arizona * * * * 9320 East Mikelyn Lane * * * * http://purl.net/macquigg Tucson, Arizona 85710 * ************************************************************ *
_______________________________________________ Edu-sig mailing list Edu-sig@python.org http://mail.python.org/mailman/listinfo/edu-sig
Athat Hameed has finished the prototype of our online Python practice system. See http://py-bat.appspot.com seems like good start :)
I'd suggest integrating EditArea http://www.cdolivet.net/editarea/ "Easy to integrate, only one script include and one function call" I also kind of develop similar idea ... http://84.55.3.131:801/ (takes up to minute when connecting :\) also sanboxed python might be of use http://blog.sandbox.lt/en/WSGI%20and%20PyPy%20sandbox
On Thu, Mar 5, 2009 at 2:01 PM, Jurgis Pralgauskis <jurgis.pralgauskis@gmail.com> wrote:
Athat Hameed has finished the prototype of our online Python practice system. See http://py-bat.appspot.com seems like good start :) We have now moved the website to http://pywhip.appspot.com.
I'd suggest integrating EditArea http://www.cdolivet.net/editarea/ "Easy to integrate, only one script include and one function call" I will check it out.
I also kind of develop similar idea ... http://84.55.3.131:801/ (takes up to minute when connecting :\) And this too.
also sanboxed python might be of use http://blog.sandbox.lt/en/WSGI%20and%20PyPy%20sandbox We are currently using the sandboxed Python that comes with Google App Engine. _______________________________________________ Edu-sig mailing list Edu-sig@python.org http://mail.python.org/mailman/listinfo/edu-sig
Cheers, Athar
Neat site! We needed this for Python! You do need to say what version of Python you are using. Is this 3.0? I added a problem, but it would have been easier with a little more help on problem submission: 1. Description is in html. Other fields are plain text. 2. Examples are in doctest format. They are shown to the user after the description. 3. The Skeleton initializes the source code edit area. 4. Tests are in doctest format. The ones in the section 'Tests' are displayed when the user runs the code. You cannot save your problem edits without something in the Other Tests section (and the Solution section, too?) How are the Other Tests and the Solution sections used? At least if you sign in, it would be nice to have a link to instructions, and read-only access to the setup data for one or more of the problems. Is there a way for the solution to be exposed to the user, at least after they get a correct solution, for comparison? Andy On Thu, Mar 5, 2009 at 3:43 AM, Athar Hameed اطهر حمید <atharh@gmail.com>wrote:
On Thu, Mar 5, 2009 at 2:01 PM, Jurgis Pralgauskis <jurgis.pralgauskis@gmail.com> wrote:
Athat Hameed has finished the prototype of our online Python practice system. See http://py-bat.appspot.com seems like good start :) We have now moved the website to http://pywhip.appspot.com.
I'd suggest integrating EditArea http://www.cdolivet.net/editarea/ "Easy to integrate, only one script include and one function call" I will check it out.
I also kind of develop similar idea ... http://84.55.3.131:801/ (takes up to minute when connecting :\) And this too.
also sanboxed python might be of use http://blog.sandbox.lt/en/WSGI%20and%20PyPy%20sandbox We are currently using the sandboxed Python that comes with Google App Engine. _______________________________________________ Edu-sig mailing list Edu-sig@python.org http://mail.python.org/mailman/listinfo/edu-sig
Cheers, Athar _______________________________________________ Edu-sig mailing list Edu-sig@python.org http://mail.python.org/mailman/listinfo/edu-sig
-- Andrew N. Harrington Director of Academic Programs Computer Science Department Loyola University Chicago 512B Lewis Towers (office) Snail mail to Lewis Towers 416 820 North Michigan Avenue Chicago, Illinois 60611 http://www.cs.luc.edu/~anh Phone: 312-915-7982 Fax: 312-915-7998 gpd@cs.luc.edu for graduate administration upd@cs.luc.edu for undergrad administration aharrin@luc.edu as professor
Hey everyone, On Sun, Mar 8, 2009 at 5:08 AM, Andrew Harrington <aharrin@luc.edu> wrote:
Neat site! We needed this for Python!
You do need to say what version of Python you are using. Is this 3.0? Yes, we should. It is Python 2.5.
I added a problem, but it would have been easier with a little more help on problem submission: Absolutely. I added a contribution guidelines section to the site. Will update the site in a bit.
1. Description is in html. Other fields are plain text. 2. Examples are in doctest format. They are shown to the user after the description. 3. The Skeleton initializes the source code edit area. 4. Tests are in doctest format. The ones in the section 'Tests' are displayed when the user runs the code.
You cannot save your problem edits without something in the Other Tests section (and the Solution section, too?) That is the case right now.
How are the Other Tests and the Solution sections used? Other tests are those doctests which the students don't see. This is to see if a student really got it right, or is just taking a shortcut. Let's say he submits a solution, and sees that he has a failure on a test that expected 4, where his solution returned 3. Instead of figuring out that he has an "off-by-one" problem, due to his misunderstanding of the way the range() function works, he just sticks in an initial test. If the inputs match exactly the failing testcase, return 4. He gets full score on the problem, but hasn't really solved it.
At least if you sign in, it would be nice to have a link to instructions, and read-only access to the setup data for one or more of the problems. Coming up.
Is there a way for the solution to be exposed to the user, at least after they get a correct solution, for comparison? Also in the pipeline. In another couple of hours hopefully.
Andy
Athar
On Thu, Mar 5, 2009 at 3:43 AM, Athar Hameed اطهر حمید <atharh@gmail.com> wrote:
On Thu, Mar 5, 2009 at 2:01 PM, Jurgis Pralgauskis <jurgis.pralgauskis@gmail.com> wrote:
Athat Hameed has finished the prototype of our online Python practice system. See http://py-bat.appspot.com seems like good start :) We have now moved the website to http://pywhip.appspot.com.
I'd suggest integrating EditArea http://www.cdolivet.net/editarea/ "Easy to integrate, only one script include and one function call" I will check it out.
I also kind of develop similar idea ... http://84.55.3.131:801/ (takes up to minute when connecting :\) And this too.
also sanboxed python might be of use http://blog.sandbox.lt/en/WSGI%20and%20PyPy%20sandbox We are currently using the sandboxed Python that comes with Google App Engine. _______________________________________________ Edu-sig mailing list Edu-sig@python.org http://mail.python.org/mailman/listinfo/edu-sig
Cheers, Athar _______________________________________________ Edu-sig mailing list Edu-sig@python.org http://mail.python.org/mailman/listinfo/edu-sig
-- Andrew N. Harrington Director of Academic Programs Computer Science Department Loyola University Chicago 512B Lewis Towers (office) Snail mail to Lewis Towers 416 820 North Michigan Avenue Chicago, Illinois 60611
http://www.cs.luc.edu/~anh Phone: 312-915-7982 Fax: 312-915-7998 gpd@cs.luc.edu for graduate administration upd@cs.luc.edu for undergrad administration aharrin@luc.edu as professor
From an HR point of view (human resources) we're interested in ending
I'm glad your factorial example doesn't force a recursive solution! Factorial is often used as a gratuitous recursion exercise, whereas it's neither necessary nor more efficient to write it that way. Good going. Just checked the other examples too. In class, you probably teach about writing the tests as a part of the module. In XP, it's "write the tests firsts" -- probably you cover that too. As I was posting to Chipy recently: """ the "private castle" approach to coding, where one indispensable individual builds a "fortress of solitude" around code no one else can decipher. That's a recipe for disaster and Python, in the hands of professionals, doesn't easily "black hole" in that way (just stay away from gratuitous use of metaclasses and you'll be fine (smile)). A language like J (an APL spin off) or even Perl, might out of the box tempt a newbie into a solo coding style, but within strong IT cultures that promote XP and/or related practices, such "implosion" is generally avoided, using the very tools developed for FOSS in the first place e.g. Launchpad etc. Indeed, the best FOSS projects, such as Python itself, Django, Pocoo, wxPython... Numpy are so successful precisely because the code is amenable to "handing on" i.e. doesn't bottleneck in the mind of some "genius" (so thank you Tim Peters, for encoding the Zen of Python when it mattered -- helped keep us on track). """ The idea that professional coding is an entirely solo activity is to be discouraged in the contemporary curriculum. I think your examples are in the right direction, in that the code is partly in place. Green field development is not always what's up. Kirby
participants (5)
-
Andrew Harrington -
Athar Hameed اطهر حمید -
David MacQuigg -
Jurgis Pralgauskis -
kirby urner