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 c-like macros? Every
>> instance of o(...) in the code will
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 outfile.write(...)?
Just in case you do
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 Python is pointer to object,
Great python!!!
--
http://mail.python.org/mailman/listinfo/python-list
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(...)?
Functions and methods are first-cla
[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 macro facility.
But in this
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