How to write libreoffice python macros in venv?

2017-01-30 Thread Jim
I have all the necessary libreoffice modules installed in my Mint 18.1 system to allow me to write libreoffice calc macros in python. I now have venv installed. If I try to import uno for a calc macro in it I get an error that there is no uno module. How can I get my venv to find uno and the

Consumer level eye tracking - easy activation of virtual buttons without touchscreen - wxpython for buttons, & AutoIt for macros behind buttons?

2013-11-25 Thread Jeff Kang
(First off, sorry in advance, as I’m not sure if this is the right place to post my inquiry). *Consumer level eye tracking - easy activation of virtual buttons without touchscreen* After using Autohotkey for remapping, I soon didn't have enough keyboard buttons to attach macros and lin

Re: Implementing #define macros similar to C on python

2013-11-16 Thread Mark Lawrence
On 16/11/2013 05:38, JL wrote: On Saturday, November 16, 2013 8:22:25 AM UTC+8, Mark Lawrence wrote: Yes but please don't top post. Actually print is a statement in Python 2 so your code should work if you use from __future__ import print_function at the top of your code. Would you also be kin

Re: Implementing #define macros similar to C on python

2013-11-16 Thread Serhiy Storchaka
15.11.13 06:57, Chris Angelico написав(ла): On Fri, Nov 15, 2013 at 3:10 PM, Roy Smith wrote: Why would you want to? One of the most horrible things about C/C++ is the preprocessor. Hey, that's not fair! Without the preprocessor, how would you be able to do this: //Hide this part away in a

Re: Implementing #define macros similar to C on python

2013-11-15 Thread JL
On Saturday, November 16, 2013 8:22:25 AM UTC+8, Mark Lawrence wrote: > Yes but please don't top post. Actually print is a statement in Python > 2 so your code should work if you use > from __future__ import print_function > at the top of your code. > Would you also be kind enough to read and ac

Re: Implementing #define macros similar to C on python

2013-11-15 Thread Irmen de Jong
On 16-11-2013 0:36, JL wrote: > Thanks! This is the answer which I am seeking. However, I am not able to get > the following line to work. I am using python 2.7.5 > > debug_print = print > > Can we assign a function into a variable in this manner? Yes, functions are just another object. But 'pr

Re: Implementing #define macros similar to C on python

2013-11-15 Thread Mark Lawrence
Angelico wrote: On Fri, Nov 15, 2013 at 1:29 PM, JL wrote: One of my favorite tools in C/C++ language is the preprocessor macros. One example is switching certain print messages for debugging use only #ifdef DEBUG_ENABLE DEBUG_PRINT print #else DEBUG_PRINT Is it

Re: Implementing #define macros similar to C on python

2013-11-15 Thread Terry Reedy
On 11/15/2013 6:36 PM, JL wrote: Thanks! This is the answer which I am seeking. However, I am not able to get the following line to work. I am using python 2.7.5 debug_print = print Start your file with from __future__ import print_function and the above should work. Oh, and please snip stuf

Re: Implementing #define macros similar to C on python

2013-11-15 Thread JL
15, 2013 at 1:29 PM, JL wrote: > > > One of my favorite tools in C/C++ language is the preprocessor macros. > > > > > > One example is switching certain print messages for debugging use only > > > > > > #ifdef DEBUG_ENABLE > > > DEBUG_PRINT

Re: Implementing #define macros similar to C on python

2013-11-15 Thread Irmen de Jong
On 15-11-2013 3:29, JL wrote: > One of my favorite tools in C/C++ language is the preprocessor macros. > > One example is switching certain print messages for debugging use only > > #ifdef DEBUG_ENABLE > DEBUG_PRINT print > #else > DEBUG_PRINT > > Is it possible

Re: Implementing #define macros similar to C on python

2013-11-14 Thread Chris Angelico
On Fri, Nov 15, 2013 at 3:10 PM, Roy Smith wrote: > Why would you want to? One of the most horrible things about C/C++ is > the preprocessor. Hey, that's not fair! Without the preprocessor, how would you be able to do this: //Hide this part away in a header file somewhere struct b0rkb0rk {

Re: Implementing #define macros similar to C on python

2013-11-14 Thread Roy Smith
In article , JL wrote: > One of my favorite tools in C/C++ language is the preprocessor macros. > > One example is switching certain print messages for debugging use only > > #ifdef DEBUG_ENABLE > DEBUG_PRINT print > #else > DEBUG_PRINT > > Is it possible to

Re: Implementing #define macros similar to C on python

2013-11-14 Thread Chris Angelico
On Fri, Nov 15, 2013 at 1:29 PM, JL wrote: > One of my favorite tools in C/C++ language is the preprocessor macros. > > One example is switching certain print messages for debugging use only > > #ifdef DEBUG_ENABLE > DEBUG_PRINT print > #else > DEBUG_PRINT > &g

Re: Implementing #define macros similar to C on python

2013-11-14 Thread Dave Angel
On Thu, 14 Nov 2013 18:29:48 -0800 (PST), JL wrote: One of my favorite tools in C/C++ language is the preprocessor macros. One example is switching certain print messages for debugging use only #ifdef DEBUG_ENABLE DEBUG_PRINT print #else DEBUG_PRINT Is it possible to implement

Implementing #define macros similar to C on python

2013-11-14 Thread JL
One of my favorite tools in C/C++ language is the preprocessor macros. One example is switching certain print messages for debugging use only #ifdef DEBUG_ENABLE DEBUG_PRINT print #else DEBUG_PRINT Is it possible to implement something similar in python? Thank you. -- https://mail.python.org

ANN: MacroPy: bringing Macros to Python

2013-04-23 Thread Haoyi Li
ntly working on implementing destructuring-pattern-matching on objects (i.e. like in Haskell/Scala) and a clone of .NET's LINQ to SQL. It's still very much a work in progress, but we have a list of pretty cool macros already done, which shows off what you can do with it. If anyone else was thin

Messages from Python Macros, always on top?

2009-05-28 Thread John Doe
Anyone here familiar with Messages from Python Macros? Can you make that window Always on Top? Thanks. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python equivalent of Common Lisp Macros?

2008-11-26 Thread dpapathanasiou
On Nov 26, 2:30 pm, "Chris Rebert" <[EMAIL PROTECTED]> wrote: > On Wed, Nov 26, 2008 at 11:13 AM, dpapathanasiou > > <[EMAIL PROTECTED]> wrote: > > I'm using the feedparser library to extract data from rss feed items. > > > After I wrote this function, which returns a list of item titles, I > > not

Re: Python equivalent of Common Lisp Macros?

2008-11-26 Thread J Kenneth King
nction: > > def item_titles (feed_url): > """Return a list of the item titles found in this feed url""" > data = [] > feed = feedparser.parse(feed_url) > if feed: > if len(feed.version) > 0: > for e in fee

Re: Python equivalent of Common Lisp Macros?

2008-11-26 Thread Arnaud Delobelle
dpapathanasiou <[EMAIL PROTECTED]> writes: > I'm using the feedparser library to extract data from rss feed items. > > After I wrote this function, which returns a list of item titles, I > noticed that most item attributes would be retrieved the same way, > i.e., the function would look exactly th

Re: Python equivalent of Common Lisp Macros?

2008-11-26 Thread Diez B. Roggisch
titles found in this feed url""" data = [] feed = feedparser.parse(feed_url) if feed: if len(feed.version) > 0: for e in feed.entries: data.append(e.title.encode('utf-8')) return data No, there are no macros. Y

Re: Python equivalent of Common Lisp Macros?

2008-11-26 Thread Chris Rebert
On Wed, Nov 26, 2008 at 11:13 AM, dpapathanasiou <[EMAIL PROTECTED]> wrote: > I'm using the feedparser library to extract data from rss feed items. > > After I wrote this function, which returns a list of item titles, I > noticed that most item attributes would be retrieved the same way, > i.e., th

Python equivalent of Common Lisp Macros?

2008-11-26 Thread dpapathanasiou
I'm using the feedparser library to extract data from rss feed items. After I wrote this function, which returns a list of item titles, I noticed that most item attributes would be retrieved the same way, i.e., the function would look exactly the same, except for the single data.append line inside

Re: Ooo 3.0 Python user macros

2008-10-17 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, Lawrence D'Oliveiro wrote: > The provided example macros seem to work: under the "Tools -> Macros -> > Organize Macros -> Python..." menu, there is an entry named > "OpenOffice.org Macros", and I can run the macros

Ooo 3.0 Python user macros

2008-10-15 Thread Lawrence D'Oliveiro
Has anyone been able to run user-defined Python macros in OpenOffice.org 3.0? I had one in ~/.ooo-2.0/user/Scripts/python/try.py which did work under Ooo2.x. So I put the same thing in ~/.ooo3/user/Scripts/python/, but it will not show up in any macro dialog in Ooo 3.0. The provided example

Re: WinCvs Macros

2008-08-11 Thread Gabriel Genellina
En Thu, 07 Aug 2008 06:22:31 -0300, Ren ChunYi <[EMAIL PROTECTED]> escribi�: Does anyone here have some doc like WinCVS API? I'm reading WinCvs integrated Macros, but someplace make me puzzle. Better ask those questions in the WinCVS mailing list (or Yahoo gr

WinCvs Macros

2008-08-07 Thread Ren ChunYi
Hi, Does anyone here have some doc like WinCVS API? I'm reading WinCvs integrated Macros, but someplace make me puzzle. And, is there Macro for listing all items with Tag name? Thanks and best regards. Ren Chunyi Control Room and Resource Systems Department BT FRONTLINE (Dalian) Co.

Re: c macros in python.

2007-05-07 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Amaury Forgeot d'Arc <[EMAIL PROTECTED]> wrote: >[EMAIL PROTECTED] a écrit : >> Hey, >> >> I'm writing a script to generate code. I'm a bit tired of typing >> outfile.write(). Does python have a way to

Re: c macros in python.

2007-05-07 Thread A.T.Hofkamp
On 2007-05-06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hey, > > I'm writing a script to generate code. I'm a bit tired of typing > outfile.write(). Does python have a way to c-like macros? Every > instance of o(...) in the code will be replaced by outfil

Re: c macros in python.

2007-05-06 Thread ici
On May 7, 12:01 am, [EMAIL PROTECTED] wrote: > Hey, > > I'm writing a script to generate code. I'm a bit tired of typing > outfile.write(). Does python have a way to c-like macros? Every > instance of o(...) in the code will be replaced by outfile.write(...)? All in Py

Re: c macros in python.

2007-05-06 Thread noagbodjivictor
Great python!!! -- http://mail.python.org/mailman/listinfo/python-list

Re: c macros in python.

2007-05-06 Thread John Machin
On May 7, 7:01 am, [EMAIL PROTECTED] wrote: > Hey, > > I'm writing a script to generate code. I'm a bit tired of typing > outfile.write(). Does python have a way to c-like macros? Every > instance of o(...) in the code will be replaced by outfile.write(...)? Functi

Re: c macros in python.

2007-05-06 Thread Amaury Forgeot d'Arc
[EMAIL PROTECTED] a écrit : > Hey, > > I'm writing a script to generate code. I'm a bit tired of typing > outfile.write(). Does python have a way to c-like macros? Every > instance of o(...) in the code will be replaced by outfile.write(...)? First: Python has no mac

c macros in python.

2007-05-06 Thread noagbodjivictor
Hey, I'm writing a script to generate code. I'm a bit tired of typing outfile.write(). Does python have a way to c-like macros? Every instance of o(...) in the code will be replaced by outfile.write(...)? -- http://mail.python.org/mailman/listinfo/python-list

Re: Lisp-like macros in Python?

2007-05-01 Thread John Nagle
Duane Rettig wrote: > sturlamolden <[EMAIL PROTECTED]> writes: > > >>Hello >> >>The Lisp crowd always brags about their magical macros. I used LISP back when LISP macros were popular. You don't want to go there. It degrades readability without impr

Re: Lisp-like macros in Python?

2007-05-01 Thread Andy Freeman
On May 1, 9:10 am, sturlamolden <[EMAIL PROTECTED]> wrote: > I was > wondering if it is possible to emulate some of the functionality in > Python using a function decorator that evals Python code in the stack > frame of the caller. The macro would then return a Python expression > as a string. Gran

Re: Lisp-like macros in Python?

2007-05-01 Thread Duane Rettig
sturlamolden <[EMAIL PROTECTED]> writes: > Hello > > The Lisp crowd always brags about their magical macros. I was > wondering if it is possible to emulate some of the functionality in > Python using a function decorator that evals Python code in the stack > frame of the

Re: Lisp-like macros in Python?

2007-05-01 Thread Pascal Costanza
Converge is a Python-style language with a macro facility. See http://convergepl.org/ Pascal -- My website: http://p-cos.net Common Lisp Document Repository: http://cdr.eurolisp.org Closer to MOP & ContextL: http://common-lisp.net/project/closer/ -- http://mail.python.org/mailman/listinfo/pyth

Re: Lisp-like macros in Python?

2007-05-01 Thread Chris Russell
On May 1, 5:10 pm, sturlamolden <[EMAIL PROTECTED]> wrote: > Hello > > The Lisp crowd always brags about their magical macros. I was > wondering if it is possible to emulate some of the functionality in > Python using a function decorator that evals Python code in the stack

Lisp-like macros in Python?

2007-05-01 Thread sturlamolden
Hello The Lisp crowd always brags about their magical macros. I was wondering if it is possible to emulate some of the functionality in Python using a function decorator that evals Python code in the stack frame of the caller. The macro would then return a Python expression as a string. Granted

Re: Win32 python and excel macros

2006-10-18 Thread John Coleman
Mike P wrote: > After just running trying that update it hits the macro perfectly but > hten i get an error message after i type in a couple of values.. as per > below > > Traceback (most recent call last): > File "", line 148, in ? > File ">", line 14, in Run > File "C:\Python24\Lib\site-pa

Re: Win32 python and excel macros

2006-10-18 Thread Mike P
After just running trying that update it hits the macro perfectly but hten i get an error message after i type in a couple of values.. as per below Traceback (most recent call last): File "", line 148, in ? File ">", line 14, in Run File "C:\Python24\Lib\site-packages\win32com\client\dynamic

Re: Win32 python and excel macros

2006-10-18 Thread Mike P
Thanks for your advice on this matter, I'm actually using Excel 2003!! so it shows how much i know! i did manage to get the prog to run with the line xl.Application.Run("CTP.xla!sheet1.CTP") but it didn't do anything... i'm guessing it is along the lines of wht you were saying earlier about big

Re: Win32 python and excel macros

2006-10-18 Thread John Coleman
[EMAIL PROTECTED] wrote: > Hi Experts, > > Looking for a very quick bit on of advice on how to make some python > code run. I'm a newbie to both VBA and Python, so i apologise if this > is very easy but i'm about to tear my hair out after googling for the > last 3 days. > > I have written a large

Win32 python and excel macros

2006-10-18 Thread michael . pearmain
Hi Experts, Looking for a very quick bit on of advice on how to make some python code run. I'm a newbie to both VBA and Python, so i apologise if this is very easy but i'm about to tear my hair out after googling for the last 3 days. I have written a large python script which inside of it create

Re: Python crash when trying to generate an Excel worksheet with VBA macros

2006-10-04 Thread John Machin
e to > edit some formulas and to generate an Excel worksheet with VBA macros > within it. The script runs perfectlly in Office 2000, but in Office > 2003 crash at line: "wbc = workbook.VBProject.VBComponents.Add(1)" > Please help me :-( Please consider helping yourself: (1) S

Re: Python crash when trying to generate an Excel worksheet with VBA macros

2006-10-04 Thread Brian
dan_roman wrote: > Hi, > I developed a script with a nice interface in Tkinter that allows me to > edit some formulas and to generate an Excel worksheet with VBA macros > within it. The script runs perfectlly in Office 2000, but in Office > 2003 cras

Re: Python crash when trying to generate an Excel worksheet with VBA macros

2006-10-04 Thread hg
dan_roman wrote: > Hi, > I developed a script with a nice interface in Tkinter that allows me to > edit some formulas and to generate an Excel worksheet with VBA macros > within it. The script runs perfectlly in Office 2000, but in Office > 2003 cras

Python crash when trying to generate an Excel worksheet with VBA macros

2006-10-04 Thread dan_roman
Hi, I developed a script with a nice interface in Tkinter that allows me to edit some formulas and to generate an Excel worksheet with VBA macros within it. The script runs perfectlly in Office 2000, but in Office 2003 crash at line: "wbc = workbook.VBProject.VBComponents.Add(1)" Plea

Re: the perens in lisp dilects is there for a reson... macros.

2006-08-05 Thread Terry Reedy
<[EMAIL PROTECTED]> wrote in message I presume you accidentally misdirected this to the wrong newsgroup. Otherwise, it would be off-topic spam. In any case, you should learn how to spell or use a spell-checker. -- http://mail.python.org/mailman/listinfo/python-list

the perens in lisp dilects is there for a reson... macros.

2006-08-04 Thread atbusbook
macros are sort of like c macros but more powerful. they are the manafestation of treating code like data. lisp code is just a textual representation of a data structure that is the list. this means that you can manipulate code to emulate structured controll constructs and elemanate boilerplate

Macros in Python? (was Re: Python or Java or maybe PHP?)

2006-01-03 Thread Aahz
especially when many >>>prominent Python devs seem to be well aware of Lisp where macros are >>>done right. >> >> You have confused "many Python devs" with Guido. ;-) Guido hates >> macros. > >I vaguelly recall hearing that Guido thought about addi

Re: Hygenic Macros

2005-10-18 Thread David Pokorny
compiler... David Robert Kern wrote: > David Pokorny wrote: > >>Hi, >> >>Just wondering if anyone has considered macros for Python. I have one >>good use case. In "R", the statistical programming language, you can >>multiply matrices with A %*% B (

Re: Hygenic Macros

2005-10-18 Thread Steven D'Aprano
On Tue, 18 Oct 2005 13:42:21 -0700, Robert Kern wrote: > Steven D'Aprano wrote: >> On Mon, 17 Oct 2005 22:23:43 -0700, David Pokorny wrote: >> >>>Hi, >>> >>>Just wondering if anyone has considered macros for Python. I have one >>>good use

Re: Hygenic Macros

2005-10-18 Thread Robert Kern
Steven D'Aprano wrote: > On Mon, 17 Oct 2005 22:23:43 -0700, David Pokorny wrote: > >>Hi, >> >>Just wondering if anyone has considered macros for Python. I have one >>good use case. In "R", the statistical programming language, you can >>

Re: Hygenic Macros

2005-10-18 Thread Steven D'Aprano
On Mon, 17 Oct 2005 22:23:43 -0700, David Pokorny wrote: > Hi, > > Just wondering if anyone has considered macros for Python. I have one > good use case. In "R", the statistical programming language, you can > multiply matrices with A %*% B (A*B corresponds to pointwi

Re: Hygenic Macros

2005-10-18 Thread Alex Stapleton
re readable. I would like "A dot B", >> but even using ipython >> I can only get as close as "dot A, B" >> >> >> >>>>> Dan Farina <[EMAIL PROTECTED]> 10/18/05 1:33 pm >>> >>>>> >>>>> >> David

Re: Hygenic Macros

2005-10-18 Thread Alex Stapleton
; but even using ipython > I can only get as close as "dot A, B" > > >>>> Dan Farina <[EMAIL PROTECTED]> 10/18/05 1:33 pm >>> >>>> > David Pokorny wrote: > >> Hi, >> >> Just wondering if anyone has considered macr

Re: Hygenic Macros

2005-10-18 Thread Adriaan Renting
ot;, but even using ipython I can only get as close as "dot A, B" >>>Dan Farina <[EMAIL PROTECTED]> 10/18/05 1:33 pm >>> David Pokorny wrote: >Hi, > >Just wondering if anyone has considered macros for Python. I have one >good use case. In "R

Re: Hygenic Macros

2005-10-18 Thread Dan Farina
David Pokorny wrote: > Hi, > > Just wondering if anyone has considered macros for Python. I have one > good use case. In "R", the statistical programming language, you can > multiply matrices with A %*% B (A*B corresponds to pointwise > multiplication). In Python

Re: Hygenic Macros

2005-10-17 Thread Robert Kern
David Pokorny wrote: > Hi, > > Just wondering if anyone has considered macros for Python. I have one > good use case. In "R", the statistical programming language, you can > multiply matrices with A %*% B (A*B corresponds to pointwise > multiplication). In Python

Hygenic Macros

2005-10-17 Thread David Pokorny
Hi, Just wondering if anyone has considered macros for Python. I have one good use case. In "R", the statistical programming language, you can multiply matrices with A %*% B (A*B corresponds to pointwise multiplication). In Python, I have to type import Numeric matrixmultiply(A

Re: Lisp development with macros faster than Python development?..

2005-07-11 Thread Thomas Bartkus
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > Well, his Viaweb company was founded in about '95, right? So he probably just > > used Lisp because Python wasn't as well known yet. ;-) > > David > > That is what I thought too. It makes sense but I wasn't sure. Still > ain't. > T

Re: Lisp development with macros faster than Python development?..

2005-07-09 Thread Kirk Job Sluder
"Kay Schluehr" <[EMAIL PROTECTED]> writes: > Kirk Job Sluder schrieb: > > In what way do lisp macros prevent the creation of modular libraries? > > Common Lisp does does have mechanisms for library namespaces, and in > > practice a macro contained within

Re: Lisp development with macros faster than Python development?..

2005-07-09 Thread Kay Schluehr
order of the language and an application should be > > somehow fixed to enable those. > > In what way do lisp macros prevent the creation of modular libraries? > Common Lisp does does have mechanisms for library namespaces, and in > practice a macro contained within a library is n

Re: Lisp development with macros faster than Python development?..

2005-07-08 Thread Kirk Job Sluder
t; somehow fixed to enable those. In what way do lisp macros prevent the creation of modular libraries? Common Lisp does does have mechanisms for library namespaces, and in practice a macro contained within a library is not that much different from a function contained in a library or a clas

Re: Lisp development with macros faster than Python development?..

2005-07-08 Thread Kay Schluehr
[EMAIL PROTECTED] schrieb: > I've been reading the beloved Paul Graham's "Hackers and Painters". > He claims he developed a web app at light speed using Lisp and lots > of macros. Yes, Paul is a postmodern hero who reininvents himself and his language eve

Re: Lisp development with macros faster than Python development?..

2005-07-07 Thread Mike Meyer
"Antoon Pardon" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'll clarify. A lot of the time I hear arguments against > features that boils down to. It seems that you've lost some of the intent during the boiling. > 1) I don't need it. Is that what you get out of the oft-used "

Re: Lisp development with macros faster than Python development?..

2005-07-07 Thread jayessay
"Terry Reedy" <[EMAIL PROTECTED]> writes: > "jayessay" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > 1. Someone recently remarked that good Lisp macros are basically > > executable pseudo code. I think that is pretty mu

Re: Lisp development with macros faster than Python development?..

2005-07-07 Thread Robert Kern
Terry Reedy wrote: > "jayessay" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > >>1. Someone recently remarked that good Lisp macros are basically >> executable pseudo code. I think that is pretty much exactly right >> and is a prett

Re: Lisp development with macros faster than Python development?..

2005-07-07 Thread Terry Reedy
"Antoon Pardon" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'll clarify. A lot of the time I hear arguments against > features that boils down to. > > 1) I don't need it. > > 2) Having the feature will make my job more difficult. > > 3) I don't understand the merrits of the fea

Re: Lisp development with macros faster than Python development?..

2005-07-07 Thread Terry Reedy
"jayessay" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 1. Someone recently remarked that good Lisp macros are basically > executable pseudo code. I think that is pretty much exactly right > and is a pretty good "sound bite" disti

Re: Lisp development with macros faster than Python development?..

2005-07-07 Thread Antoon Pardon
Op 2005-07-07, Philippe C. Martin schreef <[EMAIL PROTECTED]>: > > > Almost sounds like a racist comment - sorry if I misunderstood I'll clarify. A lot of the time I hear arguments against features that boils down to. 1) I don't need it. 2) Having the feature will make my job more difficul

Re: Lisp development with macros faster than Python development?..

2005-07-06 Thread Philippe C. Martin
Almost sounds like a racist comment - sorry if I misunderstood Antoon Pardon wrote: > Op 2005-07-06, Michele Simionato schreef <[EMAIL PROTECTED]>: >> Fuzzyman: >>> So Lisp is for really good programmers, and Python is for >>> mediocre programmers ? >> >> >> Python is *also* for mediocre p

Re: Lisp development with macros faster than Python development?..

2005-07-06 Thread Gregory Bond
Rocco Moretti wrote: > Actually, Google's answer to that question is something called "ILOG > CPLEX", We use this. It's a library / command line tool (not a language) for doing optimization - linear programming, quadratic programming, mixed-integer programming etc. Very cool and very, very

Re: Lisp development with macros faster than Python development?..

2005-07-06 Thread Rahul
) 5.functions and types as first class objects 6.interactive development. The differences: 1.Macros : Macros are extremely powerful and a double edges sword. Dont believe anyone (whether they praise them or abhor them). Go and learn them and decide for yourself. 2.Readability : Python is generally

Re: Lisp development with macros faster than Python development?..

2005-07-06 Thread Scott David Daniels
François Pinard wrote: > My feeling at the time was that Scheme is a very fast language to write > into, and in which one can implement new concepts cleanly and compactly. > Maybe Python is a bit slower to write, but this is compensated by the > fact Python is more legible when it comes to later ma

Re: Lisp development with macros faster than Python development?..

2005-07-06 Thread jayessay
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > I've been reading the beloved Paul Graham's "Hackers and Painters". > He claims he developed a web app at light speed using Lisp and lots > of macros. That was the original "yahoo store"

Re: Lisp development with macros faster than Python development?..

2005-07-06 Thread Dan Sommers
On Wed, 06 Jul 2005 08:27:55 -0500, Larry Bates <[EMAIL PROTECTED]> wrote: [ reusable, stable, debugged, and documented libraries are a Good Thing ] Absolutely. Two related stories from my days working as a software engineer for a large telecomm company. Both stories begin with the annual r

Re: Lisp development with macros faster than Python development?..

2005-07-06 Thread Rocco Moretti
Raymond Hettinger wrote: > [EMAIL PROTECTED] wrote: > >>The problem is that questions like 'What lang is fastest to develop >>in?' >>are hard to answer definitively. > > > FWIW, Google's answer to that question is C++, Java, and Python. For > any given problem, any of the three are acceptable.

Re: Lisp development with macros faster than Python development?..

2005-07-06 Thread François Pinard
[Raymond Hettinger] > [EMAIL PROTECTED] wrote: > > > It got me curious if Lisp is inherently faster to develop complex > > apps in. > With Lisp or Forth, a master programmer has unlimited power and > expressiveness. With Python, even a regular guy can reach for the > stars. A few years ago, I m

Re: Lisp development with macros faster than Python development?..

2005-07-06 Thread Peter Hansen
Tom Anderson wrote: > Perhaps the real question, then, is which language allows you to delete > lines of code most quickly. No, then the question becomes "which language allows you to quickly write very many lines of code which then have to be deleted". Of course, writing those lines manually w

Re: Lisp development with macros faster than Python development?..

2005-07-06 Thread Tom Anderson
On Tue, 5 Jul 2005, Mike Meyer wrote: > "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > >>> Well, his Viaweb company was founded in about '95, right? So he >>> probably just used Lisp because Python wasn't as well known yet. ;-) >> >> That is what I thought too. It makes sense but I wasn't sur

Re: Lisp development with macros faster than Python development?..

2005-07-06 Thread Zachery Bir
Larry Bates <[EMAIL PROTECTED]> writes: > You don't say how long it took to develop the "macros" but > you should see what kind of website an experienced Zope/Plone > programmer can whip up in a few minutes. Zope/Plone (as frameworks) represent exactly the kinds of

Re: Lisp development with macros faster than Python development?..

2005-07-06 Thread Larry Bates
You don't say how long it took to develop the "macros" but you should see what kind of website an experienced Zope/Plone programmer can whip up in a few minutes. Acceleration in programming has always been about the "Standard Library" (not only Python's standard

Re: Lisp development with macros faster than Python development?..

2005-07-06 Thread Antoon Pardon
Op 2005-07-06, Michele Simionato schreef <[EMAIL PROTECTED]>: > Fuzzyman: >> So Lisp is for really good programmers, and Python is for >> mediocre programmers ? > > > Python is *also* for mediocre programmers. I see this as a > strength, not as a weakness. But sometimes I get the impression people

Re: Lisp development with macros faster than Python development?..

2005-07-06 Thread Fuzzyman
Fair enough ;-) I'd like to discover the power of Lisp, but I have a limited amount of time to sink into programming... so maybe I'm better off putting my energies and imagination into Python. *A language is a medium of expression.* - Paul Graham All the best. Fuzzy http://www.voidspace.org.uk/

Re: Lisp development with macros faster than Python development?..

2005-07-06 Thread Andrew Durdin
On 6 Jul 2005 00:30:34 -0700, Raymond Hettinger <[EMAIL PROTECTED]> wrote: > > With Lisp or Forth, a master programmer has unlimited power and > expressiveness. With Python, even a regular guy can reach for the > stars. +1 QOTW -- http://mail.python.org/mailman/listinfo/python-list

Re: Lisp development with macros faster than Python development?..

2005-07-06 Thread Michele Simionato
Fuzzyman: > So Lisp is for really good programmers, and Python is for > mediocre programmers ? Python is *also* for mediocre programmers. I see this as a strength, not as a weakness. Michele Simionato -- http://mail.python.org/mailman/listinfo/python-list

Re: Lisp development with macros faster than Python development?..

2005-07-06 Thread Fuzzyman
So Lisp is for really good programmers, and Python is for mediocre programmers ? Best Regards, Fuzzy http://www.voidspace.org.uk/python -- http://mail.python.org/mailman/listinfo/python-list

Re: Lisp development with macros faster than Python development?..

2005-07-06 Thread Raymond Hettinger
[EMAIL PROTECTED] wrote: > The problem is that questions like 'What lang is fastest to develop > in?' > are hard to answer definitively. FWIW, Google's answer to that question is C++, Java, and Python. For any given problem, any of the three are acceptable. Each programmer or engineering team ge

Re: Lisp development with macros faster than Python development?..

2005-07-06 Thread Raymond Hettinger
[EMAIL PROTECTED] wrote: > I've been reading the beloved Paul Graham's "Hackers and Painters". > He claims he developed a web app at light speed using Lisp and lots > of macros. > > It got me curious if Lisp > is inherently faster to develop complex a

Re: Lisp development with macros faster than Python development?..

2005-07-05 Thread Mike Meyer
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: >> Well, his Viaweb company was founded in about '95, right? So he probably just >> used Lisp because Python wasn't as well known yet. ;-) > > David > > That is what I thought too. It makes sense but I wasn't sure. Still > ain't. > The problem is t

Re: Lisp development with macros faster than Python development?..

2005-07-05 Thread Kirk Job Sluder
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > I've been reading the beloved Paul Graham's "Hackers and Painters". > He claims he developed a web app at light speed using Lisp and lots > of macros. > > It got me curious if Lisp > is inhere

Re: Lisp development with macros faster than Python development?..

2005-07-05 Thread Peter Hansen
[EMAIL PROTECTED] wrote: > The problem is that questions like 'What lang is fastest to develop > in?' are hard to answer definitively. That's because the answer depends on lots of context such what is the problem domain and who is the programmer. Really, it's an impossible question to answer.

Re: Lisp development with macros faster than Python development?..

2005-07-05 Thread [EMAIL PROTECTED]
> Well, his Viaweb company was founded in about '95, right? So he probably just > used Lisp because Python wasn't as well known yet. ;-) David That is what I thought too. It makes sense but I wasn't sure. Still ain't. The problem is that questions like 'What lang is fastest to develop in?' are

Re: Lisp development with macros faster than Python development?..

2005-07-05 Thread Dave Brueck
[EMAIL PROTECTED] wrote: > I've been reading the beloved Paul Graham's "Hackers and Painters". > He claims he developed a web app at light speed using Lisp and lots > of macros. > > It got me curious if Lisp > is inherently faster to develop complex apps in

Re: Lisp development with macros faster than Python development?..

2005-07-05 Thread Joost Jacob
Very hard to say. LISP has OOP too, Google for CLOS. Operator overloading is something to avoid anyway, IMHO, just like static typing is something to avoid if you need fast development, on schedule and the like. LISP has one thing that Python does not have: LISP code is LISP data. A thorough stu

Re: Lisp development with macros faster than Python development?..

2005-07-05 Thread Benjamin Niemann
[EMAIL PROTECTED] wrote: > I've been reading the beloved Paul Graham's "Hackers and Painters". > He claims he developed a web app at light speed using Lisp and lots > of macros. > > It got me curious if Lisp > is inherently faster to develop complex apps in

Lisp development with macros faster than Python development?..

2005-07-05 Thread [EMAIL PROTECTED]
I've been reading the beloved Paul Graham's "Hackers and Painters". He claims he developed a web app at light speed using Lisp and lots of macros. It got me curious if Lisp is inherently faster to develop complex apps in. It would seem if you could create your own language

  1   2   >