Re: Tiny/small/minimalist Python?

2007-07-01 Thread Paul Rubin
rtk <[EMAIL PROTECTED]> writes: > I'm looking for information on building a tiny/small/minimalist/ > vanilla python interpreter. One that implements the core language and > a few of the key modules but isn't tied to any specific operating > system. You've gotten good suggestions about Python conf

Re: Tiny/small/minimalist Python?

2007-07-01 Thread Campbell Barton
Cameron Laird wrote: > In article <[EMAIL PROTECTED]>, > rtk <[EMAIL PROTECTED]> wrote: >> I'm looking for information on building a tiny/small/minimalist/ >> vanilla python interpreter. One that implements the core language and >> a few of the key modules but isn't tied to any specific operating

Re: How to uninstall packages

2007-07-01 Thread Jorge Vargas
On 7/1/07, Rustom Mody <[EMAIL PROTECTED]> wrote: > Yeah sure thats what is (finally) working but its never clear upfront > for a package what its dependency needs are -- linux version of DLL > hell. And it gets worse for systems that are little worlds in > themselves like python, ruby, eclipse, w

Re: Reversing a string

2007-07-01 Thread Martin Durkin
[EMAIL PROTECTED] (Alex Martelli) wrote in news:[EMAIL PROTECTED]: > Martin Durkin <[EMAIL PROTECTED]> wrote: >... >> >> def rev(x): >> >>> mylist = [] >> >>> for char in x: >> >>> mylist.append(char) >> >>> mylist.reverse() >> >>>

Probably simple syntax error

2007-07-01 Thread Dustin MacDonald
Hi everyone. This is my first time posting to this newsgroup, and although I maintain my netiquette I might've missed something specific to the newsgroup, so hopefully you can avoid flaming me if I have :) I apologize for the length of this post but I figure the more information the better. My pr

Is there a hadoop read/write module?

2007-07-01 Thread wang yingqi
hi all anyone knows? is there a hadoop read/write client module for python yet?or any projects in developing? thanks all. -- Regards. wangyingqi -- http://mail.python.org/mailman/listinfo/python-list

Re: Probably simple syntax error

2007-07-01 Thread Gary Herron
Dustin MacDonald wrote: > Hi everyone. > > This is my first time posting to this newsgroup, and although I > maintain my netiquette I might've missed something specific to the > newsgroup, so hopefully you can avoid flaming me if I have :) I > apologize for the length of this post but I figure the

RE: Probably simple syntax error

2007-07-01 Thread Delaney, Timothy (Tim)
Dustin MacDonald wrote: > [code] > randomizing_counter = 0 > # Put the loop counter for the randomizing to zero. > until_val = 36 > # Set the "until val" to 36. We'll compare them to make sure we're not > at the end of our wordlist_both. > > while randomizing_counter < until_val: > big_rand

Re: Reversing a string

2007-07-01 Thread Paul Rubin
Martin Durkin <[EMAIL PROTECTED]> writes: > Is it just a matter of reading *all* the documentation before I start > coding? It's worth spending an hour or two reading through the library manual, yes. -- http://mail.python.org/mailman/listinfo/python-list

Re: Probably simple syntax error

2007-07-01 Thread Mark Peters
> **weights_array(randomizing_counter) = small_randomized_int > > The starred line is the one getting the error message: "SyntaxError: > can't assign to function call" > > Now, I do understand what this means. I'm trying to assign to a > function instead of the value that the function shoul

Re: unicode

2007-07-01 Thread Martin v. Löwis
> ooops. I mean is that the same as print calling > u_str.encode(sys.stdout.encoding)? Almost. It's rather u_str.encode(sys.stdout.encoding or sys.getdefaultencoding()) (in case sys.stdout.encoding isn't set) Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: how to send files via bluetooth with python to a mobile

2007-07-01 Thread Drex
Hello, > > seams thatpythonbindings are already there? > >http://dev.zuckschwerdt.org/openobex/wiki/ObexFtpExampleClientPython > > Cool, didn't find that. thanks, this looks to be what I was looking for! regards dz -- http://mail.python.org/mailman/listinfo/python-list

Re: howto resend args and kwargs to other func?

2007-07-01 Thread Bruno Desthuilliers
Frank Swarbrick a écrit : > dmitrey wrote: > >> Thanks all, I have solved the problem. > > > Why do people do this without posting what the actual solution is Probably because those people think usenet is a free help desk ? -- http://mail.python.org/mailman/listinfo/python-list

<    1   2