Re: Python as a default shell, replacement of bash, sh, cmd ?

2012-02-21 Thread Kyle T. Jones
On 2/19/12 2:16 AM, SherjilOzair wrote: Well, if not modify python itself, I was thinking of making another shell, which borrows a lot from python, something like merging bash and python. such that I can do `cd ~/Desktop/dev` and `for i in open('file.txt'): print i` at the some shell. This I t

Re: Python 2.6 OR 3.2

2011-06-09 Thread Kyle T. Jones
John Gordon wrote: In <9037ef5f-53c5-42c6-ac5d-8f942df6c...@x38g2000pri.googlegroups.com> hisan writes: Hi All, Please let me know which one is GOOD whether Python 2.6 OR 3.2. Please let me know the difference between them. Please give some refernce site or books to know the difference I

Re: A question about Python Classes

2011-04-22 Thread Kyle T. Jones
Ethan Furman wrote: chad wrote: Let's say I have the following class BaseHandler: def foo(self): print "Hello" class HomeHandler(BaseHandler): pass Then I do the following... test = HomeHandler() test.foo() How can HomeHandler call foo() when I never created an instance

Overuse of try/except/else?

2011-05-09 Thread Kyle T. Jones
It has been hard for me to determine what would constitute overuse. Cheers. -- http://mail.python.org/mailman/listinfo/python-list

Re: Complete beginner, any help appreciated :) - For Loops

2011-12-01 Thread Kyle T. Jones
On 12/1/11 4:53 AM, Mark wrote: Hi there, I'm a complete beginner to Python and, aside from HTML and CSS, to coding in general. I've spent a few hours on it and think I understand most of the syntax. However, I'm wondering a bit about For Loops. I know that the basic syntax for them is to def

Python Noob - a couple questions involving a web app

2009-04-28 Thread Kyle T. Jones
Been programming for a long time, but just starting out with Python. Not a professional programmer, just that guy in one of those organizations that won't hire a pro, instead saying "Hey, Kyle knows computer stuff - let's have him do this (and that, and the other, etc)". So, the higher ups wan

Re: Python Noob - a couple questions involving a web app

2009-04-29 Thread Kyle T. Jones
Bruno Desthuilliers, my dear, dear friend, there was this time, oh, 4/29/2009 3:02 AM or thereabouts, when you let the following craziness loose on Usenet: Kyle T. Jones a écrit : Been programming for a long time, but just starting out with Python. Not a professional programmer, just that guy