o, it's not really possible in a typeless language,
and yes, there are implementations based on decorators, but frankly,
they're awful.
Yeah, and i'm with "if False:" for commenting out chunks of code.
tom
--
... but when you spin it it looks like a dancing foetus!
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, 24 Jun 2005, Roy Smith wrote:
> Tom Anderson <[EMAIL PROTECTED]> wrote:
>
>> The one thing i really do miss is method overloading by parameter type.
>> I used this all the time in java
>
> You do things like that in type-bondage languages
I love that expr
27;ll be able to use "from __past__ import map, filter,
> reduce" or something like that :)
from __grumpy_old_bastard_who_cant_keep_up__ import map
:)
tom
--
Why do we do it? - Exactly!
--
http://mail.python.org/mailman/listinfo/python-list
te GNU development
toolchain, check out MinGW:
http://www.mingw.org/
Which, IMHO, is a better solution than Cygwin for general programming.
tom
--
i'm prepared to do anything as long as someone else works out how to do it and
gives me simple instructions... -- Sean
--
http://mail.python.org/
ing system.
>
> I've never heard of Python having such a policy and I don't understand
> how such a stupid policy could be considered compatible with a
> proclaimed "batteries included" philosophy.
Agreed. If this is the policy, it should be reconsidered. It's
, my dad wanted to build a
ballista; he collected loads of literature on it. There's a surprising
amount of maths involved - the Greeks actually devised instruments for
computing cube roots in order to do it!
Perhaps not an ideal project for schoolkids, though.
tom
--
How did i get here?
--
proposed removal of reduce, lambda, filter and map, all I see ahead
of me is a waste of time as a programmer.
Same here.
Sorry for the OT long rant.
Yeah, that was really off-topic for a python newsgroup. You didn't even
mention regional accents once!
tom
--
How did i get here?--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 30 Jun 2005, Benji York wrote:
> python-needs-more-duct-tape'ly yours,
You're in luck: Python 3000 will replace duck typing with duct taping.
tom
--
I know you wanna try and get away, but it's the hardest thing you'll ever know
--
http://mail.python.org/mailman/listinfo/python-list
he punch with
the format they'd planned to use, forcing them to switch to the
stream-of-consciousness style that became their trademark and which is the
basis for python's indentation-based block structure. Therefore, if it
hadn't been for the quirks of the Cockney
'otel" is a symptom of Estuary english. However, as you say,
there is some weird historical precedent for pronouncing the 'h' but also
using 'an', as in "an hotel", which is practiced only by the
self-consciously posh (including, often, newsreaders), an
anguage
that most people hate, but that people who really take the time to learn
it love with a fervour bordering on scary.
tom
--
In-jokes for out-casts
--
http://mail.python.org/mailman/listinfo/python-list
lone
hackers and towards design by committee hasn't helped, either.
How this applies to python, where the BDFL is still very much at the helm,
is not clear. I wonder if analogies to Linux, also a despotism, are more
useful?
tom
--
In-jokes for out-casts
--
http://mail.python.org/mailman/listinfo/python-list
of satisfied LISP programmers out there who *are*
content with S-expressions ...
tom
--
In-jokes for out-casts
--
http://mail.python.org/mailman/listinfo/python-list
gt; people involved and the techniques used than it is about any single
>> technology involved.
>
> Agreed.
+1 getting to the crux of it.
tom
--
In-jokes for out-casts
--
http://mail.python.org/mailman/listinfo/python-list
cheme or -any-other-functional-language programmer; my only other real
language is Java. I wonder if i'm an outlier.
So, if you're a pythonista who loves map and lambda, and disagrees with
Guido, what's your background? Functional or not?
tom
--
Batman always wins
--
http://mail.python.org/mailman/listinfo/python-list
gt; kinds of customers? Say a customer like in bank customer, and second
> customer that plays the role of the bank employee? oops.
C++ has 'friend' for that:
http://www.cplusplus.com/doc/tutorial/tut4-3.html
tom
--
REMOVE AND DESTROY
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, 1 Jul 2005, Ivan Van Laningham wrote:
> Personally, I find that Lisp & its derivatives put your head in a very
> weird place. Even weirder than PostScript/Forth/RPN, when you come
> right down to it.
+1 QOTW!
tom
--
REMOVE AND DESTROY
--
http://mail.python.org/mai
On Fri, 1 Jul 2005, Sion Arrowsmith wrote:
> Tom Anderson <[EMAIL PROTECTED]> wrote:
>> On Thu, 30 Jun 2005, Roy Smith wrote:
>>
>>> Even some of the relatively recent library enhancements have been kind
>>> of complicated. The logging module, f
would cause a nightmare that would make a knight of
> Ni scream.
But given that at a number of such modules have in fact been written,
along with tests, why not add them to the standard distribution?
tom
--
REMOVE AND DESTROY
--
http://mail.python.org/mailman/listinfo/python-list
On Saturday 02 July 2005 10:55, Nathan Pinno wrote:
> Brief question for anyone who knows the answer, because I don't. Is
> there anyway to make Python calculate square roots?
from math import sqrt
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, 2 Jul 2005, Tom Brown wrote:
> On Saturday 02 July 2005 10:55, Nathan Pinno wrote:
>
>> Brief question for anyone who knows the answer, because I don't. Is
>> there anyway to make Python calculate square roots?
>
> from math import sqrt
That's one way.
On Sun, 3 Jul 2005, Steven D'Aprano wrote:
> On Sun, 03 Jul 2005 02:22:23 +0200, Fredrik Johansson wrote:
>
>> On 7/3/05, Tom Anderson <[EMAIL PROTECTED]> wrote:
>>> That's one way. I'd do:
>>>
>>> root = value ** 0.5
>>
On Mon, 4 Jul 2005, Steven D'Aprano wrote:
> On Sun, 03 Jul 2005 10:56:42 +0100, Tom Anderson wrote:
>
>> On Sun, 3 Jul 2005, Steven D'Aprano wrote:
>>
>>> On Sun, 03 Jul 2005 02:22:23 +0200, Fredrik Johansson wrote:
>>>
>>>> On 7/3/05, To
On Sun, 3 Jul 2005, George Sakkis wrote:
> "Tom Anderson" <[EMAIL PROTECTED]> wrote:
>
>>>> And finally, does Guido know something about arithmetic that i don't, or
>>>> is this expression:
>>>>
>>>> -1.0 ** 0.5
>>
r. If you intended (-x)**y, then you need to insert
> parentheses to force that order.
So i see. Any idea why that precedence order was chosen? It goes against
conventional mathematical notation, as well as established practice in
other languages.
Also, would it be a good idea for (-1.0) ** 0.5 to evaluate to 1.0j? It
seems a shame to have complex numbers in the language and then miss this
opportunity to use them!
tom
--
When you mentioned INSERT-MIND-INPUT ... did they look at you like this?
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, 4 Jul 2005, Steven D'Aprano wrote:
> On Sun, 03 Jul 2005 15:46:35 +0100, Tom Anderson wrote:
>
>> I think there would be a lot less confusion over the alleged inaccuracy of
>> floating point if everyone wrote in hex - indeed, i believe that C99 has
>> hex f
for me.
How would one do that as a list comp, by the way? I'm really not very good
with them yet.
> [1] Okay, there was that guy who predicted that list comprehensions and
> first-class functions were the next to go. That was new. But also wrong.
> I think we can discount that.
True. Guido will only get rid of those after he's got rid of lowercase
letters in identifiers.
tom
--
A military-industrial illusion of democracy
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, 3 Jul 2005, Dennis Lee Bieber wrote:
> On Sun, 3 Jul 2005 20:53:22 +0100, Tom Anderson <[EMAIL PROTECTED]>
> declaimed the following in comp.lang.python:
>
>>2
>> -1
>>
>> Evaluates to -1?
>
> But what do you expect, say
>
On Sun, 3 Jul 2005, Tim Peters wrote:
> [Tom Anderson]
>> So, is there a way of generating and testing for infinities and NaNs
>> that's portable across platforms and versions of python?
>
> Not that I know of, and certainly no simple way.
>
>> If not, could we
On Mon, 4 Jul 2005, George Sakkis wrote:
> "Tom Anderson" <[EMAIL PROTECTED]> wrote:
>
>> I'll just chip in and say i'd quite like a flatten(), too; at the moment,
>> i have one like this:
>>
>> def flatten(ll):
>> return reduce(lam
cur = iter(x) # current iterator
while (cur != None):
try:
thing = cur.next()
if (isiterable(thing)):
stack.append(cur)
cur = iter(thing)
else:
do exactly one thing well, and can be composed
through simple, clean interfaces. For actually getting things done, a
toolkit beats a swiss army knife.
tom
--
This isn't right. This isn't even wrong.
--
http://mail.python.org/mailman/listinfo/python-list
tside a string literal, so i think
it's available for this. It would be utterly unpythonic to use puntuation
instead of a keyword, and it would make no sense to novices, but it would
scare the crap out of C programmers, which has to be worth something.
tom
--
[Philosophy] is kind of like b
On Tue, 5 Jul 2005, Terry Hancock wrote:
> Really, the only *right* thing to do is to raise an exception ASAP after
> the NaN comes up.
That sounds like a very good idea.
Are there any uses for NaN that aren't met by exceptions?
tom
--
[Philosophy] is kind of like being driven
On Tue, 5 Jul 2005, Ron Adam wrote:
> Tom Anderson wrote:
>
>> The trouble with these is that they make a lot of temporary lists -
>> George's version does it with the recursive calls to flatten, and Ron's
>> with the slicing and concatenating. How about a
i
don't know!
> elif -> else if
I'm not sure about splitting it into two words; there's currently a very
simple relationship between flow control keywords, meanings, and blocks of
code, which would be broken if we moved to using "else if". I don't know
that this relationship is actually important, though.
tom
--
Don't believe his lies.
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 6 Jul 2005, Terry Hancock wrote:
> On Tuesday 05 July 2005 03:43 pm, Tom Anderson wrote:
>
>> I understand that the backslash is popular in some ivory-tower
>> functional languages. Currently, a backslash can be used for explicit
>> line joining, and is ill
. That sort
> of throws the whole thing off.
As in:
http://www.folklore.org/StoryView.py?project=Macintosh&story=Negative_2000_Lines_Of_Code.txt
Perhaps the real question, then, is which language allows you to delete
lines of code most quickly.
tom
--
find porn apricot
--
http://mail.python.org/mailman/listinfo/python-list
nd and just barely winning out in the very deep
catagory.
\o/
But they're all respectable times so everyone wins. ;-)
Everyone shall have medals!
tom
--
They travel the world in their ice cream van ...--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 7 Jul 2005, Steven D'Aprano wrote:
> On Wed, 06 Jul 2005 14:28:55 +0100, Tom Anderson wrote:
>
>>> del -> delete
>>
>> How about just getting rid of del? Removal from collections could be done
>> with a method call,
>
> Which would be cal
possible but daft travel plans.
I can't immediately see any properties of this network that could be
exploited, but that doesn't mean there aren't any.
tom
--
taxidermy, high tide marks, sabotage, markets, folklore, subverting, .
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, 16 Jul 2005, George Sakkis wrote:
> "Tom Anderson" <[EMAIL PROTECTED]> wrote:
>
>> On Sat, 16 Jul 2005, Joseph Garvin wrote:
>>
>>> Someone correct me if I'm wrong -- but isn't this the Shortest Path
>>> problem?
>>
&g
On Mon, 1 Aug 2005, Peter Otten wrote:
> Harald Massa wrote:
>
>> Always go to bed exactly when you want to write the first lambda.
>
> Eureka. The Twentieth Pythonic Thesis has finally surfaced.
So what does it mean that i do much of my programming in bed?
tom
--
non, sc
On Mon, 1 Aug 2005, Benji York wrote:
> Cliff Wells wrote:
>
>> As I mentioned earlier, programming is half brains and half
>> tenacity.
>
> +1 QOTY (quote of the year)
Personally, i'd say it was 50% brains, 40% tenacity and 20% basic
arithmetic.
8)
tom
--
non,
m
n = 1
r = random.random
l = [(r(), r(), r(), r()) for i in xrange(n)]
def time(sorter):
l2 = []
l2.extend(l)
t0 = time.time()
sorter(l2, 2)
t1 = time.time()
return t1 - t0
tom
--
No hay banda
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I'm trying to use a regular expression to match a string containing a #
(basically i'm looking for #include ...)
I don't seem to manage to write a regular expression that matches this.
My (probably to naive) approach is: p = re.compile(r'\b#include\b)
I also tried p = re.compile(r'\b\#includ
Thanks,
That did the trick...
--
http://mail.python.org/mailman/listinfo/python-list
then set to the details; by the time i'd finished with the
details, i'd forgotten the fundamental idea! I think it's something like
using the counts to represent the ensemble properties of the population of
words, which means measuring the total distance for each word is O
#x27;test.20']
>
> This depends on the extension being nicely splittable with a single '.'
You could use os.path.splitext to do that more robustly:
>>> [name for dec,name in sorted((int(os.path.splitext(nm)[1][1:]),nm) for nm
>>> in namelist)]
tom
--
Everybody with a heart votes love
--
http://mail.python.org/mailman/listinfo/python-list
f you wanted to build an alternating group for some
obscure discrete mathematics purpose.
tom
--
The future is still out there, somewhere.
--
http://mail.python.org/mailman/listinfo/python-list
ad; i'm not sure what
the binding semantics of those are, though.
I think Brano's suggestion of using flock is a better solution.
tom
--
Gin makes a man mean; let's booze up and riot!
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, 15 Aug 2005, Peter Hansen wrote:
> Tom Anderson wrote:
>
>> Only one socket can be bound to a given port at any time, so the second
>> instance of SpecialClass will get an exception from the bind call, and
>> will be stillborn. This is a bit of a crufty h
'd probably want a __copy__ hook for classes which want special
handling, and just do a normal deep copy for everything else.
tom
--
Orange paint menace
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 17 Aug 2005, Delaney, Timothy (Tim) wrote:
> Tom Anderson wrote:
>
>> When you say [:], do you mean that you copy lists like this:
>>
>> l = someList()
>> m = []
>> m[:] = l
>
> Forwarded to python-list, where it belongs. The idiom is actually:
&g
On Wed, 17 Aug 2005, Steve Holden wrote:
> Tom Anderson wrote:
>
>> On Tue, 16 Aug 2005, Ron Adam wrote:
>>
>>> Simon Brunning wrote:
>>>
>>>> On 8/14/05, Martijn Brouwer <[EMAIL PROTECTED]> wrote:
>>>>
>>>>> I
the environment. Smalltalk weenies hold this up as one of its
greatest strengths, but to me, it just looks like there's twice as much to
learn to begin with. A good command-line smalltalk plus a python-style
simple interactive environment would be a winning combination.
Otherwise, i a
.
Tom Strickland
--
http://mail.python.org/mailman/listinfo/python-list
gives you a file-like representation of the socket, so you can read and
write data using the familiar file methods.
To accept connections from other machines, do something like this:
ss = socket.socket()
ss.bind(('', 2323))
ss.listen(5)
while True:
s, addr = ss.accept()
s.send("Hello!\r\n")
s.close()
tom
--
Eat + Read + Learn = Word
--
http://mail.python.org/mailman/listinfo/python-list
as the
sending TCP module will throttle it down so it goes out in right-sized
drips. I'm not a TCP expert, though.
Anyway, if you are going the small-writes route, make sure you set the
TCP_NODELAY flag, to turn of Nagleing on the connection. I'm not sure if
anyone mentioned that alre
On Mon, 22 Aug 2005, Steve Holden wrote:
> Tom Anderson wrote:
>
>> On Sun, 21 Aug 2005, John Walton wrote:
>>
>>> Hello, everyone. I just began school, and they already assigned us
>>> science fair. Since I'm in 8th grade, I get to do demonstrations
ld rename it Old New York to reinforce the point :).
But yes, the Netherlands is a highly civilised country - up there with
Denmark and Canada, and above the UK, France or Germany, IMNERHO. I'm not
going to bother comparing it to the US!
tom
--
This should be on ox.boring, shouldn't it?
--
http://mail.python.org/mailman/listinfo/python-list
I need to compute integral of some array function, something
like:
from scipy import *
f = lambda x: array( [sin(x),cos(x)] )
integrate.quad(f, 0, 1)
Unfortunately integrate.quad requires Float type.
Any ideas how to perform this?
Thanks,
T.Kaz.
--
http://mail.python.org/mailman/listinfo/py
> Do each function separately. The routine that scipy.integrate.quad uses
> adapts to the local conditions of the function (when the function is
> flat, it uses fewer samples; when steep, more).
It's not so easy to do it separately. I want to integrate function that
includes linalg.expm - as yo
comma. The python
grammar would only need a few changes to meet that requirement, none of
them that disruptive (mostly, you replace the expression list with a tuple
- in many cases, making explicit what was previously implicit).
> (Besides, if being an expression is good enough for '
on-disk structures), and, UIVMM, these are a minority of disks anyway.
Sorry i couldn't be more helpful!
tom
--
The revolution will not be televised. The revolution will be live.
--
http://mail.python.org/mailman/listinfo/python-list
x27;m actually rather happy
that you've done this.
I don't know about coding, but i think this might be handy in the cell
biology research that constitutes my day job ...
tom
--
Also, a 'dark future where there is only war!' ... have you seen the news
lately? -- applez
--
http://mail.python.org/mailman/listinfo/python-list
then be email.Message instances.
I'd then write the main function like this (you'll need to import
os.path):
MBOX_DIR = "/home/stevef/mail"
def CopyToBox(src, addr, dst):
in_ = file(os.path.join(MBOX_DIR, src))
out = file(os.path.join(MBOX_DIR, dst), "a")
for mail in mailbox.PortableUnixMailbox(in_, msgfactory):
if (addr in mail["from"]):
out.write(mail.as_string(True))
in_.close()
out.close()
Simple, eh?
tom
--
Also, a 'dark future where there is only war!' ... have you seen the news
lately? -- applez
--
http://mail.python.org/mailman/listinfo/python-list
w at it (barring seriously unreasonable stuff) in under a second, so
i'm happy with it.
tom
--
I content myself with the Speculative part [...], I care not for the Practick.
I seldom bring any thing to use, 'tis not my way. Knowledge is my ultimate end.
-- Sir Nicholas Gimcrack
--
http://mail.python.org/mailman/listinfo/python-list
if (order(bound, item)):
break
if (order(item, bound)):
bounds.remove(bound)
else:
bounds.append(item)
return bounds
you could use this as follows:
lines = map
right in thinking there's no such thing in the standard library? Is
there an implementation out there somewhere else? Is there a hack for
doing it with the stuff that is in the standard library?
tom
--
Ensure a star-man is never constructed!
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, 17 Sep 2005, it was written:
> Tom Anderson <[EMAIL PROTECTED]> writes:
>
>> One thing that would be rather useful in various bits of programming
>> i've done would be a mutable bitmap type. Am i right in thinking
>> there's no such th
#x27;B' class, I don't have
> to change super() calls as well.
It would indeed be very useful.
tom
--
buy plastic owl
--
http://mail.python.org/mailman/listinfo/python-list
the whole table in, then tries to find a type for each column which
will fit all the values in that column, whereas i do each cell
individually. Again, it wouldn't be too hard to do this the other way
round.
Anyway, hope this helps. Bear in mind that there are python bindings for
the R
;t conflict.
> from script import *
Don't do that. 'from script import x' is, IMNERHO, bad practice, and 'from
script import *' is exceptionally bad practice. I know a lot of people do,
but that doesn't make it right; namespaces are there for a reason.
tom
--
Science runs with us, making us Gods.
--
http://mail.python.org/mailman/listinfo/python-list
this a good way to write library code. That's not a good explanation, but
i haven't had any coffee this morning, so that's the best i can do right
now.
tom
--
Science runs with us, making us Gods.
--
http://mail.python.org/mailman/listinfo/python-list
create a new function. Currying
would be:
def arraytype(kind):
def mkarray(value):
return array.array(kind, value)
return mkarray
chars = arraytype('c')
seq = chars("tacatcgtcgacgtcgatcagtaccc")
> Lastly, you could create a wrapper class
On Wed, 21 Sep 2005, Fredrik Lundh wrote:
> Tom Anderson wrote:
>
>> There's a special hell for people who override builtins.
>
> which is, most likely, chock full of highly experienced python
> programmers.
You reckon? I've never felt the need to do it myself, an
which inspired me to write mine - which i believe has a more sophisticated
heuristic (i haven't compared them formally, but my heuristic
sophistication estimation heuristic - which is itself, of course, fairly
sophisticated - suggests that it is). Clearly, what we need is a sudoku
solver
On Mon, 19 Sep 2005, Antoon Pardon wrote:
> Op 2005-09-17, Tom Anderson schreef <[EMAIL PROTECTED]>:
>> On Fri, 16 Sep 2005, Bas wrote:
>>
>>> -any ideas how to easily incorporate advanced solving strategies?
>>> solve(problem1) and solve(problem2) give s
n be 'r', 'w' or 'a' for reading (default),
writing or appending. The file will be created if it doesn't exist
when opened for writing or appending; it will be truncated when
opened for writing.
Tom
--
http://mail.python.org/mailman/listinfo/python-list
is:
a = {}
def f(number):
a[number] = a.get(number, 0)
That effectively automatically initialises every value stored in a to
zero.
Hope this helps,
tom
--
The ``is'' keyword binds with the same precedence as ``.'', even when it's not
actually there. -- Larry Wall, Apocalypse 2
--
http://mail.python.org/mailman/listinfo/python-list
times out. Why isn't the
server accepting connections when run in a service?
Thanks,
Tom
N4010ATestService.py:
-
import win32serviceutil
import win32service
import win32event
import N4010ASocketServer
from thread import start_new_thread
class N4010ATestSe
On Tuesday 08 February 2005 16:41, Tom Brown wrote:
> Hi,
>
> I created a win32 service for XPPro called N4010ATestService.py (see
> below). The service runs as a particular user with administrative rights.
> It starts a thread that creates a simple socket server
> (N4010ASocke
I'll throw in my reccomendation for svn as well. It just works.
On Wed, 09 Feb 2005 14:01:33 -0800 (PST), Timo Virkkala <[EMAIL PROTECTED]>
wrote:
> Carl wrote:
> > What is the ultimate version control tool for Python if you are working in a
> > Windows environment?
>
> I would very much recomme
On Wednesday 09 February 2005 10:48, David Bolen wrote:
> Tom Brown <[EMAIL PROTECTED]> writes:
> > Well, I have found that it works if I launch the client on the same
> > machine as the service. It will not work from a remote machine. Any
> > ideas?
>
> Since yo
Neat the original poster shows up as a potential Phisher with a nice
big red warning in gmail.
Due to some funky header fakedness.
Don't give them your SSN. :)
I have a related question. What is PyDoc? I see it come up alot in
searches for Unit testing and python, but I've never gotten around to
It could be a bug in gmail. I wasn't actually accusing you, just
thought it was funny enough to point out. Of course you could be more
sarcastic than me who knows. :)
I'm not worried though. I believe the best strategy against Identity
theft is bad credit.
So question , do you see the big red blo
I've had great experience doing Test Driven Development. Ideally you
would do it from the start, but it is great for refactoring as well.
In any language.
One of the pitfalls to look out for is to not get too hung up on it.
In the end it's just a tool you use at your discretion. When I first
star
Are the modules just accessing the published apis for their webservices?
I'm just wondering because I used to work for a logistics mgmt
company that paid money to be a strategic partner with
FedEx/UPS/Airborn etc so that they could information on how to return
rates/print labels/generate edi's/ca
g the specs, lot's
of hoops to jump through to contiuously be certified.
I guess I care anyway because the problem domain is so interesting to
me. Maybe it's because I'm running a fever. :)
Thanks for the info.
On Mon, 14 Feb 2005 09:51:35 -0500, Gabriel Cooper
<[EMAIL PROTECT
What are you looking to do exactly? I don't know what OGL is.
On Mon, 14 Feb 2005 16:50:51 -0800 (PST), PD <[EMAIL PROTECTED]> wrote:
> Hi Everyone,
>
> I am sort of a new developer to python and working in an academic
> environment. I climbed the learning curve on wxPython far enough to get
>
Sounds like you want pickle or cpickle.
On Tue, 15 Feb 2005 19:00:31 -0800 (PST), Paul Rubin
<"http://phr.cx"@nospam.invalid> wrote:
> I've started a few threads before on object persistence in medium to
> high end server apps. This one is about low end apps, for example, a
> simple cgi on a pe
Oops missed that sorry.
Carry on.
On Wed, 16 Feb 2005 07:29:58 -0800 (PST), Paul Rubin
<"http://phr.cx"@nospam.invalid> wrote:
> Tom Willis <[EMAIL PROTECTED]> writes:
> > Sounds like you want pickle or cpickle.
>
> No, the issue is how to handle multiple
I am not a SOAP/Web Services expert!!
But I had to interface with some webservice code here at work. I was
reading on the net the complextypes didn't work or were finnicky
etc
Well I managed to get it to work on Zolera 1.7. First the code
generated from the wsdl didn't work without some e
I tried that for something not python related and I was getting
sporadic spaces everywhere.
I am assuming this is not the case in your experience?
On Tue, 22 Feb 2005 10:45:09 -0500, rbt <[EMAIL PROTECTED]> wrote:
> Andreas Lobinger wrote:
> > Aloha,
> >
> > rbt wrote:
> >
> >> Thanks guys... wh
I found this one helpful
http://diveintopython.org/
and this one
http://ibiblio.org/obp/thinkCS/python/english/
Just found this one
http://hetland.org/python/instant-python
and this page has links to many more.
http://www.python.org/doc/Intros.html
And because I'm a huge Bruce Eckel fan.
T
rivate and static thrown everywhere.
It's still good information though.
On Tue, 22 Feb 2005 18:56:24 -0500, Tom Willis <[EMAIL PROTECTED]> wrote:
> I found this one helpful
>
> http://diveintopython.org/
>
> and this one
>
> http://ibiblio.org/obp/thinkCS/pytho
ve a strong desire to replace a
really flaky commercial tool. And if I can do it with free stuff, all
the better my boss will love me.
On Tue, 22 Feb 2005 11:31:16 -0500, rbt <[EMAIL PROTECTED]> wrote:
> Tom Willis wrote:
> > I tried that for something not python related an
Ah that makes sense. I only see the behavior in pdftotext. ps2ascii
doesn't give me the layout , which for my purposes, I certainly need.
Thanks for the info, Looks like I'll keep searching for that silver bullet.:(
On Tue, 22 Feb 2005 20:07:50 -0500, rbt <[EMAIL PROTECTED]> wro
How are the expert pythoneers dealing with config files?
Is there anything similair to .net's config files or java's .properties?
A quick search on google didn't return anything that looked useful,
and I almost would expect to see some module that would be for dealing
with config information.
I
201 - 300 of 667 matches
Mail list logo