Re: On-topic: alternate Python implementations

2012-08-05 Thread Stefan Behnel
Jürgen A. Erhard, 05.08.2012 14:28: > On Sun, Aug 05, 2012 at 07:46:59AM +0200, Stefan Behnel wrote: >> Jürgen A. Erhard, 05.08.2012 01:25: >>> None of the other implementations require Python for actually >>> compiling or running Python source. >> >> Nuitka was on the list as well. > > True, whic

Re: On-topic: alternate Python implementations

2012-08-05 Thread Stefan Behnel
alex23, 06.08.2012 05:40: > On Aug 4, 4:15 pm, Steven D'Aprano +comp.lang.pyt...@pearwood.info> wrote: >> But the Python ecosystem is a lot bigger than just those four. Here are >> just a few other implementations that you might be interested in: > > There's also HotPy: > > http://code.google.co

Re: Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread Wolfgang Strobl
Dennis Lee Bieber : > Don't look for Object-Oriented Programming -- since the first widely >popular OOP language was C++ (Smalltalk was earlier, but rather >specialized, whereas C++ started as a preprocessor for C). Well, C++ did to C what Simula 67 did to Algol 60, much earlier. Simula was

Re: [newbie] Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread Steven D'Aprano
On Sun, 05 Aug 2012 21:14:04 -0400, Dennis Lee Bieber wrote: > While I've probably used singletons (usually as sentinels in queues, I don't know your code, but if I were to take a wild guess, I would say that apart from None, and True/False, you probably haven't. NotImplemented and Ellipsis are

Re: On-topic: alternate Python implementations

2012-08-05 Thread alex23
On Aug 4, 4:15 pm, Steven D'Aprano wrote: > But the Python ecosystem is a lot bigger than just those four. Here are > just a few other implementations that you might be interested in: There's also HotPy: http://code.google.com/p/hotpy/ http://www.hotpy.org/ -- http://mail.python.org/mailman/li

Re: Intermediate Python user needed help

2012-08-05 Thread alex23
On Aug 6, 7:14 am, John Mordecai Dildy wrote: > Im using Textwrangler and thats the only text editor that im using just > saying for everyone Why bother using an actual development tool when you can get an entire mailing list to be your syntax checker, right? -- http://mail.python.org/mailman/l

Re: Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread alex23
On Aug 6, 10:22 am, Steven D'Aprano wrote: > In my not-so-humble opinion, the popularity of Design Patterns has a lot > to do with the fact that they are so abstract and jargon-ridden that they > have become a badge of membership into an elite. Shorn of their excessive > abstractness, they're not

Re: conditional running of code portion

2012-08-05 Thread Steven W. Orr
On 8/5/2012 12:43 AM, Ramchandra Apte wrote: Try pypreprocessor . Better idea: You should be using the logging module if you want to print debug information quickly.It uses threads and is optimized to run fas

Re: Getting started with IDLE and Python - no highlighting and no execution

2012-08-05 Thread PeterSo
On Aug 5, 7:09 pm, Rotwang wrote: > On 06/08/2012 00:46, PeterSo wrote: > > > > > > > > > > > I am just starting to learn Python, and I like to use the editor > > instead of the interactive shell. So I wrote the following little > > program in IDLE > > > # calculating the mean > > > data1=[49, 66,

Re: Getting started with IDLE and Python - no highlighting and no execution

2012-08-05 Thread Terry Reedy
On 8/5/2012 7:46 PM, PeterSo wrote: I am just starting to learn Python, and I like to use the editor instead of the interactive shell. So I wrote the following little program in IDLE # calculating the mean data1=[49, 66, 24, 98, 37, 64, 98, 27, 56, 93, 68, 78, 22, 25, 11] def mean(data):

Re: Intermediate Python user needed help

2012-08-05 Thread Tim Chase
On 08/05/12 20:15, Dennis Lee Bieber wrote: > On Sun, 05 Aug 2012 19:32:26 -0400, Roy Smith declaimed >>> Though not a lisper, the Python tie-in was my reply: Python (among >>> many other languages) doesn't allow a "-" as a character in >>> identifiers as you appeared to use it in your code. Unl

Re: Getting started with IDLE and Python - no highlighting and no execution

2012-08-05 Thread Rotwang
On 06/08/2012 02:01, Matthew Barnett wrote: On 06/08/2012 01:58, MRAB wrote: On 06/08/2012 01:09, Rotwang wrote: On 06/08/2012 00:46, PeterSo wrote: I am just starting to learn Python, and I like to use the editor instead of the interactive shell. So I wrote the following little program in IDL

Re: [newbie] Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread Mark Lawrence
On 06/08/2012 01:22, Steven D'Aprano wrote: [snipped to death] In my not-so-humble opinion, the popularity of Design Patterns has a lot to do with the fact that they are so abstract and jargon-ridden that they have become a badge of membership into an elite. Shorn of their excessive abstractne

Re: Getting started with IDLE and Python - no highlighting and no execution

2012-08-05 Thread Matthew Barnett
On 06/08/2012 01:58, MRAB wrote: On 06/08/2012 01:09, Rotwang wrote: On 06/08/2012 00:46, PeterSo wrote: I am just starting to learn Python, and I like to use the editor instead of the interactive shell. So I wrote the following little program in IDLE # calculating the mean data1=[49, 66, 24,

Re: Getting started with IDLE and Python - no highlighting and no execution

2012-08-05 Thread MRAB
On 06/08/2012 01:09, Rotwang wrote: On 06/08/2012 00:46, PeterSo wrote: I am just starting to learn Python, and I like to use the editor instead of the interactive shell. So I wrote the following little program in IDLE # calculating the mean data1=[49, 66, 24, 98, 37, 64, 98, 27, 56, 93, 68, 7

Re: Getting started with IDLE and Python - no highlighting and no execution

2012-08-05 Thread Mark Lawrence
On 06/08/2012 00:46, PeterSo wrote: I am just starting to learn Python, and I like to use the editor instead of the interactive shell. So I wrote the following little program in IDLE [snip] I can't comment on IDLE as I've never used it, but you're doing yourself a big disservice if you don't

Re: Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread Dan Sommers
On 2012-08-06 at 00:27:43 +, Steven D'Aprano wrote: > I frequently draw diagrams to understand the relationships between my > classes and the problem I am trying to solve. I almost invariably use one > type of box and one type of arrowhead. Sometimes if I'm bored I draw > doodles on the di

Re: Intermediate Python user needed help

2012-08-05 Thread Steven D'Aprano
On Sun, 05 Aug 2012 18:19:55 -0500, Tim Chase wrote: > On 08/05/12 17:00, John Mordecai Dildy wrote: >> since when did we start talking about lisp? > > Though not a lisper, the Python tie-in was my reply: Python (among many > other languages) doesn't allow a "-" as a character in identifiers as

Re: Intermediate Python user needed help

2012-08-05 Thread William R. Wing
On Aug 5, 2012, at 5:14 PM, John Mordecai Dildy wrote: > Im using Textwrangler and thats the only text editor that im using just > saying for everyone > -- > http://mail.python.org/mailman/listinfo/python-list (With apologies, I initially sent this privately to John, and not to the list.) As

Re: Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread Steven D'Aprano
On Sun, 05 Aug 2012 19:12:35 -0400, Roy Smith wrote: >> Good lord. I'd rather read C++ than UML. And I can't read C++. > > UML is under-rated. I certainly don't have any love of the 47 different > flavors of diagram, but the basic idea of having a common graphical > language for describing how

Re: [newbie] Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread Steven D'Aprano
On Sun, 05 Aug 2012 20:46:23 +0100, lipska the kat wrote: > > Object Oriented programming is a mindset, a way of looking at that > particular part of our world that you are trying to encapsulate in > computer language. The language you use is (should be) irrelevant. That depends on how you defin

Re: Getting started with IDLE and Python - no highlighting and no execution

2012-08-05 Thread Rotwang
On 06/08/2012 00:46, PeterSo wrote: I am just starting to learn Python, and I like to use the editor instead of the interactive shell. So I wrote the following little program in IDLE # calculating the mean data1=[49, 66, 24, 98, 37, 64, 98, 27, 56, 93, 68, 78, 22, 25, 11] def mean(data):

Getting started with IDLE and Python - no highlighting and no execution

2012-08-05 Thread PeterSo
I am just starting to learn Python, and I like to use the editor instead of the interactive shell. So I wrote the following little program in IDLE # calculating the mean data1=[49, 66, 24, 98, 37, 64, 98, 27, 56, 93, 68, 78, 22, 25, 11] def mean(data): return sum(data)/len(data) mean(da

Re: Intermediate Python user needed help

2012-08-05 Thread Roy Smith
In article , Tim Chase wrote: > On 08/05/12 17:00, John Mordecai Dildy wrote: > > since when did we start talking about lisp? > > Though not a lisper, the Python tie-in was my reply: Python (among > many other languages) doesn't allow a "-" as a character in > identifiers as you appeared to us

Re: Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread Mark Lawrence
On 06/08/2012 00:12, Roy Smith wrote: In article <501ef904$0$29867$c3e8da3$54964...@news.astraweb.com>, Steven D'Aprano wrote: On Sun, 05 Aug 2012 18:45:47 -0400, Dennis Lee Bieber wrote: Don't look for Object-Oriented Programming -- since the first widely popular OOP language was C++ (Sma

Re: Intermediate Python user needed help

2012-08-05 Thread Tim Chase
On 08/05/12 16:32, Roy Smith wrote: > Tim Chase wrote: >> You either mean something like "start_point" (with an underscore >> instead of a minus), or you're performing a subtraction of "start >> minus point", in which case you'd have to assign those values before >> you use them. > > Or he meant

Re: Intermediate Python user needed help

2012-08-05 Thread Tim Chase
On 08/05/12 17:00, John Mordecai Dildy wrote: > since when did we start talking about lisp? Though not a lisper, the Python tie-in was my reply: Python (among many other languages) doesn't allow a "-" as a character in identifiers as you appeared to use it in your code. Unlike HTML, XML, CSS, an

Re: Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread Roy Smith
In article <501ef904$0$29867$c3e8da3$54964...@news.astraweb.com>, Steven D'Aprano wrote: > On Sun, 05 Aug 2012 18:45:47 -0400, Dennis Lee Bieber wrote: > > > Don't look for Object-Oriented Programming -- since the first widely > > popular OOP language was C++ (Smalltalk was earlier, but rather

Re: Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread Steven D'Aprano
On Sun, 05 Aug 2012 18:45:47 -0400, Dennis Lee Bieber wrote: > Don't look for Object-Oriented Programming -- since the first widely > popular OOP language was C++ (Smalltalk was earlier, but rather > specialized, whereas C++ started as a preprocessor for C). > > Rather look for Object-Oriented An

Re: [newbie] Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread Roy Smith
On 05/08/2012 20:46, lipska the kat wrote: > Design Patterns by Gamma, Helm, Johnson and Vlissides In article , Mark Lawrence wrote: > Please no, that's the worst possible book for someone trying to learn > OOD in Python. +1 what Mark said. It's certainly the classic patterns book, but most

Re: Intermediate Python user needed help

2012-08-05 Thread John Mordecai Dildy
oh -- http://mail.python.org/mailman/listinfo/python-list

Re: Intermediate Python user needed help

2012-08-05 Thread Mark Lawrence
On 05/08/2012 23:00, John Mordecai Dildy wrote: since when did we start talking about lisp? Just about anything is on topic here. -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: Intermediate Python user needed help

2012-08-05 Thread Mark Lawrence
On 05/08/2012 22:32, Roy Smith wrote: In article , Tim Chase wrote: On 08/05/12 15:52, John Mordecai Dildy wrote: Current Problem at the moment Traceback (most recent call last): File "ex26.py", line 66, in beans, jars, crates = secret_formula(start-point) NameError: name 'start'

Re: [newbie] Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread Mark Lawrence
On 05/08/2012 20:46, lipska the kat wrote: [snip] There is a book you could try, it's a bit dry and I read it when I can't sleep, about 30 mins usually does it :-) It's called Design Patterns by Gamma, Helm, Johnson and Vlissides ISBN 0-201-63361-2. They do use C++ code in examples but as they

Re: Intermediate Python user needed help

2012-08-05 Thread John Mordecai Dildy
since when did we start talking about lisp? -- http://mail.python.org/mailman/listinfo/python-list

Re: Intermediate Python user needed help

2012-08-05 Thread Roy Smith
In article , Tim Chase wrote: > On 08/05/12 15:52, John Mordecai Dildy wrote: > > Current Problem at the moment > > > > Traceback (most recent call last): > > File "ex26.py", line 66, in > > beans, jars, crates = secret_formula(start-point) > > NameError: name 'start' is not defined > >

Re: Intermediate Python user needed help

2012-08-05 Thread Andre Ramaciotti
On 08/05/2012 06:12 PM, MRAB wrote: On 05/08/2012 22:03, Tim Chase wrote: On 08/05/12 15:52, John Mordecai Dildy wrote: Current Problem at the moment Traceback (most recent call last): File "ex26.py", line 66, in beans, jars, crates = secret_formula(start-point) NameError: name 'start'

Re: Intermediate Python user needed help

2012-08-05 Thread John Mordecai Dildy
Im using Textwrangler and thats the only text editor that im using just saying for everyone -- http://mail.python.org/mailman/listinfo/python-list

Re: Intermediate Python user needed help

2012-08-05 Thread John Mordecai Dildy
Thanks everyone that has put input into this its working on out error by error On Sunday, August 5, 2012 5:03:50 PM UTC-4, Tim Chase wrote: > On 08/05/12 15:52, John Mordecai Dildy wrote: > > > Current Problem at the moment > > > > > > Traceback (most recent call last): > > > File "ex26.py"

Re: Intermediate Python user needed help

2012-08-05 Thread MRAB
On 05/08/2012 22:03, Tim Chase wrote: On 08/05/12 15:52, John Mordecai Dildy wrote: Current Problem at the moment Traceback (most recent call last): File "ex26.py", line 66, in beans, jars, crates = secret_formula(start-point) NameError: name 'start' is not defined anyone know how to ma

Re: Intermediate Python user needed help

2012-08-05 Thread Zero Piraeus
: On 5 August 2012 16:52, John Mordecai Dildy wrote: > Current Problem at the moment > > Traceback (most recent call last): > File "ex26.py", line 66, in > beans, jars, crates = secret_formula(start-point) > NameError: name 'start' is not defined > > anyone know how to make start defined

Re: Intermediate Python user needed help

2012-08-05 Thread MRAB
On 05/08/2012 21:52, John Mordecai Dildy wrote: Current Problem at the moment Traceback (most recent call last): File "ex26.py", line 66, in beans, jars, crates = secret_formula(start-point) NameError: name 'start' is not defined anyone know how to make start defined You have "start-

Re: Intermediate Python user needed help

2012-08-05 Thread Vlastimil Brom
2012/8/5 John Mordecai Dildy : > Current Problem at the moment > > Traceback (most recent call last): > File "ex26.py", line 66, in > beans, jars, crates = secret_formula(start-point) > NameError: name 'start' is not defined > > anyone know how to make start defined > -- > http://mail.python

Re: Intermediate Python user needed help

2012-08-05 Thread Roy Smith
In article <506eb405-eb07-4175-9efb-40475caba...@googlegroups.com>, John Mordecai Dildy wrote: > Current Problem at the moment > > Traceback (most recent call last): > File "ex26.py", line 66, in > beans, jars, crates = secret_formula(start-point) > NameError: name 'start' is not defined

Re: Intermediate Python user needed help

2012-08-05 Thread Tim Chase
On 08/05/12 15:52, John Mordecai Dildy wrote: > Current Problem at the moment > > Traceback (most recent call last): > File "ex26.py", line 66, in > beans, jars, crates = secret_formula(start-point) > NameError: name 'start' is not defined > > anyone know how to make start defined "start-

Re: Intermediate Python user needed help

2012-08-05 Thread John Mordecai Dildy
Current Problem at the moment Traceback (most recent call last): File "ex26.py", line 66, in beans, jars, crates = secret_formula(start-point) NameError: name 'start' is not defined anyone know how to make start defined -- http://mail.python.org/mailman/listinfo/python-list

Re: Intermediate Python user needed help

2012-08-05 Thread John Mordecai Dildy
On Sunday, August 5, 2012 4:24:45 PM UTC-4, Steven D'Aprano wrote: > On Sun, 05 Aug 2012 12:51:31 -0700, John Mordecai Dildy wrote: > > > > > Ive tried to delete the spaces in 75 and 76 to see if it made a change > > > but it has not made a difference to it. > > > > What made you think that

Re: Intermediate Python user needed help

2012-08-05 Thread John Mordecai Dildy
File "ex26.py", line 84 .print_first_word(sorted_words) ^ SyntaxError: invalid syntax is what i have now and i dont see the problem like usual (i only post problems that i cant fix). -- http://mail.python.org/mailman/listinfo/python-list

Re: Intermediate Python user needed help

2012-08-05 Thread Steven D'Aprano
On Sun, 05 Aug 2012 12:51:31 -0700, John Mordecai Dildy wrote: > Ive tried to delete the spaces in 75 and 76 to see if it made a change > but it has not made a difference to it. What made you think that the problem could be fixed by deleting *spaces*? In general, making random changes to code in

Re: Intermediate Python user needed help

2012-08-05 Thread John Mordecai Dildy
On Sunday, August 5, 2012 4:16:13 PM UTC-4, John Mordecai Dildy wrote: > well that work on mac though? > > im asking because i see the Windows NT at the bottom of your reply and plus > im using 2.6 python not 3.3 i see the ) problem i have it fixed -- http://mail.python.org/mailman/listinfo/pyt

Re: Intermediate Python user needed help

2012-08-05 Thread John Mordecai Dildy
well that work on mac though? im asking because i see the Windows NT at the bottom of your reply and plus im using 2.6 python not 3.3 -- http://mail.python.org/mailman/listinfo/python-list

Re: Intermediate Python user needed help

2012-08-05 Thread xDog Walker
On Sunday 2012 August 05 12:51, John Mordecai Dildy wrote: > print "We'd have %d beans, %d jars, and %d crabapples." % > secret_formula(start_pont Add a ) to the end of the line quoted above. -- Yonder nor sorghum stenches shut ladle gulls stopper torque wet strainers. -- http://mail.python.

Re: Intermediate Python user needed help

2012-08-05 Thread Andrew Berg
On 8/5/2012 2:51 PM, John Mordecai Dildy wrote: > print "We'd have %d beans, %d jars, and %d crabapples." % > secret_formula(start_pont > sentence = "All good things come to those who wait." You are missing a parenthesis at the end of the previous line. > .print_first_word(sorted_words) That dot

Re: Intermediate Python user needed help

2012-08-05 Thread John Mordecai Dildy
Ive tried to delete the spaces in 75 and 76 to see if it made a change but it has not made a difference to it. Here is the full code and the thing is i know there is things wrong with it but the thing is im fixing a code for a friend to help him getting with the coding: def break_words(stuff)

Re: [newbie] Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread lipska the kat
On 04/08/12 16:49, Jean Dubois wrote: I'm looking for a good introduction to object oriented programming with Python. Object Oriented programming is a mindset, a way of looking at that particular part of our world that you are trying to encapsulate in computer language. The language you use is

Re: Intermediate Python user needed help

2012-08-05 Thread John Mordecai Dildy
Well 75 and 76 is a blank line of text but i will see if i can take out those lines to see if it is the problem thanks John -- http://mail.python.org/mailman/listinfo/python-list

Re: Intermediate Python user needed help

2012-08-05 Thread John Ladasky
Check line 76 of your code for errors. If line 76 is incorrectly formed, Python may see line 77 as a continuation of line 76 and throw the SyntaxError because of that. -- http://mail.python.org/mailman/listinfo/python-list

Intermediate Python user needed help

2012-08-05 Thread John Mordecai Dildy
I am currently using python 2.6 and am not going to install the newer versions of python and i am looking for people that are still using ver 2.6 in python to help with with the code line: sentence = "All good things come to those who wait." then im getting this error message when i dont see th

Re: [newbie] Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread dncarac
I found Mark Lutz's book Learning Python had two or three chapters on object oriented programming from starting principles to more involved Python object programming. It helped me immensely. -- http://mail.python.org/mailman/listinfo/python-list

Re: Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread Mark Lawrence
On 05/08/2012 19:43, Ifthikhan Nazeem wrote: [top posting fixed] On Sun, Aug 5, 2012 at 8:28 PM, Mark Lawrence wrote: On 05/08/2012 19:04, Jean Dubois wrote: On 5 aug, 02:11, shearich...@gmail.com wrote: One reason you may be having difficulty is that unlike some languages (C++/Java) objec

Re: Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread Ifthikhan Nazeem
I would recommend Bruce Eckel's Thining in Python. Check it out here http://www.mindview.net/Books/TIPython/ On Sun, Aug 5, 2012 at 8:28 PM, Mark Lawrence wrote: > On 05/08/2012 19:04, Jean Dubois wrote: > >> On 5 aug, 02:11, shearich...@gmail.com wrote: >> >>> One reason you may be having diff

Re: Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread Roy Smith
In article <8f1b60a5-0411-4aae-9ee6-0025b493c...@m13g2000vbd.googlegroups.com>, Jean Dubois wrote: > Can someone here on this list give a trivial example of what object > oriented programming is, using only Python? OOP seems to mean different things to different people. What OOP means to you

Re: The way to develope a graphical application to manage a Postgres database

2012-08-05 Thread Csanyi Pal
Mark Lawrence writes: > On 05/08/2012 16:58, Csanyi Pal wrote: >> Walter Hurry writes: >> >>> On Thu, 02 Aug 2012 20:24:36 +0200, Csanyi Pal wrote: >>> I'm searching for a way to develope a Python graphical application for a Postgresql database. >>> >>> I use wxGlade/wxPython to build

Re: Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread Mark Lawrence
On 05/08/2012 19:04, Jean Dubois wrote: On 5 aug, 02:11, shearich...@gmail.com wrote: One reason you may be having difficulty is that unlike some languages (C++/Java) object-orientation is not a be all and end all in Python, in fact you could work with Python for a long time without really 'do

Re: The way to develope a graphical application to manage a Postgres database

2012-08-05 Thread Mark Lawrence
On 05/08/2012 16:58, Csanyi Pal wrote: Walter Hurry writes: On Thu, 02 Aug 2012 20:24:36 +0200, Csanyi Pal wrote: I'm searching for a way to develope a Python graphical application for a Postgresql database. I use wxGlade/wxPython to build the GUI, and then hand code the database access us

Re: Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread Jean Dubois
On 5 aug, 02:11, shearich...@gmail.com wrote: > One reason you may be having difficulty is that unlike some languages > (C++/Java) object-orientation is not a be all and end all in Python, in fact > you could work with Python for a long time without really 'doing it' at all > (well other than ca

Re: conditional running of code portion

2012-08-05 Thread Serhiy Storchaka
On 05.08.12 09:30, Steven D'Aprano wrote: If you are working in a tight loop, you can do this: if VERBOSE_FLAG: for item in loop: print(DEBUG_INFORMATION) do_actual_work(item) else: for item in loop: do_actual_work(item) Or this: if VERBOSE_FLAG: def d

Re: The way to develope a graphical application to manage a Postgres database

2012-08-05 Thread Walter Hurry
On Sun, 05 Aug 2012 17:58:46 +0200, Csanyi Pal wrote: > Well, I tried out many adviced ways but none of them works on my Debian > GNU/Linux testing/sid system. Always get some error in one of the part > of the software. > > Can you give a short tutorial for newbies how to start to develope with >

Re: The way to develope a graphical application to manage a Postgres database

2012-08-05 Thread Csanyi Pal
Walter Hurry writes: > On Thu, 02 Aug 2012 20:24:36 +0200, Csanyi Pal wrote: > >> I'm searching for a way to develope a Python graphical application for a >> Postgresql database. > > I use wxGlade/wxPython to build the GUI, and then hand code the database > access using psycopg2 into the genera

Re: The way to develope a graphical application to manage a Postgres database

2012-08-05 Thread Walter Hurry
On Thu, 02 Aug 2012 20:24:36 +0200, Csanyi Pal wrote: > I'm searching for a way to develope a Python graphical application for a > Postgresql database. I use wxGlade/wxPython to build the GUI, and then hand code the database access using psycopg2 into the generated application. Works very well f

Re: On-topic: alternate Python implementations

2012-08-05 Thread Ben Finney
Mark Lawrence writes: > With arrogance like that German by any chance? Please keep derogatory national stereotypes off this forum and out of our community. They are counter to our goals of diversity http://www.python.org/community/diversity/>; you don't have to subscribe to that, but if not then

Re: On-topic: alternate Python implementations

2012-08-05 Thread Ethan Furman
Mark Lawrence wrote: With arrogance like that German by any chance? Comments like that are not appropriate on this list. Please don't make them. ~Ethan~ -- http://mail.python.org/mailman/listinfo/python-list

Re: dbf.py API question

2012-08-05 Thread Ethan Furman
Ole Martin Bjørndalen wrote: On Thu, Aug 2, 2012 at 5:55 PM, Ethan Furman wrote: SQLite has a neat feature where if you give it a the file-name of ':memory:' the resulting table is in memory and not on disk. I thought it was a cool feature, but expanded it slightly: any name surrounded by colo

Re: Object Models - decoupling data access - good examples ?

2012-08-05 Thread Roy Smith
In article , shearich...@gmail.com wrote: > > Just out of curiosity, why do you eschew ORMs? > > > Good question ! > > I'm not anti-ORM (in fact in many circs I'm quite pro-ORM) but for some time > I've been working with a client who doesn't want ORMs used (they do have > quite good reasons f

Re: Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread Jean Dubois
On 5 aug, 02:11, shearich...@gmail.com wrote: > One reason you may be having difficulty is that unlike some languages > (C++/Java) object-orientation is not a be all and end all in Python, in fact > you could work with Python for a long time without really 'doing it' at all > (well other than ca

Re: On-topic: alternate Python implementations

2012-08-05 Thread Jürgen A . Erhard
On Sun, Aug 05, 2012 at 07:46:59AM +0200, Stefan Behnel wrote: > Jürgen A. Erhard, 05.08.2012 01:25: > > On Sat, Aug 04, 2012 at 08:40:16AM +0200, Stefan Behnel wrote: > >> Steven D'Aprano, 04.08.2012 08:15: > >>> Most people are aware, if only vaguely, of the big Four Python > >>> implementations

Re: The way to develope a graphical application to manage a Postgres database

2012-08-05 Thread Wolfgang Keller
> Can one advices me where to go? There are a number of Python frameworks for GUI database applications: - Dabo (wxPython) - Sqlkit (PyGTK & SQLalchemy) - Pypapi (PyQt & SQLalchemy) - Camelot (PyQt & SQLalchemy) - Qtalchemy (PyQt & SQLalchemy) - Openobject (PyGTK) - Defis (wxPython & SQLalchemy),

Re: On-topic: alternate Python implementations

2012-08-05 Thread Stefan Behnel
Stefan Behnel, 05.08.2012 07:46: > Jürgen A. Erhard, 05.08.2012 01:25: >> None of the other implementations require Python for actually >> compiling or running Python source. > > Nuitka was on the list as well. Oh, and Stackless was also on Steven's list, as well as WPython. That means that 50% o