Re: Continuations Based Web Framework - Seaside.

2005-01-02 Thread Ian Bicking
Kendall Clark wrote: Between this pressure (which isn't new, since as Steve points out, I was talking about this in Python community last year, and I wasn't nearly the first) and the growing popularity of Ruby on Rails, there's some small hint that Ruby is gaining on Python re: non-Java web app min

emulating an and operator in regular expressions

2005-01-02 Thread Ross La Haye
How can an and operator be emulated in regular expressions in Python? Specifically, I want to return a match on a string if and only if 2 or more substrings all appear in the string. For example, for a string s = 'Jones John' and substrings sg0 = 'Jones' and sg1 = 'John', I want to return a match

Re: ctypes NULL pointers; was: Python To Send Emails Via Outlook Express

2005-01-02 Thread Michel Claveau - abstraction méta-galactique non triviale en fuite perpétuelle.
Ok ; thank you. -- http://mail.python.org/mailman/listinfo/python-list

Re: [Twisted-Python] Problem with Echoserver (TCP), Help!

2005-01-02 Thread Kartic
Hi, My experience with Twisted is also limited but let me try to help you. I tried the same combo as you and it worked well with the following responses: receive: Hello, world! receive: What a fine day it is. receive: Bye-bye! connection lost: Connection was closed cleanly. I am sure you started

Re: thread/queue bug

2005-01-02 Thread Tim Peters
[EMAIL PROTECTED] Note that python-bugs-list is a moderated list for use only by automated reports generated from SourceForge. I'm redirecting the reply to [EMAIL PROTECTED] > I have a very strange bug. A thread in a .pyc stops dead. > > This program has many threads and queues and has worked

[Twisted-Python] Problem with Echoserver (TCP), Help!

2005-01-02 Thread SeSe
Hi, I am new to Twisted. I use a Twisted 1.3.0 on MS Windows XP Home Edition, my python version is 2.3 I try the TCP echoserv.py and echoclient.py example. But the client always fail with following message: Unhandled error in Deferred: Traceback (most recent call last): File "D:\PYTHON23\Lib\s

XML: Better way to accomplish this?

2005-01-02 Thread flamesrock
Hi, I'm working on creating an xml structure like the following, as effiecienty and elegantly as possible using minidom preferably: # # # #0 # # #0 # # #

Re: Problem remotely shutting down a windows computer with python

2005-01-02 Thread Kartic
Hi, According to the online docs for InitiateSystemShutdown() at http://aspn.activestate.com/ASPN/docs/ActivePython/2.2/PyWin32/win32api__InitiateSystemShutdown_meth.html bRebootAfterShutdown : int Specifies whether the computer is to restart immediately after shutting down. If this parameter i

Re: Problem remotely shutting down a windows computer with python

2005-01-02 Thread EW
I believe that would shutdown the computer you were physically at, but it wouldn't shutdown the computer down the hall over the LAN like this script was meant to do. -- http://mail.python.org/mailman/listinfo/python-list

Re: Problem remotely shutting down a windows computer with python

2005-01-02 Thread Daniel Bickett
While I have no solution for the recipe you cited, it seems like alot of trouble could be avoided by simply importing the os module and running the following command using os.system: shutdown -s Daniel Bickett On 2 Jan 2005 20:13:35 -0800, EW <[EMAIL PROTECTED]> wrote: > I have a problem when u

Problem remotely shutting down a windows computer with python

2005-01-02 Thread EW
I have a problem when using the python script found here: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/360649 It is a script to remotely shutdown a windows computer. When I use it, the computer shuts down, but doesn't power off like with a regular shutdown. It stays on the "Safe to po

Compiling Python 2.3

2005-01-02 Thread dayzman
Hi, I'm trying to use MSVC++ Toolkit 2003 to compile 2.3. Does anyone know which is the file to compile first? I don't have VS, so I can't load up the project file in PCbuild. I've tried compiling PC/config.c, but python23.lib isn't created so I'm sure I'm missing something. Any help will be much

Re: using HTTP Digest auth with arbitrary HTTP methods?

2005-01-02 Thread John Reese
In comp.lang.python, [I] wrote: > Hello there. I've run into some missing functionality with HTTP Digest > authentication in the 2.3 library and I was wondering if I'm just > missing something. > > Missing functionality the first: urllib2 > > 1a. You can add "handlers" to your opener indicating

Re: The Industry choice

2005-01-02 Thread Peter Hansen
Roy Smith wrote: "Terry Reedy" <[EMAIL PROTECTED]> wrote: None has been reserved because there is no known good use for overriding it. Should I infer from the above that there's a known bad use? Yes: making None equal to the integer 3. That's one of six known bad uses it's possible there are

Re: File locking is impossible in Windows? SOLUTION

2005-01-02 Thread elbertlev
Sure it will do if one of the processes needs read access only. Scenario when you need shared rw acces with locking: In the file you have "records" say 30 bytes long, 2 processes are reading/writing these records by: lock-read-unlock or lock-write-unlock . Both processes have to open the file with

Re: Calling Function Without Parentheses!

2005-01-02 Thread Max M
Kamilche wrote: What a debug nightmare! I just spent HOURS running my script through the debugger, sprinkling in log statements, and the like, tracking down my problem. I called a function without the ending parentheses. I sure do WISH Python would trap it when I try to do the following: MyFunc Ac

Re: Calling Function Without Parentheses!

2005-01-02 Thread Kamilche
Yep. Definitely time download PyChecker. Thanks for the tip! -- http://mail.python.org/mailman/listinfo/python-list

Re: Calling Function Without Parentheses!

2005-01-02 Thread Terry Reedy
"Kamilche" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > What a debug nightmare! I just spent HOURS running my script through > the debugger, sprinkling in log statements, and the like, tracking down > my problem. Did you try PyChecker? (Don't know if > I called a function with

Re: Continuations Based Web Framework - Seaside.

2005-01-02 Thread Ian Bicking
Steve Holden wrote: I did actually do some sort-of-related work in this area, which I presented at PyCon DC 2004 - you can access the paper at http://www.python.org/pycon/dc2004/papers/18/Setting_A_Context.pdf An audience member mentioned the Smalltalk and Scheme-based work on web continuatio

Re: Calling Function Without Parentheses!

2005-01-02 Thread John Machin
Dan Bishop wrote: > Kamilche wrote: > > What a debug nightmare! I just spent HOURS running my script through > > the debugger, sprinkling in log statements, and the like, tracking > down > > my problem. > > > > I called a function without the ending parentheses. I sure do WISH > > Python would tra

Re: Calling Function Without Parentheses!

2005-01-02 Thread John Machin
Kamilche wrote: > What a debug nightmare! I just spent HOURS running my script through > the debugger, sprinkling in log statements, and the like, tracking down > my problem. > > I called a function without the ending parentheses. I sure do WISH > Python would trap it when I try to do the following

Re: Calling Function Without Parentheses!

2005-01-02 Thread Dan Bishop
Kamilche wrote: > What a debug nightmare! I just spent HOURS running my script through > the debugger, sprinkling in log statements, and the like, tracking down > my problem. > > I called a function without the ending parentheses. I sure do WISH > Python would trap it when I try to do the following

Re: Calling Function Without Parentheses!

2005-01-02 Thread Skip Montanaro
Kamilche> I called a function without the ending parentheses. I sure do Kamilche> WISH Python would trap it when I try to do the following: Kamilche> MyFunc Kamilche> instead of: Kamilche> MyFunc() Google for pychecker. Skip -- http://mail.python.org/mailman/listinfo/pyth

Calling Function Without Parentheses!

2005-01-02 Thread Kamilche
What a debug nightmare! I just spent HOURS running my script through the debugger, sprinkling in log statements, and the like, tracking down my problem. I called a function without the ending parentheses. I sure do WISH Python would trap it when I try to do the following: MyFunc instead of: MyFu

using HTTP Digest auth with arbitrary HTTP methods?

2005-01-02 Thread John Reese
Hello there. I've run into some missing functionality with HTTP Digest authentication in the 2.3 library and I was wondering if I'm just missing something. Missing functionality the first: urllib2 1a. You can add "handlers" to your opener indicating that you want to use HTTP Digest auth.

Re: Continuations Based Web Framework - Seaside.

2005-01-02 Thread Paul Rubin
[EMAIL PROTECTED] (Valentino Volonghi aka Dialtone) writes: > Since I've already said Nevow with wolf works the same as borges. > The only thing that wouldn't work without continuations is the back > button. With greenlet module (from Armin Rigo) also the back button will > work. Thanks, I'm not f

Re: Continuations Based Web Framework - Seaside.

2005-01-02 Thread Valentino Volonghi aka Dialtone
Paul Rubin wrote: > Since Python doesn't have continuations, that would be a bit tricky. Since I've already said Nevow with wolf works the same as borges. The only thing that wouldn't work without continuations is the back button. With greenlet module (from Armin Rigo)

Re: The Industry choice

2005-01-02 Thread Paul Rubin
Roy Smith <[EMAIL PROTECTED]> writes: > Around here, AOL/Moviephone has been trolling for years for Tcl people; > I guess that counts as a big company. The AOL web server also uses tcl as a built-in dynamic content generation language (i.e. sort of like mod_python), or at least it used to. -- ht

[ANN] ratfun-1.0 Polynomials And Rational Functions

2005-01-02 Thread Raymond L. Buvel
The ratfun module provides classes for defining polynomial and rational function (ratio of two polynomials) objects. These objects can be used in arithmetic expressions and evaluated at a particular point. Home page: http://calcrpnpy.sourceforge.net/ratfun.html Note: If you are using rpncalc-1.

Re: Continuations Based Web Framework - Seaside.

2005-01-02 Thread Paul Rubin
Kendall Clark <[EMAIL PROTECTED]> writes: > That was me, actually. I remain surprised that there isn't a move > afoot either to implement something like Seaside or Borges in Python > or to adapt one of the existing web frameworks to be > modal/continuation style. Since Python doesn't have continua

Re: PEP 288 ponderings

2005-01-02 Thread Michael Sparks
On Sun, 2 Jan 2005, Ian Bicking wrote: > Steven Bethard wrote: > > PEP 288 was mentioned in one of the lambda threads and so I ended up > > reading it for the first time recently. I definitely don't like the > > idea of a magical __self__ variable that isn't declared anywhere. It > > also seemed

Re: How to make executable file ?

2005-01-02 Thread Alex Martelli
Maurice LING <[EMAIL PROTECTED]> wrote: > Hi all, > > This may be OT but is there a way to do the same for *nix type of > system? Like cast a python interpreter with scripts together? Yes, but fortunately on the Mac you don't need that. > I'm running Mac OSX here. Assuming we're talking Mac O

Re: The Industry choice

2005-01-02 Thread Mike Meyer
Bulba! <[EMAIL PROTECTED]> writes: > This "free software" (not so much OSS) notion "but you can > hire programmers to fix it" doesn't really happen in practice, > at least not frequently: because this company/guy remains > ALONE with this technology, the costs are unacceptable. Yes, but fixing p

Re: ? about file() and open()

2005-01-02 Thread Alex Martelli
Sean <[EMAIL PROTECTED]> wrote: > Was wondering if there was any difference between these two functions. Not today: >>> open is file True they're two names for the same object. Which isn't a function, btw: >>> type(open) the object, as you see, is a type (besides calling it to instantiate i

Re: ? about file() and open()

2005-01-02 Thread Mark McEahern
Sean wrote: Was wondering if there was any difference between these two functions. None, as shown here: D:\Python23>python Python 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> file == open

Re: The Industry choice

2005-01-02 Thread Alex Martelli
Bulba! <[EMAIL PROTECTED]> wrote: > True. I have a bit of interest in economics, so I've seen e.g. > this example - why is it that foreign branches of companies > tend to cluster themselves in one city or country (e.g. It's not just _foreign_ companies -- regional clustering of all kinds of busin

Re: HTTP GET request with basic authorization?

2005-01-02 Thread Jonas Galvez
Christopher J. wrote: > I tried this, but it didn't work: > conn.request("GET", "/somepage.html", None, > {"AUTHORIZATION": "Basic username:password"}) Hmm, try this: import re, base64 userpass = base64.encodestring('user:pass').replace('\n', '') authd = {'Authorization':'Basic %s' % userpass} c

Re: arbitrary number of arguments in a function declaration

2005-01-02 Thread it's me
And in case it's not obvious already, you get the number of arguments that got passed down from: len(args) "Nick Coghlan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > rbt wrote: > > How do I set up a function so that it can take an arbitrary number of > > arguments? For examp

Re: The Industry choice

2005-01-02 Thread Roy Smith
"Terry Reedy" <[EMAIL PROTECTED]> wrote: > None has been reserved because there is no known good use for overriding > it. Should I infer from the above that there's a known bad use? > True and False will be reserved someday. I remember a lisp I used many years ago. If you tried to rebind nil,

Re: UserDict deprecated

2005-01-02 Thread Uwe Mayer
Saturday 01 January 2005 23:34 pm Steven Bethard wrote: [...] > If you implemented the file interface functions yourself, why do you > want to inherit from file? [...] > But just inheriting from list won't make this work, will it? Don't you > want to do something like: [...] Right. I guess th

? about file() and open()

2005-01-02 Thread Sean
Was wondering if there was any difference between these two functions. I have read some text that said file() wasn't introduced until 2.2 and that it was synonymous with open(). Does this mean that I should be using file() where I used open() before? Sean Morris -- http://mail.python.org/mailma

Re: The Industry choice

2005-01-02 Thread Terry Reedy
"Steve Holden" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Well clearly there's a spectrum. However, I have previously written that > the number of open source projects that appear to get stuck somewhere > between release 0.1 and release 0.9 is amazingly large, and does imply

mertz@gnosis.cx

2005-01-02 Thread Scott David Daniels
I was pointed to appendix A by a comp.lang.py post. In the "except statements" section (which might better be called the "try" statement and include a try: ... finally: ...), you say: The 'except' statement can optionally bind a name to an exception argument: >>> try: ... raise

Re: The Industry choice

2005-01-02 Thread Terry Reedy
"Bulba!" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Sat, 01 Jan 2005 15:08:01 -0500, Steve Holden > >>whereas when a company goes >>bust there's no guarantee the software IP will ever be extricated from >>the resulting mess. > > There is a good _chance_ here: money. Somebody

Re: The Industry choice

2005-01-02 Thread Terry Reedy
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >> 2004-I: "xundef.f", line 2: 'y' is set but never used. > 2005-W: "xundef.f", line 4: 'x' is used but never set. > 2153-W: "xundef.f", line 5, column 1: Subscript out of range. None of these are syntax errors. The first two of these

Re: The Industry choice

2005-01-02 Thread Alex Martelli
Roy Smith <[EMAIL PROTECTED]> wrote: > Stefan Axelsson <[EMAIL PROTECTED]> wrote: > > Yes, ignoring most of the debate about static vs. dynamic typing, I've > > also longed for 'use strict'. > > You can use __slots__ to get the effect you're after. Well, sort of; it > only works for instance var

Re: How to make executable file ?

2005-01-02 Thread Grant Edwards
On 2005-01-02, BOOGIEMAN <[EMAIL PROTECTED]> wrote: >> don't be scared when you see the dimension of the files... > > 1.9 Mb for a console application ?! Yup. I know it's rather small for a Windows application. > And is it possible to make Windows application? Yes. > I want to display results

Re: Python! Is! Truly! Amazing!

2005-01-02 Thread StvB
The way that Paul Graham sees Lisp: ()))yes!) ) "Roy Smith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > In article <[EMAIL PROTECTED]>, > Ron Garret <[EMAIL PROTECTED]> wrote: > >> In article <[EMAIL PROTECTED]>, >> "Erik Bethke" <[EMAIL PROTECTED]> wrote: >> >

Re: The Industry choice

2005-01-02 Thread Terry Reedy
"Peter Dembinski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Besides, shouldn't str be a reserved word or something? It is a name in the builtins module which is automatically searched after globals. Many experienced Pythoneers strongly advise against rebinding builtin name

Re: How to make executable file ?

2005-01-02 Thread Tim Jarman
Maurice LING wrote: > Hi all, > > This may be OT but is there a way to do the same for *nix type of > system? Like cast a python interpreter with scripts together? > > I'm running Mac OSX here. > For OSX, google for py2app - for *nix in general, I believe freeze is your mman, although so many

Re: ctypes NULL pointers; was: Python To Send Emails Via Outlook Express

2005-01-02 Thread ian
Thanks again Lenard!! -- http://mail.python.org/mailman/listinfo/python-list

Re: Rebinding stdout

2005-01-02 Thread Ron Garret
In article <[EMAIL PROTECTED]>, Mark McEahern <[EMAIL PROTECTED]> wrote: > Ron Garret wrote: > > > But this topic does bring up a legitimate question: I have a bunch of > > code that generates HTML using PRINT statements. I need to convert > > all this code to return strings rather than actua

Re: The Industry choice

2005-01-02 Thread Peter Dembinski
Bulba! <[EMAIL PROTECTED]> writes: [...] > The point is obviously "cover your ass" attitude of managers: Managers get paid for taking risk :) -- http://mail.python.org/mailman/listinfo/python-list

Re: How to make executable file ?

2005-01-02 Thread Maurice LING
Hi all, This may be OT but is there a way to do the same for *nix type of system? Like cast a python interpreter with scripts together? I'm running Mac OSX here. The only remote idea I have is to use jythonc to convert everything into .class files and package that as a .jar file but I can't do t

RE: Frameworks for "Non-Content Oriented Web Apps"

2005-01-02 Thread Robert Brewer
[EMAIL PROTECTED] wrote: > Let me make an attemp at defining "Non-Content > Oriented Web Applications". > > A "Non-Content Oriented Web Application": > (1) will be accessed from web browser(obviously). Clear enough. > (2) will be developed using 'W3C' and other open > standards(STRICTLY, to ensu

Re: The Industry choice

2005-01-02 Thread Peter Dembinski
Peter Dembinski <[EMAIL PROTECTED]> writes: > Peter Dembinski <[EMAIL PROTECTED]> writes: > > [...] > >> str = foo(x) > > (ick!) it should be: > > bar = foo(x) Besides, shouldn't str be a reserved word or something? -- http://mail.python.org/mailman/listinfo/python-list

Re: How to make executable file ?

2005-01-02 Thread BOOGIEMAN
On Sun, 02 Jan 2005 21:56:45 +0100, Gian Mario Tagliaretti wrote: > don't be scared when you see the dimension of the files... 1.9 Mb for a console application ?! And is it possible to make Windows application ? I want to display results in windows message box. -- http://mail.python.org/mailman

ctypes NULL pointers; was: Python To Send Emails Via Outlook Express

2005-01-02 Thread Lenard Lindstrom
Posted in a previous thread was some Python code for accessing Window's Simple MAPI api using the ctypes module. http://groups-beta.google.com/group/comp.lang.python/msg/56fa74cdba9b7be9 This Simple MAPI module was Ian's completed version of an example I had posted in an earlier message. In it I

Re: The Industry choice

2005-01-02 Thread Peter Dembinski
Peter Dembinski <[EMAIL PROTECTED]> writes: [...] > str = foo(x) (ick!) it should be: bar = foo(x) -- http://mail.python.org/mailman/listinfo/python-list

Re: How to make executable file ?

2005-01-02 Thread Gian Mario Tagliaretti
BOOGIEMAN wrote: [...] > and saved it as pyt.txt > Maybe pyt.py is better :) > Now, how do I make pyt.exe file ??? > I want to run it on windows where isn't installed python. Have a look at py2exe: http://starship.python.net/crew/theller/py2exe/ don't be scared when you see the dimension of

How to make executable file ?

2005-01-02 Thread BOOGIEMAN
Just how to make *.exe file from python code ?? I typed this : a, b = 0, 1 while b < 1000: print b, a, b = b, a+b and saved it as pyt.txt Now, how do I make pyt.exe file ??? I want to run it on windows where isn't installed python. -- http://mail.python.org/mailman/listinfo/pyth

Re: Rebinding stdout

2005-01-02 Thread Mark McEahern
Ron Garret wrote: But this topic does bring up a legitimate question: I have a bunch of code that generates HTML using PRINT statements. I need to convert all this code to return strings rather than actually printing them (so I can use the results to populate templates). In Lisp I could do thi

Re: IDLE question

2005-01-02 Thread Kurt B. Kaiser
Ishwor <[EMAIL PROTECTED]> writes: > On Sun, 26 Dec 2004 13:02:01 +0100, Rolf Wester > <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I would like to use IDLE as interactively as I can with Emacs. In Emacs >> I can send a marked region to the Python interpreter. Is there any way >> to do the same thing

Rebinding stdout (was: Re: Python! Is! Truly! Amazing!)

2005-01-02 Thread Ron Garret
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Aahz) wrote: > In article <[EMAIL PROTECTED]>, > Roy Smith <[EMAIL PROTECTED]> wrote: > >In article <[EMAIL PROTECTED]>, > > Ron Garret <[EMAIL PROTECTED]> wrote: > >> In article <[EMAIL PROTECTED]>, > >> "Erik Bethke" <[EMAIL PROTECTED]> wrot

Re: What can I do with Python ??

2005-01-02 Thread Reinhold Birkenfeld
Jabaru wrote: >> BTW, I don't know of >> a way to write fullscreen games in C#... >> > > Directx, Opengl, Gdi+, win32api, SDL... the list goes on Yes, that's right, but most of those you can use in Python, too. I should have inserted the word "specific" at the right point in my sentence Reinhol

[ANN] rpncalc-1.2 RPN Calculator For Python

2005-01-02 Thread Raymond L. Buvel
The rpncalc package adds an interactive Reverse Polish Notation (RPN) interpreter to Python. This interpreter allows the use of Python as an RPN calculator. You can easily switch between the RPN interpreter and the standard Python interpreter. Home page: http://calcrpnpy.sourceforge.net/ Changes

Re: arbitrary number of arguments in a function declaration

2005-01-02 Thread Steven Bethard
rbt wrote: How do I set up a function so that it can take an arbitrary number of arguments? If you haven't already, you should check out the Tutorial: http://docs.python.org/tut/node6.html#SECTION00673 How might I make this dynamic so that it can handle any amount of expenses? de

Re: Continuations Based Web Framework - Seaside.

2005-01-02 Thread Jp Calderone
On Sun, 2 Jan 2005 13:34:02 -0500, Kendall Clark <[EMAIL PROTECTED]> wrote: >On Sun, Jan 02, 2005 at 10:03:10AM -0500, Steve Holden wrote: > > > I did actually do some sort-of-related work in this area, which I > > presented at PyCon DC 2004 - you can access the paper at > > > >http://www.py

Re: arbitrary number of arguments in a function declaration

2005-01-02 Thread rbt
Nick Coghlan wrote: rbt wrote: How do I set up a function so that it can take an arbitrary number of arguments? For example, I have a bunch of expenses which may grow or shrink depending on the client's circumstance and a function that sums them up... hard coding them is tedious. How might I mak

Re: arbitrary number of arguments in a function declaration

2005-01-02 Thread Nick Coghlan
rbt wrote: How do I set up a function so that it can take an arbitrary number of arguments? For example, I have a bunch of expenses which may grow or shrink depending on the client's circumstance and a function that sums them up... hard coding them is tedious. How might I make this dynamic so t

arbitrary number of arguments in a function declaration

2005-01-02 Thread rbt
How do I set up a function so that it can take an arbitrary number of arguments? For example, I have a bunch of expenses which may grow or shrink depending on the client's circumstance and a function that sums them up... hard coding them is tedious. How might I make this dynamic so that it can

Re: The Industry choice

2005-01-02 Thread Donn Cave
Quoth Paul Rubin : | "Donn Cave" <[EMAIL PROTECTED]> writes: |> Yes, it would be really weird if Python went that way, and the |> sort of idle speculations we were reading recently from Guido |> sure sounded like he knows better. But it's not like there aren't |> some int

Re: Continuations Based Web Framework - Seaside.

2005-01-02 Thread Jon Perez
none wrote: Does Python really need yet another framework? Apart from the intellectual excersise, wouldn't it be nice if Python would get a framework "for the rest of us" (meaning: mere mortals) which would focus upon getting work done in a simple manner instead of creating yet another, new, h

Re: Python! Is! Truly! Amazing!

2005-01-02 Thread Kamilche
Erik Bethke wrote: Anyways, I am now a super gushing fan-boy. I have worked my way up from a scripter working in crappy proprietary languages to a c++ programmer, to now biz guy. But when I walked away from programming I gave it a grim farewell, c++ work is good, but so much mind goes into it to

Re: The Industry choice

2005-01-02 Thread Mark Carter
Cameron Laird wrote: > In article <[EMAIL PROTECTED]>, > Mark Carter <[EMAIL PROTECTED]> wrote: >. >[tale of *very* >typical experience >with non-software >engineers] >. >. > Don't start me!

Re: The Industry choice

2005-01-02 Thread beliavsky
Roy Smith wrote: >I think you've hit the nail on the head. In awk (and perl, and most >shells, and IIRC, FORTRAN), using an undefined variable silently gets >you a default value (empty string or zero). This tends to propagate >errors and make them very difficult to track down. You may recall corre

Re: The Industry choice

2005-01-02 Thread Roy Smith
[EMAIL PROTECTED] (Cameron Laird) wrote: > Let me add a cautionary note, though: Big Companies, > including Oracle, Software AG, IBM, Cisco, and so on, have > adopted Tcl over and over. All of them still rely on Tcl > for crucial products. All of them also have employees who > sincerely wonde

Re: Speed ain't bad

2005-01-02 Thread Bulba!
On Sat, 1 Jan 2005 14:20:06 +0100, "Anders J. Munch" <[EMAIL PROTECTED]> wrote: >> One of the posters inspired me to do profiling on my newbie script >> (pasted below). After measurements I have found that the speed >> of Python, at least in the area where my script works, is surprisingly >> high.

Re: Continuations Based Web Framework - Seaside.

2005-01-02 Thread Kendall Clark
On Sun, Jan 02, 2005 at 10:03:10AM -0500, Steve Holden wrote: > I did actually do some sort-of-related work in this area, which I > presented at PyCon DC 2004 - you can access the paper at > >http://www.python.org/pycon/dc2004/papers/18/Setting_A_Context.pdf > > An audience member mentioned

Re: The Industry choice

2005-01-02 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Mark Carter <[EMAIL PROTECTED]> wrote: . [tale of *very* typical experience with non-software engineers] . . >use something like

Re: Python! Is! Truly! Amazing!

2005-01-02 Thread Ron Garret
In article <[EMAIL PROTECTED]>, "Erik Bethke" <[EMAIL PROTECTED]> wrote: > > I have NEVER experienced this kind of programming joy. Just wait until you discover Lisp! ;-) rg -- http://mail.python.org/mailman/listinfo/python-list

Re: Python! Is! Truly! Amazing!

2005-01-02 Thread Aahz
In article <[EMAIL PROTECTED]>, Roy Smith <[EMAIL PROTECTED]> wrote: >In article <[EMAIL PROTECTED]>, > Ron Garret <[EMAIL PROTECTED]> wrote: >> In article <[EMAIL PROTECTED]>, >> "Erik Bethke" <[EMAIL PROTECTED]> wrote: >>> >>> I have NEVER experienced this kind of programming joy. >> >> Just

Re: screen clear question

2005-01-02 Thread Alan Gauld
On Mon, 03 Jan 2005 02:15:23 +1000, Nick Coghlan > Alan Gauld wrote: > > But the bottom line is that there is no builtin command > > because the mechanism is different on each platform. > > I'd have said it was because the inpreter is line-oriented rather than > screen-oriented, but YMMV. Yeah

Re: Python! Is! Truly! Amazing!

2005-01-02 Thread StvB
you did this with pygame!!?? "Erik Bethke" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > somehow lost my j's: > > www.erikbethke.com/Python/screenshot02.jpg > www.erikbethke.com/Python/screenshot03.jpg > www.erikbethke.com/Python/screenshot04.jpg > www.erikbethke.com/Python/screens

Re: The Industry choice

2005-01-02 Thread Roy Smith
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Aahz) wrote: > In article <[EMAIL PROTECTED]>, > Steve Holden <[EMAIL PROTECTED]> wrote: > >Aahz wrote: > >> In article <[EMAIL PROTECTED]>, > >> Paul Rubin wrote: > >>> > >>>I was pretty skeptical of Java's checked

Re: The Industry choice

2005-01-02 Thread Bulba!
On Fri, 31 Dec 2004 21:08:02 GMT, [EMAIL PROTECTED] (Cameron Laird) wrote: >Let me add a cautionary note, though: Big Companies, >including Oracle, Software AG, IBM, Cisco, and so on, have >adopted Tcl over and over. All of them still rely on Tcl >for crucial products. All of them also have emp

Re: The Industry choice

2005-01-02 Thread Aahz
In article <[EMAIL PROTECTED]>, Steve Holden <[EMAIL PROTECTED]> wrote: >Aahz wrote: >> In article <[EMAIL PROTECTED]>, >> Paul Rubin wrote: >>> >>>I was pretty skeptical of Java's checked exceptions when I first used >>>them but have been coming around about them. Th

Re: The Industry choice

2005-01-02 Thread Bulba!
On Sat, 01 Jan 2005 15:08:01 -0500, Steve Holden <[EMAIL PROTECTED]> wrote: >> There is the stability issue you mention... but also probably the fear >> issue. If you choose a solution from a major company -- then it fails for >> some reason or they drop the product -- it's their fault -- you've g

Re: The Industry choice

2005-01-02 Thread Bulba!
On Sat, 01 Jan 2005 13:28:16 -0600, "Rob Emmons" <[EMAIL PROTECTED]> wrote: >> For managers of companies it's worse: the company makes >> VERY substantial investments into any technology it "marries", >> and that means big losses if it goes. Long-term stability >> of this technology in terms of "w

Re: The Industry choice

2005-01-02 Thread Aahz
In article <[EMAIL PROTECTED]>, Donn Cave <[EMAIL PROTECTED]> wrote: > >I can only believe that if you think the benefit of static typing is >psychological, either something is very different between the way you >and I write programs, or you're not doing it right. > >For me, the effect is striking.

Re: Python! Is! Truly! Amazing!

2005-01-02 Thread Roy Smith
In article <[EMAIL PROTECTED]>, Ron Garret <[EMAIL PROTECTED]> wrote: > In article <[EMAIL PROTECTED]>, > "Erik Bethke" <[EMAIL PROTECTED]> wrote: > > > > > I have NEVER experienced this kind of programming joy. > > Just wait until you discover Lisp! > > ;-) > > rg Shouldn't that be ;-)))

Advice request for project

2005-01-02 Thread John French
I've been interested in Python for a while now but haven't had an opportunity to use / learn it. I'm tasked now with a project at work that might be my first opportunity. I have to write a ~75 concurrent user document storage app. that allows users to scan documents from locally attached scan

run region in IDLE

2005-01-02 Thread Rolf Wester
Hi, I would like to send a marked region of an IDLE editing window to the IDLE shell for evaluating, so that I can develop software incrementally. I know that I could type directly into the shell window (or copy and paste between an editing window and the shellwindow) but I'm looking for a way o

Re: Frameworks for "Non-Content Oriented Web Apps"

2005-01-02 Thread paolo_veronelli
[EMAIL PROTECTED] wrote: I have started a topic that is really vauge. I knew that this topic is very general and abstract but I think it turned out to be more general that I had expected. Let me make an attemp at defining "Non-Content Oriented Web Applications". A "Non-Content Oriented Web Applicat

Re: screen clear question

2005-01-02 Thread Nick Coghlan
Alan Gauld wrote: But the bottom line is that there is no builtin command because the mechanism is different on each platform. I'd have said it was because the inpreter is line-oriented rather than screen-oriented, but YMMV. Cheers, Nick. -- Nick Coghlan | [EMAIL PROTECTED] | Brisbane, A

Re: What can I do with Python ??

2005-01-02 Thread Jabaru
> BTW, I don't know of > a way to write fullscreen games in C#... > Directx, Opengl, Gdi+, win32api, SDL... the list goes on -- http://mail.python.org/mailman/listinfo/python-list

Re: Python! Is! Truly! Amazing!

2005-01-02 Thread Nelson Minar
"Erik Bethke" <[EMAIL PROTECTED]> writes: > I have NEVER experienced this kind of programming joy. Yep, I feel the same way since learning Python. It's really a productive and pleasant language. Congratulations on all your game successes! -- http://mail.python.org/mailman/listinfo/python-list

Re: Python! Is! Truly! Amazing!

2005-01-02 Thread Miklós P
"Erik Bethke" <[EMAIL PROTECTED]> wrote: > Hello Everyone, > > I have to say: > > Python! Is! Truly! Amazing! > > So I started with python about a month ago and put in 24 hours across > three weekends. ... > > Truly thank you. > > -Erik > I enjoyed to read about your enthusiasm about Python you

Re: Continuations Based Web Framework - Seaside.

2005-01-02 Thread Valentino Volonghi aka Dialtone
Mike Thompson wrote: > I googled for the python spin-off but didn't find one. Closest I found Get Nevow with wolf (flow backwards, in the svn sandbox). http://www.divmod.org/cvs/sandbox/phunt/wolf/?root=Nevow You will need stackless or greenlet if using CPython. -- Valentino Volonghi aka Dial

Re: What can I do with Python ??

2005-01-02 Thread Lee Harr
On 2005-01-02, Brian Beck <[EMAIL PROTECTED]> wrote: > Alex Martelli wrote: >> You _gotta_ be kidding, right...? The Beginner's Guide link takes you >> right to the BeginnersGuide page which starts with the reassurance that >> Python is easy to learn even if you're new to programming and continues

  1   2   >