Re: PEP 314 - requirements for Python itself

2006-06-23 Thread Serge Orlov
On 6/23/06, Mark Nottingham <[EMAIL PROTECTED]> wrote: > I was looking for some normal (hopefully, machine-readable) way to > indicate it so that people can figure out the version of Python > required before they download the package. I'm sure writing English text like "make sure you have python 2

Fwd: PEP 314 - requirements for Python itself

2006-06-23 Thread Mark Nottingham
I was thinking more about things where people can search for packages that need different versions of python, etc.; not so much for automation. On 2006/06/23, at 6:05 PM, Serge Orlov wrote: > On 6/23/06, Mark Nottingham <[EMAIL PROTECTED]> wrote: >> I was looking for some normal (hopefully, m

Re: What is Expressiveness in a Computer Language

2006-06-23 Thread Darren New
Dr.Ruud wrote: > You can write self-modifying code in C, No, by violating the standards and invoking undefined behavior, you can write self-modifying code. I wouldn't say you're still "in C" any more, tho. -- Darren New / San Diego, CA, USA (PST) Native Americans used every part of

Re: Python to PHP Login System (HTTP Post)

2006-06-23 Thread John J. Lee
[EMAIL PROTECTED] writes: > On 22 Jun 2006 16:19:50 -0700, "Justin Azoff" > <[EMAIL PROTECTED]> wrote: > > >Jeethu Rao wrote: > >> You need to use httplib. > >> http://docs.python.org/lib/httplib-examples.html > >> > >> Jeethu Rao > > > >Not at all. They need to read the documentation for urrli

Re: What is Expressiveness in a Computer Language

2006-06-23 Thread David Hopwood
Anton van Straaten wrote: > Andreas Rossberg wrote: >> Rob Warnock wrote: >> >>> http://www.schemers.org/Documents/Standards/R5RS/HTML/r5rs-Z-H-4.html >>> 1.1 Semantics >>> ... >>> Scheme has latent as opposed to manifest types. Types are assoc- >>> iated with values (also called o

Re: python + postgres psql + os.popen

2006-06-23 Thread damacy
hi, there. thanks for the help. now i have a different problem now. i decided to use 'subprocess' and 'Popen' objects instead of 'os.popen()' function, which i believe do not make much difference. my code is like the following... [1] link = subprocess.Popen(command, stdin = subprocess.PIPE, stdo

Re: python + postgres psql + os.popen

2006-06-23 Thread damacy
hi, there. thanks for the help. now i have a different problem now. i decided to use 'subprocess' and 'Popen' objects instead of 'os.popen()' function, which i believe do not make much difference. my code is like the following... [1] link = subprocess.Popen(command, stdin = subprocess.PIPE, stdo

Re: PEP 314 - requirements for Python itself

2006-06-23 Thread Serge Orlov
On 6/23/06, Mark Nottingham <[EMAIL PROTECTED]> wrote: > I was thinking more about things where people can search for packages > that need different versions of python, etc.; not so much for > automation. OK, now I see why you need it. I'm sure using virtual package name "python" to declare python

Re: What is Expressiveness in a Computer Language

2006-06-23 Thread Marshall
Dr.Ruud wrote: > Marshall schreef: > > Rob Thorpe: > > >> Can I make a type in C that can only have values between 1 and 10? > >> How about a variable that can only hold odd numbers, or, to make it > >> more difficult, say fibonacci numbers? > > > > Well, of course you can't in *C*; you can barely

Re: Trouble including Python.h

2006-06-23 Thread John Machin
On 24/06/2006 7:51 AM, Marcelo Gosling wrote: > Hi, everyone. > > This is on WinXP SP2, with Python 2.4.3 and DJGPP gcc 4.1.0. > > I'm having trouble including Python.h in a C file. The following C > code: > > #include "Python.h" > > int main() > { > return 0; > } > > when compiled with "g

module docstring, documentation, anything? please note is the module type/object NOT some module

2006-06-23 Thread Jorge Vargas
Hi everyone I have wasted 2 hours trying to figure out how to get a reference to the module object. that is the one returned by __import__ or when you call a module for name like >>> import sys>>> sys the reason I want this is that I want to introspec my module so I need some way to indentify what

Re: What is Expressiveness in a Computer Language

2006-06-23 Thread Chris Smith
I thought about this in the context of reading Anton's latest post to me, but I'm just throwing out an idea. It's certainly too fuzzy in my mind at the moment to consider it in any way developed. I'm sure it's just as problematic, if not more so, as any existing accounts of dynamic types. He

Re: Trouble including Python.h

2006-06-23 Thread John Machin
On 24/06/2006 12:14 PM, John Machin wrote: > On 24/06/2006 7:51 AM, Marcelo Gosling wrote: >> I'm having trouble including Python.h in a C file. The following C >> code: >> In file included from ../../Python2.4/include/Python.h:74, >> from example_wrap.c:112: > > 1. You allegedly

Re: module docstring, documentation, anything? please note is the module type/object NOT some module

2006-06-23 Thread Jorge Vargas
On 6/23/06, Jorge Vargas <[EMAIL PROTECTED]> wrote: Hi everyone I have wasted 2 hours trying to figure out how to get a reference to the module object. that is the one returned by __import__ or when you call a module for name like >>> import sys >>> sys the reason I want this is that I want to int

Re: What is Expressiveness in a Computer Language

2006-06-23 Thread Chris Smith
Marshall <[EMAIL PROTECTED]> wrote: > I stand corrected: if one is using C and writing self-modifying > code, then one *can* zip one's pants. I believe you'd need quite the creative USB-based or similar peripheral device, as well. -- Chris Smith - Lead Software Developer / Technical Trainer Min

tkinter modifying multiple widgets with one scrollbar

2006-06-23 Thread spohle
hi how can i modify multiple widgets with one scrollbar ? thanks in advance sven -- http://mail.python.org/mailman/listinfo/python-list

Re: Trouble including Python.h

2006-06-23 Thread Tim Roberts
"Marcelo Gosling" <[EMAIL PROTECTED]> wrote: > >Hi, everyone. > >This is on WinXP SP2, with Python 2.4.3 and DJGPP gcc 4.1.0. > >I'm having trouble including Python.h in a C file. The following C >code: > >#include "Python.h" > >int main() >{ >return 0; >} > >when compiled with "gcc -I..\Python

Re: Python on intel osx

2006-06-23 Thread Alex Martelli
John Lockwood <[EMAIL PROTECTED]> wrote: > Can someone please suggest the most suitable python for mac osx 10.4.6 > Finding the right installs doesn't seem quite as cut and dried as it is for > linux or windows. -

<    1   2   3