Re: [Tutor] Is there python editor or plugin for a python editor for curly brackets around code blocks?

2008-08-12 Thread vishwajeet singh
try typing this on your python shell : *from __future__ import braces* check the output:* SyntaxError: not a chance (, line 1)* On Wed, Aug 13, 2008 at 10:15 AM, xbmuncher <[EMAIL PROTECTED]> wrote: > Yes I think python is great in its simplicity in typing code but not in its > absence of curly

[Tutor] Is there python editor or plugin for a python editor for curly brackets around code blocks?

2008-08-12 Thread xbmuncher
Yes I think python is great in its simplicity in typing code but not in its absence of curly brackets to surround code blocks. Personally, it helps me visually see the code blocks as well as saves me constant pain when the compiler complains about broken/missing indents in the code.* I think it wou

Re: [Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-12 Thread Dick Moores
At 05:11 PM 8/12/2008, Alan Gauld wrote: I use Pythonwin for most of my short programming tasks (with occasional forays into other tools like PyCrust and SPE) but for serious programming I use vim. Why? Alan, I used vi/vim a lot years ago in the shell account days. You've got me wanting to take a

Re: [Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-12 Thread Alan Gauld
"Jaggo" <[EMAIL PROTECTED]> wrote I haven't much experience with programming. Why do you use your editor rather than using Pywin? Thats one of the most contentious issues in programming. Coders love their editors like other people love their pets! What feature has editor X got that PyWin

Re: [Tutor] ecommerce.py

2008-08-12 Thread Christopher Spears
Hey Everybody, I took Kent's advice and changed the design of the script. Tell me what you think! #!/usr/bin/python class Widget(object): def __init__(self,widget_number): self.widget_number = widget_number #print "Created Widget %d" % widget_number class Cart(object):

Re: [Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-12 Thread johnf
On Tuesday 12 August 2008 11:31:44 am Jaggo wrote: > Hello. > > I haven't much experience with programming. > > I'd like to point this question to programmers who write in editors other > than the default PyWin32: > > Why do you use your editor rather than using Pywin? What feature has editor > X g

Re: [Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-12 Thread Chad Crabtree
Well I would imagine that many of the programmers here use emacs or vim. I use vim, however I've used komodo for python and I liked it a lot. However if you are going to program a great deal (I don't' know what your intentions are) then I recomend taking the 20-40 hour it takes to learn emacs or

Re: [Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-12 Thread Steve Willoughby
Jaggo wrote: Why do you use your editor rather than using Pywin? What feature has editor X got that PyWin hasn't? (That is, other than "My editor runs on unix / linux"; while that does count for something it is rather irrelevant to my current situation.) I use a different editor (in my case vim

Re: [Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-12 Thread Hansen, Mike
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Jaggo > Sent: Tuesday, August 12, 2008 12:32 PM > To: tutor@python.org > Subject: [Tutor] What has Editor X got that PyWin32 hasn't? > > Hello. > > > I haven't much experience with programming. > >

[Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-12 Thread Jaggo
Hello. I haven't much experience with programming. I'd like to point this question to programmers who write in editors other than the default PyWin32: Why do you use your editor rather than using Pywin? What feature has editor X got that PyWin hasn't? (That is, other than "My editor runs on unix

Re: [Tutor] Easiest way to display HTML

2008-08-12 Thread Kent Johnson
On Tue, Aug 12, 2008 at 8:40 AM, Paul Tader <[EMAIL PROTECTED]> wrote: > The closest I've seen is HTMLgen, but that project seems to be very quiet. > > In short, what would you use to quickly mark up your scripts simple output? Some other possibilities here: http://wiki.python.org/moin/Templating#

Re: [Tutor] Easiest way to display HTML

2008-08-12 Thread Alan Gauld
"Paul Tader" <[EMAIL PROTECTED]> wrote The closest I've seen is HTMLgen, but that project seems to be very quiet. In short, what would you use to quickly mark up your scripts simple output? HTMLgen still works. There has been little activity because I guess there's not much more to do! O

Re: [Tutor] requests/responses from urllib2

2008-08-12 Thread Kent Johnson
On Tue, Aug 12, 2008 at 7:27 AM, Eric Abrahamsen <[EMAIL PROTECTED]> wrote: > > On Aug 11, 2008, at 6:54 PM, Kent Johnson wrote: >> I'm not sure if you want to see the traffic coming in from your users, >> or the traffic from your server to the third-party server. I don't >> know what kind of inter

[Tutor] Easiest way to display HTML

2008-08-12 Thread Paul Tader
I have a collection of python scripts that are written to be run from the command prompt. I now want to write the output (tables mostly) to a webpage using cron or as a cgi script. I've read about most web frameworks out there but many seem to be more than what I'm looking for. The closest I've

Re: [Tutor] ecommerce.py

2008-08-12 Thread Kent Johnson
On Tue, Aug 12, 2008 at 1:41 AM, Christopher Spears <[EMAIL PROTECTED]> wrote: > I am not sure how to handle putting Widgets into a Cart. Somehow, I need the > user to be able to select the Cart he or she wants and then put Widgets in > it. Any hints? You figured out how to put a Cart in a Use

[Tutor] Online Python teachers/tutors wanted

2008-08-12 Thread ypyean
ForteMall is looking for online Python teachers, instructors and tutors. You can teach worldwide online at your home. It is time to start your online teaching career on it. It is also a nice place where you can have second source of income generation. You can take it as part-time job and work a