Hi all,
You can find instructions about how to run jython Web applications on
Google AppEngine,
using WSGI and modjy, here.
http://jython.xhaus.com
You can see the jython 2.5 Demo WSGI application running, here.
http://jywsgi.appspot.com
Regards,
Alan Kennedy.
--
http://mail.python.org
Hi all,
You may be interested to know that you can now run jython 2.2 out of
the box on Google AppEngine, thanks to their new java support.
A patch is required for jython 2.5, but we will be folding this in
before the jython 2.5 RC release over the next few weeks.
More details here
http://jytho
> -ERROR_-
> File "tester.py", line 10, in
> com.JPypeTest.main("arg")
> RuntimeError: No matching overloads found. at src/native/common/
> jp_method.cpp:121
> --END ERROR-
I haven't used jpype, but the signature for java main functions is
public
[tksri2000]
> I am looking to use python to talk to JMS. Can some please point me to
> such resources if this is possible.
PyHJB is the python-to-JMS gateway. ... via HJB, the HTTP JMS bridge.
http://hjb.python-hosting.com/
HJB (HTTP JMS Bridge)
http://hjb.berlios.de/
HTH,
--
alan k
[Stuart D. Gathman]
>>> I need to set a timelimit for the operation of
>>> smtplib.sendmail. It has to be thread based, because pymilter uses
>>> libmilter which is thread based.
[Alan Kennedy]
>> Have you tried setting a default socket timeout, which ap
'
timeout_value = 1.0 # seconds
socket.setdefaulttimeout(timeout_value)
print "connecting to server: %s" % dud_server
try:
connection = smtplib.SMTP(dud_server)
except socket.timeout:
print "server timed out"
==
HTH,
--
alan kennedy
ed for eval: there are safe JSON codecs for python,
http://cheeseshop.python.org/pypi?%3Aaction=search&description=json
And one for javascript,
http://www.json.org/js.html
http://www.json.org/json.js
And most other languages you're likely to come acro
[Alan Kennedy]
>> Your comment makes "using a user-defined enumerate [on cpython] is
>> slower than using the built-in version" makes no sense in relation to
>> the code I posted
Fredrik Lundh wrote:
> try combining with the second sentence in my post.
OK, so putt
.
While the comment "using a user-defined enumerate is slower than using
the builtin" may be true, it has no bearing on the code I posted, which
is all I'm trying to say ...
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
[Alan Kennedy]
> On jython 2.1, I use something like this
> #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> try:
> enumerate
> except NameError:
> def enumerate(iterable):
> results = [] ; ix = 0
> for item in iterable:
> results.append( (ix, item) )
>
[Alan Kennedy]
>> On jython 2.1, I use something like this
>>
>> #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> try:
>> enumerate
>> except NameError:
>> def enumerate(iterable):
>> results = [] ; ix = 0
>> for item in iterable:
&g
and robust as XML, in most languages.
> I would rather make a decision now, otherwise I will have a lot of
> changes to make later on. Does anyone have any recommendations?
I'd go with JSON, for simplicity and portability. If you have any
specific questions about it, ask.
regards,
--
;jython fibo.py
Position 0: 0
Position 1: 1
Position 2: 1
Position 3: 2
Position 4: 3
Position 5: 5
Position 6: 8
Of course, the efficiency is different across cpython vs. jython, but
it's nice to have the same pythonic code running across both. And when
jython progresses beyond 2.1, (any day
tag." ],
tags.div(style="color: blue; width: 200px; background-color:
yellow;")
[
"And this is a coloured div."
]
]
]
That looks nice and simple, and no need to destroy the elegance of
python to do it.
regards,
--
alan kennedy
p://groups.google.com/group/comp.lang.python/browse_frm/thread/76aa2afa913fe4df/a2ede21f7dd78f34#a2ede21f7dd78f34
Also contained in that thread is an implementation of Queue.Queue which
supplies values from a generator, and which does not require a separate
thread to generate val
er represent a character.
"""
So UTF-16 has no "width" to compare to, no more than utf-8 does.
I wonder what character set the OP is dealing with, if it's not
representable with Unicode. Presumably it's not a modern character set?
--
alan kennedy
---
Maybe I could read the XML from the socket directly into the parser.
You can find exactly what you need in this old thread about incremental
XML parsing.
Parsing XML streams
http://groups.google.com/group/comp.lang.python/msg/e97309244914343b?
--
alan kennedy
-
you need to de/serialise
objects/parameters for transmission between those processes.
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
[Terry Hancock]
> So what's a 1-element tuple, anyway? A "mople"? "monople"?
> It does seem like this lopsided pythonic creature (1,) ought
> to have a name to reflect its ugly, newbie-unfriendly
> nature.
It's a "trip-you-uple", which yo
s be:
> fit.FitServer.__init__(self, host, port, verbose)
I'm not sure the latter is cause of your problems, but it might be.
HTH,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED]
> Hi, I want to use xpath to scrape info from a website using pyXML but I
> keep getting no results.
>
> For example, in the following, I want to return the text "Element1" I
> can't get xpath to return anything at all. What's wrong with this
> code?
Your xpath expression is wro
Control Language (ACL). Products that
support telescope control via ASCOM are Starry Night by SPACE.com, MaxIm
DL V3 by Cyanogen Productions, and ACP2 by DC3 Dreams.
"""
HTH,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
and out of the
database.
> Ideas are appreciated,
I'd write a few simple prototypes and take some empirical measurements.
HTH,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
domain one for example
http://dev.i2p.net/cgi-bin/cvsweb.cgi/i2p/core/java/src/net/i2p/data/Base64.java?f=H
With javadoc at
http://dev.i2p.net/javadoc/net/i2p/data/Base64.html
Seems to do what you want.
HTH,
--
alan kennedy
--
email alan:
aahz-didn't-shout-at-you-ly'yrs,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
that you're using? If I remember rightly, Python for Pocket Windows
doesn't support sockets, meaning that urllib wouldn't work on that platform.
Another thing to establish is whether the URL is working correctly, from
a client you know works independently from your
be opening up a security hole in your
application. The following string looks very like a VB function
invocation: 'hs.ExecX10ByName "Kitchen Espresso Machine", "On", 100'
Are you executing the contents of form input fields as program code?
That's highly inadvisable fr
'%s'" % return_node.childNodes[0].nodeValue
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
You have to install PyXML to get xpath support: http://pyxml.sf.net
There are other ways to do it, e.g. using ElementTree, but I'll leave it
to others to suggest the best w
one have a good idea on how to approach this problem ?
> (I do not want to use the pickle module)
Why not the pickle module? XML-format pickles are a good solution to
your problem, IMHO.
--
alan kennedy
--
email alan: http://x
ny out now?
Not yet, although I could be wrong.
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
our helpful commentary on this matter!
And thanks to you for actually informing yourself on the issue, and for
taking the time to research and understand it. I wish that your
refreshing attitude was more widespread!
now-i-really-must-get-back-to-work-ly'yrs,
--
alan kennedy
stly-using-kid-for-templating-ly'yrs,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
eateElementNS(None, "no_ns")
elem2.setAttributeNS(xml.dom.XMLNS_NAMESPACE, "xmlns", "")
> document.xpath("*")[0].appendChild(elem2)
> document.toFile(open("test_ns.xml", "wb"))
its-not-about-namespaces-its-about-automagic-ly'yrs,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
[Alan Kennedy]
>>Don't confuse libxml2dom with libxml2.
[Paul Boddie]
> Well, quite, but perhaps you can explain what I'm doing wrong with this
> low-level version of the previously specified code:
Well, if your purpose is to make a point about minidom and DOM standards
that
> different developers have interpreted the specification in different ways ?
What specification? Libxml2 implements none of the DOM specifications.
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
toolkits.
"""
http://cheeseshop.python.org/pypi/libxml2dom
[Alan Kennedy]
>>Will you accept Apache Xerces 2 for Java as a widely used DOM
>>Implementation?
[Fredrik Lundh]
> sure.
>
> but libxml2 is also widely used, so we have at least two ways to interpr
ong on this ", "you
misunderstand ", "you're guessing .", etc, then you should be
prepared to back them up, not state them and then say "but I'm too busy
and/or important to discuss it with you&quo
eturn db.newDocument()
def serialise(doc):
format = OutputFormat( doc )
outbuf = StringWriter()
serial = XMLSerializer( outbuf, format )
serial.asDOMSerializer()
serial.serialize(doc.getDocumentElement())
return outbuf.toString()
doc = create_document()
root = doc.createElementNS("DAV:", &qu
[Alan Kennedy]
>>On the contrary, once you start second guessing the standards and making
>>guesses about what users are really trying to do, and making decisions
>>for them, then some people are going to get different behaviour from
>>what they rightfully expect according
se
expectations match with the guesses made on their behalf will find that
their software is not portable between DOM implementations.
With something as finicky as XML namespaces, you can't just make ad-hoc
decisions as to what the user "really wants". That's why DOM L2 punted
on the whole problem, and left it to DOM L3.
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
decl, element_ns_uri)
> I'd love to hear how many actual minidom users would agree with you.
>
> It's currently a bug. It needs to be fixed. However, I have no time
> for this bewildering fight. If the consensus is to leave minidom the
> way it is, I
silly for DOM to produce malformed
>>XML+XMLNS, and of course it is not meant to. The minidom behavior
>>needs fixing, badly.
[Alan Kennedy]
> My interpretation of namespace nodes is that the application is
> responsible for creating whatever namespace declaration attribute nodes
uot;http://webdav.org";
xmldoc = xml.dom.minidom.Document()
xmlroot = xmldoc.createElementNS(DAV_NS_U, "DAV:xpg")
xmlroot.setAttributeNS(xml.dom.XMLNS_NAMESPACE, "xmlns:DAV", DAV_NS_U)
xmldoc.appendChild(xmlroot)
print xmldoc.toprettyxml()
of the standard library?
No, it's not. Not sure if it ever was.
> if not, what should I use?
Install PyXML
http://pyxml.sourceforge.net
HTH,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://
l
However, even httplib is "synchronous", in that it cannot pipeline
requests: the response to the first request must be competely read
before a second request can be issued.
HTH,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
mples.html
However, even httplib is "synchronous", in that it cannot pipeline
requests: the response to the first request must be competely read
before a second request can be issued.
HTH,
--
alan kennedy
--
email alan: h
no", then you can use the
"bcp" (Bulk CoPy) utility to transfer data into SQLServer *very* quickly.
http://msdn.microsoft.com/library/en-us/coprompt/cp_bcp_61et.asp
http://www.sql-server-performance.com/bcp.asp
thought-it-was-worth-mentioning-ly y'rs,
--
alan kennedy
--
[Claire McLister]
> I've made the script available on our downloads page at:
>
> http://www.zeesource.net/downloads/e2i
[Alan Kennedy]
>> I look forward to the map with updated precision :-)
[Claire McLister]
> Me too. Please let me know how we should modify the script
be surprised if some
of them try to "shoot the messenger".
I look forward to the map with updated precision :-)
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
[Alan Kennedy]
>>So presumably "chcgil" indicates you're in Chicago, Illinois?
[EMAIL PROTECTED]
> Yes, but why, then, is my name logged into Mountain View, CA?
Presumably the creators of the map have chosen to use a mechanism other
than NNTP-Posting-Host IP addr
The Commitments" can attest, is a deep insult a born-and-bred
Northsider such as myself ;-)
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
FAQ. Isn't that what FAQs are for?
Maybe the FAQ needs to be turned into a wiki?
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
class, e.g.
their methods, by modifying the class itself. Any reference to the
method on the instance will resolve to the method definition from its
class, provided you haven't overwritten the method on the individual
instance. Resolving the method is done at invocation time, beca
n ( String args[] )
{
PythonInterpreter interp = new PythonInterpreter();
interp.exec(my_class_source);
interp.exec(create_instance);
interp.exec(invoke_hello);
interp.exec(overwrite_meth);
interp.exec(invoke_hello);
}
}
//
need to be aware of.
See the following archive post for how to clean up untrusted (x)html.
http://groups.google.com/group/comp.lang.python/browse_thread/thread/fbdc7ae20353a36d/91b6510990a25f9a
HTH,
--
alan kennedy
--
email alan: h
fe's too short to spend your time hacking around artificial barriers
to progress.
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
troll Xha Lee gets to post
> all sorts of profanity and ranting without any problem?
Take a look at the source of XL's messages: he posts through Google
Groups, thus completely avoiding the SPAM filter on python.org.
http://groups.google.com/group/comp.lang.python/msg/762c8dad1928e
o infrastructure development
required.
http://www.zope.org/Members/tim_one/spread/
http://www.python.org/other/spread/
The latter page has links to the original C spread module, which has
documentation, FAQs, etc.
--
alan kennedy
--
email
transmitting your SMSs?
2. If you disable the actual transmission, how many SMSs can your
application generate per second?
HTH,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
still aren't 100% stable.
http://www.djangoproject.com/screencasts/model_syntax_change/
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
sourceforge.net
Xpath tutorials from here
http://www.zvon.org/xxl/XPathTutorial/General/examples.html
http://www.w3schools.com/xpath/
there-are-other-ways-to-do-it-but-i-like-xpath-ly'yrs,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
llection.
Read this thread to see what Matz has to say about threading in Ruby.
http://groups.google.com/group/comp.lang.ruby/msg/dcf5ca374e6c5da8
One of these years I'm going to have to set aside a month or two to go
through and understand the cpython interpreter code, so that I
[Alan Kennedy]
>>IMHO, there is a great opportunity here for the python community:
>
> [...]
>
>>Surely that's worth a simple team name, for mnemonic purposes
>>if nothing else. Something different or unusual, like one of my
>>favourites, "Legion of
[Alan Kennedy]
>> ... PCW ran a story this time last year
>> about Michael Sparks, python and python's use in the BBC's future
>> distribution plans for digital TV.
[Paul Boddie]
> Well, I didn't even notice the story! ;-)
Here's the message I posted h
[Alan Kennedy]
>> (PCW, for those who don't know it, is sort of the UK's equivalent
>> of Byte Magazine,except that it's still publishing after almost 25
>> years).
[Paul Boddie]
> Hmmm. Even Byte at its lowest point was far better than PCW ever was.
Wel
he review, and the "Python Powered" logo
is right there for all to see).
Congratulations!
Unfortunately, PCW don't seem to have made the review available online
(yet), so I can't provide a URL. Maybe someone else will have more
success finding a URL?
thought-ye'd-like-to-know-ly'
[Alan Kennedy]
>>SAX is perfect for the job. See code below.
[Fredrik Lundh]
> depends on your definition of perfect...
Obviously, perfect is the eye of the beholder ;-)
[Fredrik Lundh]
> using a 20 MB version of jog's sample, and having replaced
> the print statements
"revision_text\t%s" % new_page.revision_text
print
if __name__ == "__main__":
parser = xml.sax.make_parser()
parser.setContentHandler(page_matcher(page_handler))
parser.setFeature(xml.sax.handler.feature_namespaces, 0)
parser.feed(testdoc)
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
HTH,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
p JSON strings, which
means that you cannot be strict about things like double (") vs. single
(') quotes, etc.
JSON is so simple, I think it best to write a tokeniser and parser for
it, either using a parsing library, or just coding your own.
--
alan kennedy
--
grad thesis in
1988, but when I realised the complexity of the problem, I picked a
hypertext project instead ;-)
http://en.wikipedia.org/wiki/Occam_programming_language
IMHO, python generators (which BTW are implemented with a JVM goto
instruction in jython 2.2) are a ni
-is-in-the-eye-of-the-beholder-ly y'rs
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
How to talk between the
PC and the JBus instrument-manager" rather than "How to talk between the
PC and JBus instruments". Depending on the protocol used by the
"instrument-manager", you may be able to use python to control that.
HTH,
--
alan kennedy
-
/basic/hwbapy01.mspx
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
ion?
B: Use one that's already been written?
If the answer is the latter, I recommend you take a look at PyLinda.
PyLinda - Distributed Computing Made Easy
http://www-users.cs.york.ac.uk/~aw/pylinda/
--
alan kennedy
--
email
n cinema.
get-orff-moy-lahnd-ly y'rs
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
t .
It's no wonder the spammers can ply their trade with such ease.
grumpily-y'rs,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65203
HTH,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
[John Fabiani]
> Since this is (sort of) my second request it must not be an easy
> solution. Are there others using Python to connect MsSQL?
[jdonnell]
http://sourceforge.net/projects/mysql-python
Note that "MsSQL" != "My
questions being asked a *second* time without some
form of reasonable answer .
As already mentioned by another poster, have you considered using ODBC?
There are several python ODBC implementations.
HTH,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
4
and "mega" is 1024*1024 and so forth...
Maybe you missed these?
http://en.wikipedia.org/wiki/Kibibyte
http://en.wikipedia.org/wiki/Mebibyte
http://en.wikipedia.org/wiki/Gibibyte
kilo-mega-giga-etc-should-be-powers-of-10-ly y'rs,
--
alan kennedy
--
nds promising!
Well, I'm always dubious of OSS projects that don't even have any bugs
reported, let alone fixed: no patches submitted, etc, etc.
http://sourceforge.net/tracker/?group_id=82591
Though maybe I'm missing something obvious?
--
alan kennedy
--
[Alan Kennedy]
>> Well, the python JSON codec provided appears to use eval, which might
>> make it *seem* unsecure.
>>
>> http://www.json-rpc.org/pyjsonrpc/index.xhtml
>>
>> But a more detailed examination of the code indicates, to this reader
>> at le
acronym right?-) It seems that VSS provides viRTual
source-safety...
In my circles, VSS is most often referred to as Visual Source Unsafe.
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
uperb tools.
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
[Irmen de Jong]
>>> I need a fast and safe (secure) marshaler.
[Alan Kennedy]
>> , would something JSON be suitable for your need?
>>
>> http://json.org
[Irmen de Jong]
> Looks very interesting indeed, but in what way would this be
> more secure than say, pickl
[Alan Kennedy]
What I find particularly intriguing is the JSON-RPC protocol, which
looks like a nice lightweight alternative to XML-RPC.
http://oss.metaparadigm.com/jsonrpc/
Also interesting is the browser embeddable JSON-RPC client written in
javascript, for which you can see a demo here
http
gards,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
?
If I remeber correctly I used to type "Wait 10" and QBasic waits
10 seconds before proceeding to next command.
Ahh, a simple question! :-)
import time
time.sleep(10.0)
HTH,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
"tuple space", where objects live. The objects
can be located and sent messages. But (Py)Linda hides most of gory
details of how objects actually get distributed, and the mechanics of
actually connecting with those remote objects.
http://www-users.cs.york.ac.uk/~aw
a period, do you have available for your
project?
Best of luck,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
[Alan Kennedy]
>>However, I'm torn on whether to use ReST for textual content. On the one
>>hand, it's looks pretty comprehensive and solidly implemented. But OTOH,
>>I'm concerned about complexity: I don't want to commit to ReST if it's
>>going t
[Alan Kennedy]
>>So, I'm hoping that the learned folks here might be able to give me
>>some pointers to a markup language that has the following
>>characteristics
[Paul Rubin]
> I'm a bit biased but I've been using Texinfo for a long time and have
> been happ
[Alan Kennedy]
>> From what I've seen, pretty much every textual markup targetted
>> for web content, e.g. wiki markup, seems to have grown/evolved
>> organically, meaning that it is either underpowered or overpowered,
>> full of special cases, doesn't have a mean
page which
compares multiple markup languages, in terms of the above requirements.
If I can't find such a markup language, then I might instead end up
using a WYSIWYG editing component that gives the user a GUI and
generates (x)html.
htmlArea: http://www.htmlarea.com/
Editlet: http://ww
16K and 48K (I had the 48K :-). It was a lovely little machine,
and included all kinds of goodies, like a 6522 VIA
http://www.old-computers.com/museum/computer.asp?st=1&c=180
I think you're mixing up the Oric with the Jupiter Ace
http://www.old-computers.com/museum/computer.asp?st
completed"
#
Which should output the expected
>
start
threadfunction: entered
start completed
threadfunction x=10
threadfunction x=20
threadfunction x=30
regards,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
s suitably impressed.
Well, things are getting better then .
It used to be that grandiose manifestos and suitably impressive plans
were all you needed to make billions through a stock flotation ;-)
<0.5 wink>-ly y'rs,
--
alan kennedy
[-4:] == 'Type' and isinstance(l.__delattr__, getattr(types, t)):
... print "It's a '%s'" % str(t)
...
It's a 'ObjectType'
>>>
I also am interested in what is.
regards,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
hink we've had any trolls in the NG lately, although
perhaps one or two people have been *extremely* grumpy ;-)
pining-for-the-tropics-ly y'rs,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
l in all, a great little package. I recommend that you take a close look.
Regards,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
1 - 100 of 104 matches
Mail list logo