The Rise of “Static” versus “Instance” variables
In a normal programing language, variables inside functions are used by
the function, called local variables.
In OOP paradigm, as we've seen, super-subroutines (classes) are
assigned to variables (instantiation), and the inner-subroutines
(methods)
Travers Naran wrote:
> John Machin wrote:
>
>> 3. If you want to roll your own, start with Gonzalo Navarro's
>> publications: http://www.dcc.uchile.cl/~gnavarro/subj-multiple.html
>
>
> I don't suffer from NMH syndrome. If ahocorasick does the job, or even
> count, I'm OK with that.
Do you m
John Machin wrote:
> Are you comparing BMH implemented in Python with str.count() implemented
> in C?
Tee-hee. Yes. I figured out that was the problem pretty quickly and just
went back to count().
> 1. A pure Python suggestion:
>
> Presuming there is a character SEP that cannot appear in the
Quoth Laszlo Zsolt Nagy <[EMAIL PROTECTED]>:
| I need to create a daemon that sits on a server and forwards some
| e-mails. (Well not only that, it needs to change header information
| before forwarding and also insert messages into a database). The mailbox
| module is fine but I do not see a wa
David Legault wrote:
> Hi Jeff thanx for the reply
>
> I'm a complete noob when it comes to Linux and trying to learn how to manage
> the compilation process of the same objects that work on windows.
>
> The complete linking line is this.
>
> --
>
> all: main
>
> main: utm.o ut
i have not find the ComboBox in Tkinter,has it? where to get the doc about
how to use combobox ctrl?
--
http://mail.python.org/mailman/listinfo/python-list
Travers Naran wrote:
> Here's the basic idea. I have a dictionary of substrings (the
> substrings stored as keys). I have a list of strings. I want to find
> out, for each word in the dictionary, how many times the substring
> occurs non-overlapping occurrences there are in the list of string
Travers Naran wrote:
> Here's the basic idea. I have a dictionary of substrings (the substrings
> stored as keys). I have a list of strings. I want to find out, for each
> word in the dictionary, how many times the substring occurs non-overlapping
> occurrences there are in the list of string
Here's the basic idea. I have a dictionary of substrings (the substrings
stored as keys). I have a list of strings. I want to find out, for each
word in the dictionary, how many times the substring occurs non-overlapping
occurrences there are in the list of strings. This is the best I could
Thomas G. Marshall wrote:
> > I am not familiar with modern Fortran. Surely it at least has argument
> > prototyping by now?
Since the 1990 standard, if Fortran subroutines and functions are
placed in MODULEs, or if INTERFACEs are provided, the compiler checks
that procedures are called with the
Wibble <[EMAIL PROTECTED]> writes:
> Andreas, your link indicates that lisp is a Weakly typed language not
> strong. Theres no compile time type semantics, at least in CommonLisp,
> MacLisp, ZetaLisp or FranzLisp.
There are runtime semantics that enforce types.
> From your link:
>When the t
Thats how common lisp specifies a vector.
Andreas, your link indicates that lisp is a Weakly typed language not
strong. Theres no compile time type semantics, at least in CommonLisp,
MacLisp, ZetaLisp or FranzLisp.
(setq foo #(1 2 3))
(setq foo 1)
(setq foo "Whatever")
Theres no type associate
[EMAIL PROTECTED] (yamadora1999) wrote in message news:<[EMAIL PROTECTED]>...
> How to use protocols.msn.FileSend and FileReceive?
> Please show me a example.
I am very sorry. :)
--
http://mail.python.org/mailman/listinfo/python-list
Hi Anthony,
count me in...
Cheers
Maurice
Anthony wrote:
> Hi all,
>
> I'm interested in starting a Python user group in Melbourne,
> Australia. So far there seems to have been a lot of interest from
> various parties, but for whatever reasons it's fizzled out. So I've
> decided that if there's
Peter Dembinski <[EMAIL PROTECTED]> writes:
> "Sateesh" <[EMAIL PROTECTED]> writes:
>
>> Hi,
>> Is it possible to access Lotus notes using Python? Can anyone
>> provide me some pointers?
>
> jython + LN Java bindings may be usable
Yes. I do this all the time.
--
Dan Poirier -- Email: my last n
Hello All,
I would like to get the index of the character closest to the pointer in a
Text, something like Canvas.find_closest(). I want it to bind to ''.
Does anybody know how this might be done?
Thank you,
James
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los A
In comp.lang.c [EMAIL PROTECTED] wrote:
|
| THE MOST IMPORTANT QUESTION OF YOUR LIFE
|
| This is the most important question of your life.
|
| The question is: Are you saved?
^X^S
I am now :-)
--
-
| Phil Howard KA9W
Paul Rubin wrote:
>>>lines = file("myfile","r").readlines()
>
> It's released even if the exception is raised inside readlines?
I think so, but only because readlines is a builtin function.
If it wasn't, there would be a stack frame for readlines, which
would have "self" as a local variable.
As
bc wrote:
> Thanks for the reply, Will... I have been to the site, but I get a "URL
> not found error" when I try the pygame 1.6 for python24 link; I guess
> I will just keep trying until the HTML is fixed.
>
Does seem to be broken at the moment. I've uploaded a copy to my server..
http://www.w
Dieter Maurer wrote:
> The comparison between warm start (few disc io) and cold start
> (much disc io) tells you that the import process is highly
> io dominated (for cold starts).
Correct. However, I would expect that the contents of existing
directories is cached, and it might be that the absenc
Claudio Grondi wrote:
> Note: code below is intended to help to clarify things only,
> so that a bunch of examples can be tested.
> If you need bugfree production quality code, maybe
> someone else can provide it.
Still not tested enough to ensure that it's bug free, but more
concise. Here's one
Gary Wilson Jr wrote:
> I would like my application to be able to authenticate through PAM. Is
> there any code out there that implements this? All I could find was PyPAM
> (http://www.pangalactic.org/PyPAM/), which doesn't look like it has been
> touched in almost 6 years and requires python1.5.
>
Thanks for the reply, Will... I have been to the site, but I get a "URL
not found error" when I try the pygame 1.6 for python24 link; I guess
I will just keep trying until the HTML is fixed.
--
http://mail.python.org/mailman/listinfo/python-list
In comp.os.linux.advocacy, [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
wrote
on 24 May 2005 07:48:47 -0700
<[EMAIL PROTECTED]>:
>
> THE MOST IMPORTANT QUESTION OF YOUR LIFE
>
> This is the most important question of your life.
>
> The question is: Are you saved?
I'm tempted to ask if you're *shaved* (I
I would like my application to be able to authenticate through PAM. Is
there any code out there that implements this? All I could find was PyPAM
(http://www.pangalactic.org/PyPAM/), which doesn't look like it has been
touched in almost 6 years and requires python1.5.
--
http://mail.python.org/mai
"Martin v. Löwis" <[EMAIL PROTECTED]> writes on Sun, 22 May 2005 21:24:41 +0200:
> ...
> What do you mean, "unable to"? It just doesn't.
The original question was: "why does Python put non-existing
entries on 'sys.path'".
Your answer seems to be: "it just does not do it -- but it might
be changed
Steve Holden <[EMAIL PROTECTED]> writes on Sun, 22 May 2005 16:19:10 -0400:
> ...
> Indeed I have written PEP 302-based code to import from a relational
> database, but I still don't believe there's any satisfactory way to
> have [such a hooked import mechanism] be a first-class component of an
> a
Hi Jeff thanx for the reply
I'm a complete noob when it comes to Linux and trying to learn how to manage
the compilation process of the same objects that work on windows.
The complete linking line is this.
--
all: main
main: utm.o utmmodule.o
$(CC) $(CFLAGS) -shared -fPIC -
Dieter Maurer wrote:
> Could you elaborate a bit?
>
> Large peak memory use means that the application got a large
> address space. What garantees that the residual memory use
> (after the peak) is compact and not evenly spread across
> the address space.
nothing guarantees that, of course. but
In article <[EMAIL PROTECTED]>,
Rocco Moretti <[EMAIL PROTECTED]> wrote:
>Simon Brunning wrote:
>> QOTW: "If you're sick of answering newbie questions, and don't think you
>> can do so politely, for the sake of the community, DON'T! You're not that
>> necessary." - Joal Heagney
>
>Taken out of co
"Fredrik Lundh" <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> "rzed" <[EMAIL PROTECTED]> wrote:
>
>> > if you have 1.1.5, you can use the width option to control
>> > the line width. see:
>>
>> I'm glad to see that addition. I was surprised to see that
>> 'width' is actually doubled in
"Martin v. Löwis" <[EMAIL PROTECTED]> writes:
> > lines = file("myfile","r").readlines()
> >
> > have any better guarantee of being closed automatically?
>
> Yes. The file object only lives on the evaluation stack,
> and that is discarded in any case when the function terminates
> (whether throu
bc wrote:
> Hi All,
>
> Does anyone have any info concerning the windows pygame 1.6 for
> python2.4? It doesn't seem to be available yet. Will pygame1.6 for
> python23 work with python24?
Have you been to the site? 1.6 is available, and there are versions for
Python2.3 and Python2.4
http://w
Peter wrote:
> Does the idiom:
>
> lines = file("myfile","r").readlines()
>
> have any better guarantee of being closed automatically?
Yes. The file object only lives on the evaluation stack,
and that is discarded in any case when the function terminates
(whether through a return or through an
Robin Becker wrote:
> if the importers are tested statically how does a filesystem path ever
> manage
> to get back into the loop if it was ever found missing? In other words if
> things (eg python24.zip) are found not importable/usable in one pass how do
> they get reinstated?
I think (but see t
I have this error message poping up when I try to import a module I made in C
using the Python/C API. Everything compiles like a charm.
Gives me this error message :
Traceback (most recent call last):
File "mod_test.py", line 4, in ?
import utm
ImportError: dynamic module does not define in
ionel wrote:
> so what could this PyPy do in the future ? .. concretely ...
> hope this is not a stupid question
>
Maybe the description from the homepage says it best:
The PyPy project aims at producing a flexible and fast Python
implementation. The guiding idea is to translate a Python-level
:-)
--
http://mail.python.org/mailman/listinfo/python-list
Hi All,
Does anyone have any info concerning the windows pygame 1.6 for
python2.4? It doesn't seem to be available yet. Will pygame1.6 for
python23 work with python24?
Thanks for any help concerning this.
BC
--
http://mail.python.org/mailman/listinfo/python-list
For your own good, please change your credit card number now! You have
obviously lost your mind. Please read Applied Cryptography if you are
wondering why I would say this. I am not trying to be mean.
For example:
I have access to 80 Pentium 3 cpus (at ~1.8 GHz) and have engineered a simple
br
Andreas Rottmann wrote:
> You get terminology totally wrong here. As already said, Lisp is
> stronger typed than C, but C is statically typed, whereas Lisp is
> dynamically typed. In Lisp (or Scheme), all variables have types:
>
> (define foo #(1 2 3))
> (vector? foo) => #t
> (boolean? foo) => #t
so what could this PyPy do in the future ? .. concretely ...
hope this is not a stupid question
--
ionel.
--
http://mail.python.org/mailman/listinfo/python-list
I had not realized (silly me) that Python might need external libraries in
order to support specific modules.
I have installed the bz2 and readline devel packages re-configured/made and
everythin os now working.
Philippe C. Martin wrote:
> Hi,
>
> I am trying to install 2.4.1 on a new machin
Yes it should. The problem is that I notice a loss in performance when
the program is running at 100% CPU. Even though it is nice, if you try
to open up new applications, or switch between them, you notice your
computer lagging a little bit. That's why even though I'm not using
the cpu that much
Hugh Macdonald wrote:
> We're starting to version a number of our python modules here, and
I've
> written a small function that assists with loading the versioned
> modules...
>
> A module would be called something like: myModule_1_0.py
>
> In anything that uses it, though, we want to be able to r
Tim Golden schrieb:
> [Thomas Heller]
>
> [... snip problems with py2exe & WMI ...]
>
> | The OP of the thread Tim mentions here already had a solution, if I
> | understood him correctly, and the other things that were suggested
> | didn't work. Basically, IIUC, he did add the typelib
> | wra
"C Gillespie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> Does anyone know of any examples on how (& where) to use staticmethods and
> classmethods?
A python class method is closer to a Java static method than a python static
method.
Class methods can be useful if you w
In article <[EMAIL PROTECTED]>,
<[EMAIL PROTECTED]> wrote:
...
> I used the python executable from the build directory to run the
> following program:
>
> import os
>
> def main():
> if not (os.path.exists("/")):
> print "/ does not exist"
> else:
>
Simon Brunning wrote:
> QOTW: "If you're sick of answering newbie questions, and don't think you
> can do so politely, for the sake of the community, DON'T! You're not that
> necessary." - Joal Heagney
Taken out of context, Joal's comments might seem a bit rude and abrasive
- I don't think they
Hi,
I am trying to install 2.4.1 on a new machine and have the following
problems.
1) I'm on MDK 10.1
2) The system had 2.3.4 installed in /usr , I deleted the lib
3) I ran ./configure --prefix=/usr, then make, then make install, everything
went OK
If I run Python, I get
File "/etc/pythonrc.py
"rzed" <[EMAIL PROTECTED]> wrote:
> > if you have 1.1.5, you can use the width option to control
> > the line width. see:
>
> I'm glad to see that addition. I was surprised to see that 'width'
> is actually doubled in the resulting line, though. I suppose the
> code adds and subtracts the specifie
Martin v. Löwis wrote:
> Paul Rubin wrote:
> >>Consider the function above. Do I need the fp.close(), or will the
> >>file be closed automatically when fp goes out of scope and its
> >>reference count drops to zero?
> >
> > In CPython, fp gets closed when it leaves scope.
>
> One issue is that wh
Dear All,
What is the best way of creating methods depending on the packages that have
been installed.
A silly example is
try:
import somepack
class hello:
def __init__(self):
print 'hi'
def some(self):
print 'some'
except:
class hello:
I wrote:
> I am using the subprocess module to invoke a command-line utility
> [...] I would like to process the output line-by-line [...]
> rather than running [...] to completion
Simon Percivall writes:
> Okay, so the reason what you're trying to do doesn't work is that the
> readahead buffer us
Python newbie disclaimer on
I am running an app with Tkinter screen in one thread and command-line
input in another thread using raw_input(). First question - is this
legal, should it run without issue? If not can you point me to a
description of why.
While updating objects on the screen I get
Maybe I misunderstood what you meant, but I couldn't quite manage to
get this one working
My initial hopes about __import__() were that I could define it inside
my new module (moduleLoader) and, when the module is imported, it could
do stuff (like try to hold onto the vars() and globals() from
<[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> thanx everyone, is what i need.
> As Claudio argues, it's a standard problem of dna sequences
> comparation.
> the next step of my job is to make limits of lenght of interposed
> sequences (if someone can help me in this way i'll
thanks
On 5/24/05, Trent Mick <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote]
> > I use win xp pro.
> > I wonder about this new version of python because I use Nummeric, pyro,
> > combine with komodo and pydev ide in my python 2.4.
> > If there is compatibility isue with the new version, it
QOTW: "If you're sick of answering newbie questions, and don't think you
can do so politely, for the sake of the community, DON'T! You're not that
necessary." - Joal Heagney
"Who controls the runtime also controls the language." - Kay Schluehr
Jake tells us about the \r control characte
[EMAIL PROTECTED] wrote:
> the next step of my job is to make limits of lenght of interposed
> sequences (if someone can help me in this way i'll apreciate a lot)
> thanx everyone.
Kent Johnson had the right approach, with regular expressions.
For a bit of optimization, use non-greedy groups. Tha
[EMAIL PROTECTED] wrote]
> I use win xp pro.
> I wonder about this new version of python because I use Nummeric, pyro,
> combine with komodo and pydev ide in my python 2.4.
> If there is compatibility isue with the new version, it is better for
> me not to install the new version.
There will be n
C Gillespie wrote:
> Does anyone know of any examples on how (& where) to use staticmethods and
> classmethods?
My personal experience is that I almost *never* want a staticmethod.
The things that I would have written as a staticmethod in Java I simply
write as a module-level function in Python.
John W. Kennedy coughed up:
> alex goldman wrote:
>> John W. Kennedy wrote:
>>
>>
>>> Strong
>>> typing has been a feature of mainstream programming languages since
>>> the late 1950's.
>>
>>
>> Is Fortran a strongly typed language? I don't think so. Strong
>> typing has been invented in the 70's,
>-O : optimize generated bytecode (a tad; also PYTHONOPTIMIZE=x)
>-OO: remove doc-strings in addition to the -O optimizations
>...
>
>if you want to use these from your C code, setting the global Py_OptimizeFlag
>to 1 (-O) or 2 (-OO) should work.
Yes that is what I wanted to do. Thank you
[Thomas Heller]
[... snip problems with py2exe & WMI ...]
| The OP of the thread Tim mentions here already had a solution, if I
| understood him correctly, and the other things that were suggested
| didn't work. Basically, IIUC, he did add the typelib
| wrappers from the
| 'other' windows ve
Think I read something about it here:
http://heather.cs.ucdavis.edu/~matloff/Python/
not sure though.
Lorenzo
--
http://mail.python.org/mailman/listinfo/python-list
Raphael Zulliger schrieb:
> Hi
>
> I have to check wheter a .py script is run within the debug or the
> release version of an embedded python interpreter (in short, wheter
> python24_d.dll or python24.dll is in use).
>
> long version: I'm using ctypes to load my own dll. There exists 2
> versi
Tim Golden schrieb:
> | Hello All.
> | I'm trying to 'compile-to-EXE' a python program which uses
> | Win32 & WMI to
> | pull system info. from the PC such as serial number, CPU
> | speed, etc. I'm
> | having problems with py2exe -- with regard to Win2000 & WinXP
> | platforms. It
> | seems
Kay Schluehr wrote:
>>Speed isn't even the biggest problem when running PyPy on itself.
>>PyPy still 'fakes' some objects, e.g. borrows them from the underlying
>>Python.
>
>
> Does it mean You create an RPython object that runs on top of CPython,
> but is just an RPython facade wrapped around a
[Jeremy Hylton]
> ...
> It looks like your application has a single persistent instance -- the
> root ExtendedTupleTable -- so there's no way for ZODB to manage the
> memory. That object and everything reachable from it must be in memory
> at all times.
Indeed, I tried running this program under
>>Ximo> My question is how can show the execution error whitout exit of
>> the program, showing it in the error output as
>> Skip> You need to catch ZeroDivisionError. Here's a trivial example:
>>>>> try:
>>... 6/0
>>... except ZeroDivisionError:
>>... print "whoops! d
Raphael Zulliger wrote:
long version: I'm using ctypes to load my own dll. There exists 2
> version of this dll - a debug and a release version (where one is linked
> against debug C runtime dll and the other to release C runtime dll). Now
> I have to change the name of the dll I want to be loaded
>>Ximo> My question is how can show the execution error whitout exit of
>> the program, showing it in the error output as
>> Skip> You need to catch ZeroDivisionError. Here's a trivial example:
>>>>> try:
>>... 6/0
>>... except ZeroDivisionError:
>>... print "whoops!
Hello,
I tried to build Python 2.4.1 on a Reliant Unix system. Just after the
python executable program has been built, I get the following error:
begin make output ===
CC -W1 -Blargedynsym -o python \
Modules/python.o \
libpython2.4.
alex23 wrote:
> In this case, it sounds like the library is providing computers for
two
> purposes: access to Office tools and to the internet. Given the
> "everything not forbidden is permissable" attitude of most people,
> unless the use is restricted to only those two activities people
> legiti
Stephen Kellett wrote:
> We've been using Python embedded in an application for a while now,
> where the Python dll is PythonNN.dll, NN being the version number, such
> as Python24.dll.
>
> Recently it was pointed out to me that Python can run in a debug or
> release configuration and that you can
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I'm just transforming a Python module into Pyrex, and I get the
following error:
File "indicadorPyrex.pyx", line 37, in indicadorPyrex.volatilidade
~h1 = precoMax[barra]
I made no changes to this module except including 'int' for two
variable
Silly but true. It started with trying to figure how to remember it's
strip() and not trim().
Then it went downhill from there.
--
http://mail.python.org/mailman/listinfo/python-list
"Kalle Anka" <[EMAIL PROTECTED]> wrote:
> I've started to play around with regexps in Python and I tried
> something like this
>
> print re.sub( r'(\bw\w+\b)', r'\u\1', 'will it work')
>
> and get
>
> \uwill it \uwork
>
> when I had expected
>
> Will it Work
>
> I tried to find some documentation
Just another solution, pretty and effective:
def fct(a, b):
idx = -1
for c in a:
idx = b.find(c, idx+1)
if idx == -1:
return False
return True
On 24 May 2005 06:06:03 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]
> wrote:thanx everyone, is what i need.As Claudio argues, it's a st
"Skip Montanaro" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
>
>Ximo> And my question is how can show the execution error whitout exit
>Ximo> of the program, showing it in the error output as
>
> You need to catch ZeroDivisionError. Here's a trivial example:
>
>
Hello everybody, I found on the web an interesting way to gain some money:
it's netbux, that allows you to learn something while you search the web
through google or altaista.
I earned 40$ in a month, not a lot, but I have simply to use Google to do My
searches.
If you want try it subscribe at:
| Hello All.
| I'm trying to 'compile-to-EXE' a python program which uses
| Win32 & WMI to
| pull system info. from the PC such as serial number, CPU
| speed, etc. I'm
| having problems with py2exe -- with regard to Win2000 & WinXP
| platforms. It
| seems that the program only works if I hav
Hi Folks,
We've been using Python embedded in an application for a while now,
where the Python dll is PythonNN.dll, NN being the version number, such
as Python24.dll.
Recently it was pointed out to me that Python can run in a debug or
release configuration and that you can specify this on the
I will take a look!
Thanks Skip
--
Hugh
--
http://mail.python.org/mailman/listinfo/python-list
Hugh> What I'm after is a way of moduleLoader.loadModule working back up
Hugh> the scope and placing the imported module in the main global
Hugh> scope. Any idea how to do this?
You want to write an import hook I think. I'd start with the docs for the
__import__ builtin. Also, Googl
praba> Can any one guide me how to get python related jobs?
You mean a source of job postings? If so, try the Python Jobs Board:
http://www.python.org/Jobs.html
Skip
--
http://mail.python.org/mailman/listinfo/python-list
Hello All.
I'm trying to 'compile-to-EXE' a python program which uses Win32 & WMI to
pull system info. from the PC such as serial number, CPU speed, etc. I'm
having problems with py2exe -- with regard to Win2000 & WinXP platforms. It
seems that the program only works if I have one typelib for W
I've started to play around with regexps in Python and I tried
something like this
print re.sub( r'(\bw\w+\b)', r'\u\1', 'will it work')
and get
\uwill it \uwork
when I had expected
Will it Work
I tried to find some documentation about this but I can't find anything
that says if operations li
alex goldman wrote:
> John W. Kennedy wrote:
>
>
>>Strong
>>typing has been a feature of mainstream programming languages since the
>>late 1950's.
>
>
> Is Fortran a strongly typed language? I don't think so. Strong typing has
> been invented in the 70's, if I'm not mistaken, when ML was invent
18 Years young Teenies fuckin for Cash!
Geile Teens ficken fuer Taschengeld!
http://www.sexycorner.biz
Enjoy
Maria
--
http://mail.python.org/mailman/listinfo/python-list
thanx everyone, is what i need.
As Claudio argues, it's a standard problem of dna sequences
comparation.
the next step of my job is to make limits of lenght of interposed
sequences (if someone can help me in this way i'll apreciate a lot)
thanx everyone.
giorgio
--
http://mail.python.org/mailman/
I appreciate your posts guys. It answers my questions and I like the
idea of overriding join method. I will use this one.
--
http://mail.python.org/mailman/listinfo/python-list
If GUID is not a key in the database make it one. That
way you won't have to do serial reads through the entire
table to locate matching entries.
It is hard to be more specific because we don't know how
many records are in ASPSessionState table. If there are
only a few, the problem is probably e
Hi
I have to check wheter a .py script is run within the debug or the
release version of an embedded python interpreter (in short, wheter
python24_d.dll or python24.dll is in use).
long version: I'm using ctypes to load my own dll. There exists 2
version of this dll - a debug and a release ver
"Jeff Elkins" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Just as an fyi:
>
> In one weekend I have gone from knowing zip about SQL/Python to
implementing
> code on my personal server that emails info to family about birthdays and
> such.
Actually - http://www.pythonweb.org/ wil
Wibble <[EMAIL PROTECTED]> writes:
> Java or even C is more strongly typed than lisp or tcl which
> dont really have a concept of a typed variable.
> Lisp only does runtime type checking unless you do wierd
> unnatural things.
>
You get terminology totally wrong here. As already said, Lisp is
stro
On Mon, 23 May 2005 22:37:09 -0700, [EMAIL PROTECTED] wrote:
> textNode = yourDocumentElement.createTextNode("the content")
> yourElement.appendChild(textNode)
>
Thanks, it works, but 'yourDocumentElement' needs to be of type
'document'. The name leads to conclusion that it needs to be
a root elem
Hi,
Does anyone know of any examples on how (& where) to use staticmethods and
classmethods?
Thanks
Colin
--
http://mail.python.org/mailman/listinfo/python-list
Hi there,
I just built and installed Python-2.4.1 on my Irix machine.
My compiler, the MipsPro compiler, chokes on the Python.h include file,
as demonstrated here:
$ CC -v
MIPSpro Compilers: Version 7.41
$ python -V
Python 2.4.1
$ cat l.cxx
#include
int main()
{
return 0;
}
$ CC -I $HOME/i
1 - 100 of 124 matches
Mail list logo