simple send only command line jabber client in python?

2005-10-25 Thread fuzzylollipop
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

Re: simple send only command line jabber client in python?

2005-10-26 Thread fuzzylollipop
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

Re: Help! Host is reluctant to install Python

2005-01-25 Thread fuzzylollipop
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

Re: Boss wants me to program

2005-06-28 Thread fuzzylollipop
you need to find another place to work -- http://mail.python.org/mailman/listinfo/python-list

Re: The ONLY thing that prevents me from using Python

2005-08-05 Thread fuzzylollipop
lazy newbie programmers, that is what the world needs more of for sure! -- http://mail.python.org/mailman/listinfo/python-list

Re: Obfuscator for Python Code

2005-08-17 Thread fuzzylollipop
i guess you didn't find anything using Google? -- http://mail.python.org/mailman/listinfo/python-list

Re: Python compiled?

2005-09-05 Thread fuzzylollipop
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

Re: DrPython debugger

2005-09-05 Thread fuzzylollipop
you havent tried Komodo then :-) -- http://mail.python.org/mailman/listinfo/python-list

Re: DrPython debugger

2005-09-05 Thread fuzzylollipop
oh I forgot about PyDev also, which is Free! -- http://mail.python.org/mailman/listinfo/python-list

Re: Why doesn't IDLE editor windows have horizontal scrollbars?

2005-09-16 Thread fuzzylollipop
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

having troubleing finding package for Twisted 1.3 for Mac OS X 10.3.x

2005-02-17 Thread fuzzylollipop
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.

Re: having troubleing finding package for Twisted 1.3 for Mac OS X 10.3.x

2005-02-18 Thread fuzzylollipop
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

Re: why python is slower than java?

2004-12-06 Thread fuzzylollipop
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

Re: opinions comments needed for improving a simple template engine.

2004-12-08 Thread fuzzylollipop
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

Re: how do I "peek" into the next line?

2004-12-13 Thread fuzzylollipop
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

Re: Python IDE

2004-12-15 Thread fuzzylollipop
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

Re: Request for Help in OpenSourcing a Project

2004-12-17 Thread fuzzylollipop
www.sourceforge.net -- http://mail.python.org/mailman/listinfo/python-list

Re: how do I "peek" into the next line?

2004-12-14 Thread fuzzylollipop
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

Re: Python IDE

2004-12-16 Thread fuzzylollipop
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

How to fix this error in the example in 6.1.4 Files and Directories

2005-04-15 Thread fuzzylollipop
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]),

Re: How to fix this error in the example in 6.1.4 Files and Directories

2005-04-15 Thread fuzzylollipop
I am running 2.3.5 -- http://mail.python.org/mailman/listinfo/python-list

Re: How to fix this error in the example in 6.1.4 Files and Directories

2005-04-15 Thread fuzzylollipop
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

Re: Determine ip address

2005-04-15 Thread fuzzylollipop
import socket print socket.gethostbyname( socket.gethostname() ) -- http://mail.python.org/mailman/listinfo/python-list

Faster os.walk()

2005-04-20 Thread fuzzylollipop
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/

Re: Faster os.walk()

2005-04-20 Thread fuzzylollipop
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.

Re: Faster os.walk()

2005-04-20 Thread fuzzylollipop
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

Re: Python as a Server vs Running Under Apache

2005-12-30 Thread fuzzylollipop
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

Re: Python as a Server vs Running Under Apache

2006-01-04 Thread fuzzylollipop
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

Re: Accessors in Python (getters and setters)

2006-07-20 Thread fuzzylollipop
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

Re: function v. method

2006-07-20 Thread fuzzylollipop
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

Re: function v. method

2006-07-21 Thread fuzzylollipop
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

Re: An optparse question

2006-07-21 Thread fuzzylollipop
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

Re: function v. method

2006-07-24 Thread fuzzylollipop
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...

Re: function v. method

2006-07-24 Thread fuzzylollipop
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

Re: Announcing Switch, the CSS Preprocessor!

2006-08-09 Thread fuzzylollipop
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.

Anyone have a link handy to an RFC 821 compliant email address regex for Python?

2006-08-16 Thread fuzzylollipop
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

Re: Python to use a non open source bug tracker?

2006-10-04 Thread fuzzylollipop
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

Re: 10GB XML Blows out Memory, Suggestions?

2006-06-06 Thread fuzzylollipop
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

Re: 10GB XML Blows out Memory, Suggestions?

2006-06-06 Thread fuzzylollipop
[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

Re: 10GB XML Blows out Memory, Suggestions?

2006-06-07 Thread fuzzylollipop
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

Re: 10GB XML Blows out Memory, Suggestions?

2006-06-08 Thread fuzzylollipop
[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

Re: 10GB XML Blows out Memory, Suggestions?

2006-06-08 Thread fuzzylollipop
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

Re: Pros/Cons of Turbogears/Rails?

2006-08-27 Thread fuzzylollipop
[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

Re: Pros/Cons of Turbogears/Rails?

2006-08-31 Thread fuzzylollipop
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

Re: Pros/Cons of Turbogears/Rails?

2006-08-31 Thread fuzzylollipop
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

Re: Pros/Cons of Turbogears/Rails?

2006-08-31 Thread fuzzylollipop
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 >

Re: Pros/Cons of Turbogears/Rails?

2006-08-31 Thread fuzzylollipop
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,

Re: IDE

2006-09-06 Thread fuzzylollipop
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

Re: Is there a maximum length of a regular expression in python?

2006-01-24 Thread fuzzylollipop
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

Re: Dealing with marketing types...

2005-06-10 Thread fuzzylollipop
get your resume in order and start looking . . . -- http://mail.python.org/mailman/listinfo/python-list

Re: Dealing with marketing types...

2005-06-10 Thread fuzzylollipop
i think he was actually referering the the architecture astronauts that Joel Spolskyl was talking about -- http://mail.python.org/mailman/listinfo/python-list

Re: Dealing with marketing types...

2005-06-10 Thread fuzzylollipop
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

Re: Dealing with marketing types...

2005-06-13 Thread fuzzylollipop
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

Re: Dealing with marketing types...

2005-06-13 Thread fuzzylollipop
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.

What is wrong with the Python home page?

2006-05-02 Thread fuzzylollipop
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/

Re: which is better, string concatentation or substitution?

2006-05-07 Thread fuzzylollipop
niether .join() is the fastest -- http://mail.python.org/mailman/listinfo/python-list

How to log only one level to a FileHandler using python logging module.

2006-05-16 Thread fuzzylollipop
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

Re: Simple DAV server?

2006-05-20 Thread fuzzylollipop
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