I want to be able to send jabber messages from an subversion
post-commit hook script. All I need is a simple library to connect to a
server and send a message.
I looked at all the half-finished and overly complex projects and can't
find anything that fits the bill. What I did find I can't get to w
thanks, I found that but I can't get it to work with the server I am
using. I installed the lastest verison of the Jive Messaging Server and
it just won't authenticate against it. All my desktop clients work with
it, I can't get xmppy to work on OSX or Linux.
--
http://mail.python.org/mailman/lis
find a new host, if they can't handle simple tasks like this or simple
security tasks like limiting permissions, how can you be sure anything
else they do is secure or correct?
--
http://mail.python.org/mailman/listinfo/python-list
you need to find another place to work
--
http://mail.python.org/mailman/listinfo/python-list
lazy newbie programmers, that is what the world needs more of for sure!
--
http://mail.python.org/mailman/listinfo/python-list
i guess you didn't find anything using Google?
--
http://mail.python.org/mailman/listinfo/python-list
there are "noob" questions and there are uneducated questions, yours
are of the latter ( actually yours are STATEMENTS not questions ), and
just trolling for what it is worth, if you would take the time to read
what Python is and why it is you would not be asking these "questions".
--
http://mail
you havent tried Komodo then :-)
--
http://mail.python.org/mailman/listinfo/python-list
oh I forgot about PyDev also, which is Free!
--
http://mail.python.org/mailman/listinfo/python-list
you assume wrong, most people DONT use it that is why it is in the
crappy state it is in
there ARE MUCH BETTER ALTERNATIVES, just pick one
--
http://mail.python.org/mailman/listinfo/python-list
just got a Powerbook and need to do twisted development on it, but I
can't find a simple straight foward instructions on installing Twisted
1.3 on it.
Also the package manager at undefined.org has 1.1.0 and it doesn't work
with 10.3.x ( pre-installed Python )
any help is welcome
--
http://mail.
nope I was hoping there was a more "mac" way of doing that :-)
I will research that and see what I can get to work, I am born-again
Mac user ( last machine was a 7200 ) just got a PowerBook so I am in
re-learn mode again ( am familiar with Unix that is why I wanted the
PowerBook as a change of pac
yeah, but a lie unanswered by the truth becomes the truth.
you state opinon as fact and someone comes along reads your statement
that Python is so much slower and believes it is true because there is
no disententing voice to say, wait just a sec, this guy is clueless and
has no idea what he is tal
the ONLY way to tell what is slow is to actually profile each of the
operations, that said, start with examining object creation / memory
allocation. string concationation usually does both . . .
--
http://mail.python.org/mailman/listinfo/python-list
reads are not destructive there is nothing to "put back" becuase it is
never removed to begin with.
just change your logic and thing of about what you really need to do
--
http://mail.python.org/mailman/listinfo/python-list
TruStudio for Eclipse is nice for those everything must be free
socialists.
ActiveState Komodo is probably the best commerical Python IDE
and the ActiveState Python plugin for Visual Studio is great for those
that do VS.
--
http://mail.python.org/mailman/listinfo/python-list
www.sourceforge.net
--
http://mail.python.org/mailman/listinfo/python-list
read the orginal poster's SPECIFIC question he make only reference to a
FILE or STDIN which can't be destructively read, either way he don't
not requre the look-ahead to do what he wants. So my advice is still
valid. Think about it in a different way.
--
http://mail.python.org/mailman/listinfo/py
no it was a sideways remark at all the software socialists that thing
EVERYTHING should be free, never said anything about Eclipse, just the
people that insist ALL software should be free.
--
http://mail.python.org/mailman/listinfo/python-list
the following code is from the Python 2.3.5 docs (
http://www.python.org/doc/2.3.5/lib/os-file-dir.html )
import os
from os.path import join, getsize
for root, dirs, files in os.walk('python/Lib/email'):
print root, "consumes",
print sum([getsize(join(root, name)) for name in files]),
I am running 2.3.5
--
http://mail.python.org/mailman/listinfo/python-list
can't see the forest for the trees, that seems to be the problem,
thanks for pointing out the obvious ( that I couldn't see ) :-(
--
http://mail.python.org/mailman/listinfo/python-list
import socket
print socket.gethostbyname( socket.gethostname() )
--
http://mail.python.org/mailman/listinfo/python-list
I am trying to get the number of bytes used by files in a directory.
I am using a large directory ( lots of stuff checked out of multiple
large cvs repositories ) and there is lots of wasted time doing
multiple os.stat() on dirs and files from different methods.
--
http://mail.python.org/mailman/
du is faster than my code that does the same thing in python, it is
highly optomized at the os level.
that said, I profiled spawning an external process to call du and over
the large number of times I need to do this it is actually slower to
execute du externally than my os.walk() implementation.
ding, ding, ding, we have a winner.
One of the guys on the team did just this, he re-implemented the
os.walk() logic and embedded the logic to the S_IFDIR, S_IFMT and
S_IFREG directly into the transversal code.
This is all going to run on unix or linux machines in production so
this is not a big
as great as mod_python is, there are lots of restrictions and
limitations to what youc an do with it because of limitations of apache
itself, and I am refereing to apache 2.x as well as 1.x, like others
are saying if you don't need apache specific things it will just be one
more thing to work aroun
there are lots of things you can't do or can't do easily or can't do at
efficiently in Apache using python as cgi or as anyone would more
likely assume mod_python. anything that requires any shared state or
shared resources in Apache is next to impossible. Doing similar things
in an app server or n
Ed Jensen wrote:
> Diez B. Roggisch <[EMAIL PROTECTED]> wrote:
> > Ah, you mean like in JAVA
>
> Java is not an acronym. That is: it's "Java", not "JAVA".
>
> > where the compiler prevents you from accessing
> > private variables, but the runtime allows access to these very variables
> > via refl
danielx wrote:
> Bruno Desthuilliers wrote:
> > danielx wrote:
> > > At first I was going to post the following:
> > >
> > >
> > >
> > (snip)
> > >
> > >
> > >
> > > but then I tried this:
> > >
> > >
> > res = Foo.__dict__['func']
> > res is dan
> > >
> > > True
> > >
> > > And it all s
Antoon Pardon wrote:
> Suppose I am writing my own module, I use an underscore, to
> mark variables which are an implementation detail for my
> module.
>
> Now I need to import an other module in my module and need access
> to an implementation variable from that module. So now I have
> variables
T wrote:
> I have a short program using optparse.OptionParser that prints out help
> message with -h flag:
>
> % myprog.py -h
> usage: myprog.py [options] input_file
>
> options:
> -h, --help show this help message and exit
> -v, --verboseprint program's version number and
Gerhard Fiedler wrote:
> On 2006-07-22 16:32:38, danielx wrote:
>
> ...and source code...
> >>>
> >>> *shudders* What happened to all the goodness of abstraction?
> >>
> >> Abstraction as you seem to use it requires complete docs of the interface.
> >> Which is what you said you don't have...
Antoon Pardon wrote:
> On 2006-07-21, fuzzylollipop <[EMAIL PROTECTED]> wrote:
> >
> > Antoon Pardon wrote:
> >
> >> Suppose I am writing my own module, I use an underscore, to
> >> mark variables which are an implementation detail for my
> &g
Dave wrote:
> Powered by Mod_Python, Switch CSS is a full featured, production ready
>
> The sourceforge project link follows. We could really use some tire
> kickers... This group was invaluable in the early development process,
> so we're announcing it officially here, and on mod_python first.
I want to do email address format validations, without turning to ANTLR
or pyparsing, anyone know of a regex that is COMPLIANT with RFC 821.
Most of the ones I have found from google searches are not really as
robust as I need them to be.
--
http://mail.python.org/mailman/listinfo/python-list
Giovanni Bajo wrote:
> Hello,
>
> I just read this mail by Brett Cannon:
> http://mail.python.org/pipermail/python-dev/2006-October/069139.html
> where the "PSF infrastracture committee", after weeks of evaluation,
> recommends
> using a non open source tracker (called JIRA - never heard before o
K.S.Sreeram wrote:
> Diez B. Roggisch wrote:
> > What the OP needs is a different approach to XML-documents that won't
> > parse the whole file into one giant tree - but I'm pretty sure that
> > (c)ElementTree will do the job as well as expat. And I don't recall the
> > OP musing about performance
[EMAIL PROTECTED] wrote:
> Paul,
>
> This is interesting. Unfortunately, I have no control over the XML
> output. The file is from Goldmine. However, you have given me an
> idea...
>
> Is it possible to read an XML document in compressed format?
compressing the footprint on disk won't matter, you
Fredrik Lundh wrote:
> fuzzylollipop wrote:
>
> > you got no idea what you are talking about, anyone knows that something
> > like this is IO bound.
>
> which of course explains why some XML parsers for Python are a 100 times
> faster than other XML parsers for Python
[EMAIL PROTECTED] wrote:
> Thanks guys for all your posts...
>
> So I am a bit confusedFuzzy, the code I saw looks like it
> decompresses as a stream (i.e. per byte). Is this the case or are you
> just compressing for file storage but the actual data set has to be
> exploded in memory?
>
it w
Fredrik Lundh wrote:
> fuzzylollipop wrote:
>
> > SAX style or a pull-parser has to be used when the data is "large" or
> > when you don't really need to process every element and attribute.
> >
> > This problem looks like it is just a data expor
[EMAIL PROTECTED] wrote:
Looks like you mixing comparisons.
> Ruby:
> + More mature system. More stable? More features?
uh, no, Python predates Ruby by a good bit
Rails might be "older" than Turbogears but it still JUST went 1.0
officially.
It can't be called "mature' by any defintition.
> + M
Paul Boddie wrote:
> > fuzzylollipop wrote:
> > > uh, no, Python predates Ruby by a good bit
> > > Rails might be "older" than Turbogears but it still JUST went 1.0
> > > officially.
> > > It can't be called "mature' by any defi
Ray wrote:
> fuzzylollipop wrote:
> > uh, no, Python predates Ruby by a good bit
> > Rails might be "older" than Turbogears but it still JUST went 1.0
> > officially.
> > It can't be called "mature' by any defintition.
>
> But at least in
Paul Boddie wrote:
> fuzzylollipop wrote:
> > Paul Boddie wrote:
> > > > fuzzylollipop wrote:
> > > > > uh, no, Python predates Ruby by a good bit
> > > > > Rails might be "older" than Turbogears but it still JUST went 1.0
>
Sam Smoot wrote:
big rant snipped since Google Groups has what I responding to:
> So if you decide to reply, might I suggest spending a few minutes with
> Google to get your facts straight next time? Oh, and keeping an eye on
> the actual topic might be a good idea too.
I got my facts straight,
Aravind wrote:
> hi,
>
> i am a newbie to python but used with some developement in c++ and VB. Can
> anyone suggest me a good IDE for python for developing apps...? i've seen Qt
> designer.. some of my friends said it can be used for python also but they r
> not sure.
>
> pls help...
>
> thanks i
this should really be posted to http://www.thedailywtf.com/, I wonder
if they have a german version of TheDailyWTF.com?
--
http://mail.python.org/mailman/listinfo/python-list
get your resume in order and start looking . . .
--
http://mail.python.org/mailman/listinfo/python-list
i think he was actually referering the the architecture astronauts that
Joel Spolskyl was talking about
--
http://mail.python.org/mailman/listinfo/python-list
I was completely serious, he is _NOT_ going to win this one. He has
already lost. I have been on both sides of this scenario, the "new
guys" were brought in and will win since they are the new "experts from
out of town". There may be some other _VALID_ business reason that
management has already ma
I agree about the stiffing the guys that brought you to the party, that
was 100% the DotCom plan, offer crap salary and tonnes of "options"
then fire/replace all the people that worked for _FREE_ practically
when the next round of funding comes in, rinse, repeat.
Either way . . . I think the guy n
man this is the worst advice I have ever heard, you can't "walk away
with code" someone else paid you to write. Regardless of what your
perceived slight is.
NEVER take code you were paid to write unless you have it in writing
that you can, you will lose that one everytime.
--
http://mail.python.
I am using FireFox 1.5.2 on OS X 10.4.6 and the www.python.org ends up
being only text with just the nasa picture with the guy in the space
suit.
It looks like the CSS is hosed or something.
And trying to go to the module docs for the current release is broken
as well
--
http://mail.python.org/
niether .join() is the fastest
--
http://mail.python.org/mailman/listinfo/python-list
I want a FileHandler to only log a single level say for example
logging.INFO, and nothing else.
do I need to create a custom Handler for this or is this doable with
some magic that is not documeneted somewhere?
--
http://mail.python.org/mailman/listinfo/python-list
webfolders is broken, I have worked on webdav support at the isp level
( for millions of customers to use ) webfolders is NOT something you
should base compliancey on. It is broken so badly that we decided to
just not even test against it. We provide our customers with our own
application with whic
58 matches
Mail list logo