Re: [Tutor] understanding __import__()

2006-07-25 Thread python-tutor
Sean Perry wrote: > Ok, this may be slightly above tutor's level, but hey, never hurts to > ask (-: __import__ is dark magic; generally those who venture into that realm would do well to read the C source for Python.. I'm guessing that '.' is not in your sys.path, so Python isn't finding the rel

[Tutor] understanding __import__()

2006-07-25 Thread Sean Perry
Ok, this may be slightly above tutor's level, but hey, never hurts to ask (-: I am playing with __import__(). Here is my code: [code] import os.path app_path = '/tmp/my/settings' app_path2 = 'my/settings' if os.path.exists(app_path + '.py'): print "Found", app_path try: f = __import

[Tutor] treeWidget in QT Designer

2006-07-25 Thread kakada
Hi there, I am trying to build GUI python using Qt4. I am working with treeWidget to view my data. With the first load, I want the selected item go to the first row by doing: curItem = self.ui.treeWidget.itemAt(1,1) self.ui.treeWidget.setCurrentItem(curItem) It's ok. Then I want it jump to 4th

Re: [Tutor] IDE for Python

2006-07-25 Thread Alan Gauld
> I want to know which IDE I should use for programming. IDLE comes with standard Python and is OK for starters. Pythonwin comes with ActiveState python (as well as IDLE) and is better for Windoze users. Personally I use cygwin, bash, and vim. Others use emacs... And there are lots more inclu

Re: [Tutor] I am not really convinced using Python...

2006-07-25 Thread Alan Gauld
> I am not a newbie to programming.I already learnt C language.I > enjoyed it a lot. > But I am not a computer student.So I don't require a hifi language > like C. C is a tterrible language for computer students, its usually used by engineering types who need to interact with the computer at

Re: [Tutor] IDE for Python

2006-07-25 Thread Tim Johnson
* Mike Hansen <[EMAIL PROTECTED]> [060725 10:26]: > > I personally use VIM. The closest thing to an IDE I've used is Komodo. > You might check out these links. I used to use vim extensively with python, now have moved to emacs. > http://pyfaq.infogami.com/tutor-whats-the-best-editor-ide-for-p

Re: [Tutor] IDE for Python

2006-07-25 Thread Carroll, Barry
Raj: I prefer ViM as well. I have tried several IDEs: Idle, SlickEdit, Eclipse/PyDev, Stani's Python Editor (SPE). None of them manages multiple editing windows as well as ViM, and that is the feature I use most. In a typical editing session I will have six or more editing windows open, acces

Re: [Tutor] confused by linked queue

2006-07-25 Thread Danny Yoo
> One of my problems in conecptualizing this is that I thought a linked > queue was just a linked list. Is a linked queue a linked list? There > seems to be a subtle difference... Hi Chris, I think you mean to ask: Is a "queue" a linked list? Here's another particular possible queue c

Re: [Tutor] IDE for Python

2006-07-25 Thread Tracy R Reed
Basavaraj SP. wrote: > I want to know which IDE I should use for programming. Emacs has been the gold standard of IDE's for years. -- Tracy R Reed http://ultraviolet.org A: Because we read from top to bottom, left to right Q: Why should I start my reply below the quoted text __

Re: [Tutor] email anonymizing

2006-07-25 Thread Tracy R Reed
Bob Gailer wrote: > To amplify Luke's and others' questions - we need a lot more > information, and at this point in the process it seems painfully slow to > extract it from you. If you want our help please tell us: In situations like this I like to refer people to: "How To Ask Questions The Sm

Re: [Tutor] IDE for Python

2006-07-25 Thread Rob Sinclar
On Tuesday 25 July 2006 18:51, Mike Hansen wrote: > Dear All, > > I am new to Python. > > I want to know which IDE I should use for programming. > > If so from where can I get it? > > Thanks in advance. > > - Raj > > I personally use VIM. The closest thing to an

Re: [Tutor] IDE for Python

2006-07-25 Thread Mike Hansen
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Basavaraj SP. Sent: Tuesday, July 25, 2006 9:05 AM To: tutor@python.org Subject: [Tutor] IDE for Python Dear All, I am new to Pyth

Re: [Tutor] I am not really convinced using Python...

2006-07-25 Thread Kent Johnson
K.R.L. NARASIMHA wrote: > Hey friends,good day. > I am *_not a newbie_* to programming.I already learnt C language.I > enjoyed it a lot. > But I am not a computer student.So I don't require a hifi language like C. > I am an electronics student.I would really like to know if the > language like Py

Re: [Tutor] I am not really convinced using Python...

2006-07-25 Thread Kent Johnson
andrew clarke wrote: > On Tue, Jul 25, 2006 at 05:14:35PM +0200, Rob Sinclar wrote: > > >> Yep Python is an interpreted language. In other words every python app needs >> the python interpreter to be able to run. >> > > I'm not sure, but I don't think there's anything particular about the

Re: [Tutor] IDE for Python

2006-07-25 Thread andrew clarke
On Tue, Jul 25, 2006 at 08:34:39PM +0530, Basavaraj SP. wrote: > I am new to Python. > > I want to know which IDE I should use for programming. > > If so from where can I get it? ActivePython is a good start: http://www.activestate.com/Products/ActivePython/ ___

Re: [Tutor] I am not really convinced using Python...

2006-07-25 Thread andrew clarke
On Tue, Jul 25, 2006 at 05:14:35PM +0200, Rob Sinclar wrote: > Yep Python is an interpreted language. In other words every python app needs > the python interpreter to be able to run. I'm not sure, but I don't think there's anything particular about the language that says it should be interprete

[Tutor] IDE for Python

2006-07-25 Thread Basavaraj SP.
Dear All,   I am new to Python.   I want to know which IDE I should use for programming.   If so from where can I get it?   Thanks in advance.   - Raj   ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listin

Re: [Tutor] I am not really convinced using Python...

2006-07-25 Thread Bertrand-Xavier M.
On Tuesday 25 July 2006 16:42, K.R.L. NARASIMHA wrote: > Hey friends,good day. > I am not a newbie to programming.I already learnt C language.I enjoyed it > a lot. But I am not a computer student.So I don't require a hifi language > like C. I am an electronics student.I would really like to know

Re: [Tutor] I am not really convinced using Python...

2006-07-25 Thread Rob Sinclar
On Tuesday 25 July 2006 16:42, K.R.L. NARASIMHA wrote: > Hey friends,good day. > I am not a newbie to programming.I already learnt C language.I enjoyed it > a lot. But I am not a computer student.So I don't require a hifi language > like C. I am an electronics student.I would really like to know

[Tutor] I am not really convinced using Python...

2006-07-25 Thread K.R.L. NARASIMHA
Hey friends,good day. I am not a newbie to programming.I already learnt C language.I enjoyed it a lot. But I am not a computer student.So I don't require a hifi language like C. I am an electronics student.I would really like to know if the language like Python will be of any help(use) to me.Als