Re: New Python 3.0 string formatting - really necessary?

2008-12-20 Thread r
On Dec 20, 6:05 pm, Roy Smith wrote: > In article > , > >  walterbyrd wrote: > > On Dec 19, 10:25 am, Michael Torrie wrote: > > > > Personally the new string formatter is sorely needed in Python.   > > > Really? You know, it's funny, but when I read problems that people > > have with python, I d

Re: New Python 3.0 string formatting - really necessary?

2008-12-20 Thread r
On Dec 20, 5:27 pm, walterbyrd wrote: > On Dec 19, 10:25 am, Michael Torrie wrote: > > > Personally the new string formatter is sorely needed in Python.   > > Really? You know, it's funny, but when I read problems that people > have with python, I don't remember seeing that. Loads of people > com

Re: New Python 3.0 string formatting - really necessary?

2008-12-20 Thread r
Just to be on record, i am OK with adding a new way to do this as long as the old C style str format does not ever go away. I don't like 20 ways to do the same thing, but i really like the compact way of %formating now. My complaint is the deprecation of %formating. Maybe i'll use the new syntax to

Re: New Python 3.0 string formatting - really necessary?

2008-12-20 Thread r
Thanks, i understand. Maybe some of the pro "new syntax" guys will show a translation -- http://mail.python.org/mailman/listinfo/python-list

Re: New Python 3.0 string formatting - really necessary?

2008-12-20 Thread r
Walter, Would you be kind enough to translate this code to the new syntax? >>> s = 'python' >>> n = 12 >>> f = 1.3 >>> '%s %05d %0.2f' %(s,n,f) 'python 00012 1.33' i want to see how casting is handled. Thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: New Python 3.0 string formatting - really necessary?

2008-12-19 Thread r
On Dec 19, 10:04 pm, Steve Holden wrote: > r wrote: > > Thanks Steven, > > We need a real Pepsi challenge here to show the insignificance of this > > change. I am not against change. But when we lose something as - > > compact- as %formating i'm going to want to s

Re: New Python 3.0 string formatting - really necessary?

2008-12-19 Thread r
Thanks Steven, We need a real Pepsi challenge here to show the insignificance of this change. I am not against change. But when we lose something as - compact- as %formating i'm going to want to see a damn good reason for it! Especially when this breaks code, and the "French Connection" is not good

Re: New Python 3.0 string formatting - really necessary?

2008-12-19 Thread r
Scott, Oh, so Python 3.0 is an Equal Opportunity Enigma, now i get it :D Steve, Obviously i was referring to the look, not the actuality of a tuple Marc, Why move away from a concise and widely accepted way of sting formatting, just to supposedly make it a little easier for n00bs? (which i disagr

Re: New Python 3.0 string formatting - really necessary?

2008-12-19 Thread r
~Michael, What’s next down this road of self destruction? Hey guys, forget about about empty parenthesis on a function/method call, we should not have to waste are time typing them… Wait forget about them all together and we will just write Ruby code… Def function arg arg arg arg arg arg “Yea, t

Re: New Python 3.0 string formatting - really necessary?

2008-12-19 Thread r
I was actually looking forward to 3.0, but the more I hear about 3.0, the more I am turned off. I think there are a lot of other pythonista's and pythoneers out there who agree but are not saying anything. This syntax for string formatting is completely ridiculous. What is the purpose of breaking b

Re: New Python 3.0 string formatting - really necessary?

2008-12-19 Thread r
if 3.0 looks like... print( "{0}={1}".format('this',99)) , WTF... thats retarded and looks like Ruby code. Thats not intuitive thats madness! What happens when you need a conversion to string from an integer, more code?? My faith is slipping. Have the python Gods gone mad??. Please tell me i am wro

Re: Tkinter unbinding

2008-12-18 Thread r
On Dec 18, 1:48 pm, Roger wrote: > On Dec 18, 12:49 pm, r wrote: > > > Maybe someone will chime in with an answer, sorry i could not help. > > ponder this, i must... > > Regardless, thanks for your help! I truly appreciate it. > > Roger. 'no problema mi amig

Re: IDLE cursor color

2008-12-18 Thread r
also try the python forum, great place for beginners... http://www.python-forum.org/pythonforum/index.php -- http://mail.python.org/mailman/listinfo/python-list

Re: IDLE cursor color

2008-12-18 Thread r
in IDLE go to: Options -> Configure IDLE -> Highlighting... 1.) in the box click the word "cursor" 2.) press the button that says "Choose Color for" 3.) Pick a color and save the changes viola! you did it! :) -- http://mail.python.org/mailman/listinfo/python-list

Re: Tkinter unbinding

2008-12-18 Thread r
Maybe someone will chime in with an answer, sorry i could not help. ponder this, i must... -- http://mail.python.org/mailman/listinfo/python-list

Re: Tkinter unbinding

2008-12-18 Thread r
Yea, my answer was really not a helping answer(sorry) just showing exactly why this will not work with w.unbind(). Why do you need two separate functions to bind the same event?? You cannot combine the two?? -- http://mail.python.org/mailman/listinfo/python-list

Re: Tkinter unbinding

2008-12-18 Thread r
w.unbind ( sequence, funcid=None ) This method deletes bindings on w for the event described by sequence. If the second argument is a callback bound to that sequence, that callback is removed and the rest, if any, are left in place. If the second argument is omitted, all bindings are deleted. see

Re: Why no lexical scoping for a method within a class?

2008-12-17 Thread r
On Dec 17, 12:20 pm, walterbyrd wrote: > On Dec 17, 10:00 am, r wrote: > > > When writing > > procedural code how would you like it if vars inside functions were > > automatically global. Your code with be blowing chunks in no time. > > That was my point - I con

Re: Why no lexical scoping for a method within a class?

2008-12-17 Thread r
I think there is a simpler answer to all this(not to take away from the other ones here though which are all great). When writing procedural code how would you like it if vars inside functions were automatically global. Your code with be blowing chunks in no time. Thats the reason for global declar

Re: Need help improving number guessing game

2008-12-16 Thread r . drew . davis
On Dec 15, 1:29 pm, feba wrote: > 6; can anyone think of anything else to add on to/do with this game? > With the minr/maxr display, multiplayer, score keeping, and > automation, I'm just about all of ideas. All I can think of left to > add is 3 and 4 player modes, or a fork where player 2 can't

Re: Python is slow

2008-12-16 Thread r
On Dec 16, 5:47 pm, "James Mills" wrote: > On Wed, Dec 17, 2008 at 9:08 AM, r wrote: > > What about all the crap you had to go through just to get output? > > Python wins > > Yes I can't say I really enjoy writing C (at all!) > _except_ in the case wh

Re: Python is slow

2008-12-16 Thread r
What about all the crap you had to go through just to get output? Python wins PS. cm_gui try this piece of code >>> print 'hello world'.replace('world', 'idiot') -- http://mail.python.org/mailman/listinfo/python-list

Re: Python is slow

2008-12-16 Thread r
On Dec 15, 7:15 am, Luis M. González wrote: > On Dec 15, 1:38 am, cm_gui wrote: > > > hahaha, do you know how much money they are spending on hardware to > > make > > youtube.com fast??? > > > > By the way... I know of a very slow Python site called YouTube.com. In > > > fact, it is so slow that

Re: What does the at sign do?

2008-12-16 Thread r
Google "python decorators" -- http://mail.python.org/mailman/listinfo/python-list

Re: 1 or 1/0 doesn't raise an exception

2008-12-13 Thread r
> Let me just point out that unsuspecting people (like me) might rely on > the whole expression to be evaluated and rely on exceptions being > raised if needed. This happens when people assume something ;) Use a different construct if you want to catch error's, I don't understand how you could not

Re: 1 or 1/0 doesn't raise an exception

2008-12-13 Thread r
These are just the kind of things that make Python so beautiful ;) Thanks Guido! -- http://mail.python.org/mailman/listinfo/python-list

Re: Deeper tracebacks?

2008-12-12 Thread R. Bernstein
"Gabriel Genellina" writes: .. > No, last_traceback is the last *printed* traceback in the interactive > interpreter. Well more precisely the traceback that is passed to sys.excepthook() when an unhandled exception occcurs, since the hook that might not decide to print anything ;-) > Use the t

Re: newbie question...

2008-12-12 Thread r
i was just giving you an example from my TextEditor.py script. this is how arg works lets say you have a script named MyScript.py --- import sys print sys.argv --- call the script with arguments > MyScript.py 99 100 ['C:\\Python25\\MyScript.py', '99', '100'] int(sys.argv[1]) -> 99 -- http://mail

Re: newbie question...

2008-12-12 Thread r
yes, but your script will need to know hoe to handle this.the following will open a file who's name was passed to the script if len(sys.argv) > 1: try: open_file(fname=sys.argv[1]) except: pass -- http://mail.python.org/mailman/listinfo/python-list

Re: pydb 1.24

2008-12-11 Thread R. Bernstein
J Kenneth King writes: > > I watched the demo video, look forward to working with it. Any links to > that emacs front-end being used in the video? > > Cheers and thanks! In short, the emacs code is bundled in with the tar and should be installed when you run "make install" However if you inst

Re: Preventing execution of a method

2008-12-11 Thread r
> And of course -now- I realise that the OP was asking for protecting > methods. Please disregard my last post :) Alex23, Are you telling me that you do not know how to YANK your own post? I find that hard to believe. ;) -- http://mail.python.org/mailman/listinfo/python-list

Custom debugger trace hooks

2008-12-11 Thread R. Bernstein
A colleague recently asked this: Is there a cleaner way to dump a trace/track of running a python script. With Pydb I made work-around with import pydb pydb.debugger(dbg_cmds=['bt', 'l', 's']*300 + ['c']) So now I have a dump of 300 steps with backtraces, so I can easily compar

Re: sys.settrace 'call' event behavior

2008-12-11 Thread R. Bernstein
On Jun 21, 8:47 am, Michal Kwiatkowski <[EMAIL PROTECTED]> wrote: > I'm building a tool to trace all function calls usingsys.settrace > function from the standard library. One of the awkward behaviors of > this facility is that the class definitions are reported as 'call' > events.[1] Since I don't

Re: Deeper tracebacks?

2008-12-11 Thread R. Bernstein
brooklineTom <[EMAIL PROTECTED]> writes: > I want my exception handler to report the method that originally > raised an exception, at the deepest level in the call-tree. Let give > an example. > > import sys, traceback > class SomeClass: > def error(self): > """Raises an AttributeError

Re: trace module and doctest

2008-12-11 Thread R. Bernstein
On Nov 22 2007, 4:31 pm, [EMAIL PROTECTED] (John J. Lee) wrote: > [EMAIL PROTECTED] writes: > > I am trying to use thetracemodulewith the --count flag to test for > > statement coverage in my doctests. Thetracecoverage listing is very > > weird, marking many statements as unexecuted which were cle

pydb 1.24

2008-12-10 Thread R. Bernstein
This release is to clear out some old issues. It contains some bugfixes, document corrections, and enhancements. Tests were revised for Python 2.6 and Python without readline installed. A bug involving invoking from ipython was fixed. The "frame" command is a little more like gdb's. Exceptions are

Re: Guido's new method definition idea

2008-12-06 Thread r
Bad idea having two ways to do this. Pick one or the other! -- http://mail.python.org/mailman/listinfo/python-list

Re: HELP!...Google SketchUp needs a Python API

2008-12-06 Thread r
[Lie] Sketchup's target users is not power users but those who need quick sketches, so scripting isn't an extremely important feature in Sketchup.[/Lie] Your Wrong, SketchUp PRO is marketed at ACAD users and other high profile CAD and CAM applications. SketchUp models can be exported to ACAD and A

Re: Pythonic design patterns

2008-12-06 Thread r . grimm
Hallo, > users in this forum has been kind enough to point out. Only my > implementations are often not that clean, and I may call things > something different than the normal convention, which is a source of > confusion for myself and others trying to communicate with me. I think, you should start

Re: HELP!...Google SketchUp needs a Python API

2008-12-02 Thread r
"If we can laugh what else would we do" I'd like to touch also on some comments by ajaksu: [ajaksu] I'd like to try hacking some form of Python to work in SketchUp (on top of Ruby, that is). Now, why won't I try to? I'm a Linux user and we don't get a SU version. So much for FREEDOM. BTW, some thi

Re: HELP!...Google SketchUp needs a Python API

2008-12-02 Thread r
I added you name to my "for" list. thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: HELP!...Google SketchUp needs a Python API

2008-12-02 Thread r
OK...so here are the stat's so far. 6+BDFL - who would support my crazy idea, or think it -might- be ok 11 - who are on the fence 6 - who think this is a complete waste of time, a stupid idea, or just simply want to kill me -> from these stats i can deduce the following: total_members_comp.lang.p

Re: HELP!...Google SketchUp needs a Python API

2008-12-02 Thread r
"The devils in the details" -- http://mail.python.org/mailman/listinfo/python-list

Re: HELP!...Google SketchUp needs a Python API

2008-12-02 Thread r
At least -someone- besides myself has a sense of humor around here. PS James, i will look through my contact list and send you a few "easy" numbers... good luck :) -- http://mail.python.org/mailman/listinfo/python-list

"server chain" with python socket module

2008-12-02 Thread B R
dear all, I want to connect my A machine to the E server via servers B, C and D, is there a way to set-up such "server chain" with python socket module (or other module) ? many thanks boris vn%ibo%ris[at]hotmail.com _ News, entertain

Re: HELP!...Google SketchUp needs a Python API

2008-12-01 Thread r
PS james, Since you are alex23's friend, do the world a favor...PLEASE GET ALEX LAID...before it's too late! -- http://mail.python.org/mailman/listinfo/python-list

Re: HELP!...Google SketchUp needs a Python API

2008-12-01 Thread r
Ok, so i was wrong about you =) -- http://mail.python.org/mailman/listinfo/python-list

Re: HELP!...Google SketchUp needs a Python API

2008-12-01 Thread r
alex23, Ok...you don't like my idea...so why keep responding? ajaksu, You insulted me and accused me of trolling, but it looks like your interested. And you also included links. I think your really on board and just can't say it yet *wink*. Thank You Aaron, I agree to disagree with you...although

Re: HELP!...Google SketchUp needs a Python API

2008-12-01 Thread r
Rome is Burning! Pay particular attention to the second paragraph. Narcissistic culture Main article: The Culture of Narcissism Historian and social critic Christopher Lasch described this topic in his book, "The Culture of Narcissism",[3] published in 1979. He defines a narcissistic culture as

Re: pydoc enforcement.

2008-11-30 Thread r
I support any idea that supports python. You have my vote friend! -- http://mail.python.org/mailman/listinfo/python-list

Re: HELP!...Google SketchUp needs a Python API

2008-11-30 Thread r
Aaron Brady wrote: > That's circular: Sketchup is the first step within the Sketchup > movement. Dear God...I have entered the twilight zone! This is the Python movement(comp.lang.python)? get it? To move you must first take a step. Lest you never move. "I" am the BDFL of the SketchUp-Python int

Re: HELP!...Google SketchUp needs a Python API

2008-11-30 Thread r
The "first step" simply meant..."within this movement"...Not that there exist no "other" Python API's. -- http://mail.python.org/mailman/listinfo/python-list

Re: HELP!...Google SketchUp needs a Python API

2008-11-29 Thread r
Greg, You have made my week friend! I had given up hope that anybody cared about Python! -- http://mail.python.org/mailman/listinfo/python-list

Re: HELP!...Google SketchUp needs a Python API

2008-11-29 Thread r
After careful consideration and much pondering of the subject, I will NOT retract my words. And I will give you truthful answers for my reasons. People have said that i ripped Ruby in my promotion of Python. This just IS NOT True. Lets go over the facts here, and let them speak louder than words.

Re: Pycon 2009

2008-11-28 Thread r
do you have any suggestions where? I am not as versed as you in Usenet. -- http://mail.python.org/mailman/listinfo/python-list

Re: HELP!...Google SketchUp needs a Python API

2008-11-28 Thread r
Look what you made the BDFL do!! Now he is sending Python to hell! :) -- http://mail.python.org/mailman/listinfo/python-list

Re: HELP!...Google SketchUp needs a Python API

2008-11-28 Thread r
Arron, i give you an A++ just for writing a longer post than me =D -- http://mail.python.org/mailman/listinfo/python-list

Re: Pycon 2009

2008-11-28 Thread r
Sorry friend, i could not view your link, but if you are trying to garner support for python nobody here cares. I have already been lynched by the community for tying to promote python. see the thread: http://groups.google.com/group/comp.lang.python/browse_thread/thread/0c403b827231b9a4?hl=en# Yo

Re: HELP!...Google SketchUp needs a Python API

2008-11-28 Thread r
Let me clear up a few things. Sometimes when you read a post you can mis-interpret the posters feelings(i have been guilty of this myself, I took Chris's post the wrong way when he was clearly not being rude) 1.) Do i personally like Ruby? No 2.) Do i want to remove Ruby from the world? No 3.) Do

Re: HELP!...Google SketchUp needs a Python API

2008-11-28 Thread r
Terry, are you saying you want to join the push for Python? i would love to have you aboard! -- http://mail.python.org/mailman/listinfo/python-list

Re: HELP!...Google SketchUp needs a Python API

2008-11-28 Thread r
Terry, In my haste I may have miss-read your post...Are you saying that there are people who WOULD support Python in SketchUp? Are you one of them? Can you tell me who else may be interested? How can i contact these people? -- http://mail.python.org/mailman/listinfo/python-list

Re: HELP!...Google SketchUp needs a Python API

2008-11-28 Thread r
Terry, I in my haste I may have miss-read your post...Are you saying that there are people who WOULD support Python in SketchUp? Are you one of them? Can you tell me who else may be interested? How can i contact these people? -- http://mail.python.org/mailman/listinfo/python-list

Re: HELP!...Google SketchUp needs a Python API

2008-11-28 Thread r
You know i wonder how many people saw that the link to the OP had 30,40 replies and they said...WOW it looks like the community is getting behind a project to host Python, I had better check this out! Then when they opened the link and saw all the negative responses from well known posters...either

Re: HELP!...Google SketchUp needs a Python API

2008-11-28 Thread r
You know i wonder how many people saw that the link to the OP had 30,40 replies and they said...WOW it looks like the community is getting behind a project to host Python, I had better check this out! Then when they opened the link and saw all the negative responses from well known posters...either

Re: HELP!...Google SketchUp needs a Python API

2008-11-28 Thread r
OK people, where back to 2 for Python and i will not even mention the one's against. I thought Terry was 50% onboard but he has just made his choice known. I would have liked to have you on board Terry, and will forgive if you change your mind. -- http://mail.python.org/mailman/listinfo/python-li

Re: HELP!...Google SketchUp needs a Python API

2008-11-28 Thread r
Oh Python, where art thy faithful followers, thy house is crumbling, thy last breath spent, thy season draweth nigh...Ye have fought bravely for all that is good. But ye are encompassed on all sides by evil. Those who proclaim to love you are only the very same who seek your end! Weep oh lovers of

Re: HELP!...Google SketchUp needs a Python API

2008-11-28 Thread r
On Nov 28, 2:43 pm, r <[EMAIL PROTECTED]> wrote: > On Nov 28, 2:24 pm, [EMAIL PROTECTED] wrote: > > > > > On Nov 28, 6:15 am, Bruno Desthuilliers > > [EMAIL PROTECTED]> wrote: > > > r a écrit : > > > > On Nov 28, 12:52 am, [EMAIL PROTECTED] wr

Re: HELP!...Google SketchUp needs a Python API

2008-11-28 Thread r
On Nov 28, 2:24 pm, [EMAIL PROTECTED] wrote: > On Nov 28, 6:15 am, Bruno Desthuilliers > > > [EMAIL PROTECTED]> wrote: > > r a écrit : > > > On Nov 28, 12:52 am, [EMAIL PROTECTED] wrote: > > >> On Nov 27, 10:28 pm, r <[EMAIL PROTECTED]> wrote: >

Re: HELP!...Google SketchUp needs a Python API

2008-11-28 Thread r
On Nov 28, 4:32 am, Steven D'Aprano <[EMAIL PROTECTED] cybersource.com.au> wrote: > Are you trolling? Are you some sort of agent provocateur trying to put people > *against* the idea of Python > scripting for Sketchup? If not, > you're sure doing an excellent imitation of one. I am the

Re: HELP!...Google SketchUp needs a Python API

2008-11-28 Thread r
Thanks again alex23, but did you not already post the exact same thing, can you not engage in intellectual conversation, or have you spent your last penny? -- http://mail.python.org/mailman/listinfo/python-list

Re: HELP!...Google SketchUp needs a Python API

2008-11-28 Thread r
On Nov 28, 11:52 am, r <[EMAIL PROTECTED]> wrote: > > and we're not throwing ourselves at your pet project because most of us > > don't give a monkey's toss about Sketchup. > Why should we put our time and > > energy into a piece of software that we d

Re: HELP!...Google SketchUp needs a Python API

2008-11-28 Thread r
> The fact _you_ don't like Ruby doesn't make it a bad language. If what > you want is a Python API to SketchUp, bashing Ruby certainly won't help > - quite on the contrary. And it won't help promoting Python neither. Thanks Bruno, I never said Ruby is a bad Language! do you what IMHO means?? For

Re: HELP!...Google SketchUp needs a Python API

2008-11-28 Thread r
> and we're not throwing ourselves at your pet project because most of us don't > give a monkey's toss about Sketchup. > Why should we put our time and energy > into a piece of software that we don't care about? AGAIN, I'm NOT asking you to support SKETCHUP I am asking for support for PYTHON! Di

Re: HELP!...Google SketchUp needs a Python API

2008-11-27 Thread r
> Python supporters on this list don't really care about > Python -- only money, and depravity.  you and i and the > other few, pure of heart, must fight for Python!! Unfortunatly no others besides yourself have come forward. This is not a fight for my ideas anymore as a test of the community! Y

Re: HELP!...Google SketchUp needs a Python API

2008-11-27 Thread r
On Nov 28, 12:52 am, [EMAIL PROTECTED] wrote: > On Nov 27, 10:28 pm, r <[EMAIL PROTECTED]> wrote: > > > To think...that I would preach freedom to the slaves and be lynched > > for it...IS MADNESS! > > > Not one vote for Python, not a care. I think everyone here

Re: HELP!...Google SketchUp needs a Python API

2008-11-27 Thread r
On Nov 28, 12:32 am, alex23 <[EMAIL PROTECTED]> wrote: > On Nov 28, 3:28 pm, r <[EMAIL PROTECTED]> wrote: > > > To think...that I would preach freedom to the slaves and be lynched > > for it...IS MADNESS! > > There's is madness in this thread, of that I h

Re: HELP!...Google SketchUp needs a Python API

2008-11-27 Thread r
[alex23] How much is this API -worth- to you? How much time are -you- willing to commit to developing it? If you lack the ability, how much -money- are you willing to spend on hiring the people with that ability? [/alex23] Alex, Are you telling me that out of all the great and wonderful developers

Re: HELP!...Google SketchUp needs a Python API

2008-11-27 Thread r
On Nov 27, 11:28 pm, r <[EMAIL PROTECTED]> wrote: > To think...that I would preach freedom to the slaves and be lynched > for it...IS MADNESS! > > Not one vote for Python, not a care. I think everyone here should look > deep within their self and realize the damage that has

Re: HELP!...Google SketchUp needs a Python API

2008-11-27 Thread r
To think...that I would preach freedom to the slaves and be lynched for it...IS MADNESS! Not one vote for Python, not a care. I think everyone here should look deep within their self and realize the damage that has been done today! I hope Guido's eyes never see this thread, for he may lose all hop

Re: HELP!...Google SketchUp needs a Python API

2008-11-27 Thread r
On Nov 27, 10:57 pm, George Sakkis <[EMAIL PROTECTED]> wrote: > On Nov 27, 10:45 pm, r <[EMAIL PROTECTED]> wrote: > > > I am still flabbergasted by the solid resistance to promoting Python. > > Here of all places, NOT even one person(well Terry did kinda half > >

Re: HELP!...Google SketchUp needs a Python API

2008-11-27 Thread r
On Nov 27, 10:08 pm, r <[EMAIL PROTECTED]> wrote: > On Nov 27, 9:56 pm, alex23 <[EMAIL PROTECTED]> wrote: > > > On Nov 28, 1:45 pm, r <[EMAIL PROTECTED]> wrote: > > > > Does it bother you that i am so ambitious[...] Answer that if > > > you are a

Re: HELP!...Google SketchUp needs a Python API

2008-11-27 Thread r
On Nov 27, 9:56 pm, alex23 <[EMAIL PROTECTED]> wrote: > On Nov 28, 1:45 pm, r <[EMAIL PROTECTED]> wrote: > > > Does it bother you that i am so ambitious[...] Answer that if > > you are a man. [...] Do you feel you should give back or just > > take, take, take

Re: HELP!...Google SketchUp needs a Python API

2008-11-27 Thread r
On Nov 27, 9:31 pm, alex23 <[EMAIL PROTECTED]> wrote: > On Nov 28, 12:49 pm, r <[EMAIL PROTECTED]> wrote: > > > Well... 3 for Ruby 1 for python. Not looking good so far. Any more > > votes? > > I don't see -any- of the responses in this thread "

Re: HELP!...Google SketchUp needs a Python API

2008-11-27 Thread r
On Nov 27, 8:01 pm, r <[EMAIL PROTECTED]> wrote: > On Nov 27, 7:40 pm, Terry Reedy <[EMAIL PROTECTED]> wrote: > > > r wrote: > > > On Nov 27, 6:15 pm, Terry Reedy <[EMAIL PROTECTED]> wrote: > > >> r wrote: > > >>> Hello fellow Pyt

Re: HELP!...Google SketchUp needs a Python API

2008-11-27 Thread r
On Nov 27, 7:40 pm, Terry Reedy <[EMAIL PROTECTED]> wrote: > r wrote: > > On Nov 27, 6:15 pm, Terry Reedy <[EMAIL PROTECTED]> wrote: > >> r wrote: > >>> Hello fellow Python Advocates! > >>> Help me promote Python t

Re: HELP!...Google SketchUp needs a Python API

2008-11-27 Thread r
On Nov 27, 7:13 pm, alex23 <[EMAIL PROTECTED]> wrote: > On Nov 28, 10:09 am, r <[EMAIL PROTECTED]> wrote: > > > Are you against promoting python? > > > Maybe your a Ruby fan, i don't know, but that > > would explain your quick disposal of the idea

Re: HELP!...Google SketchUp needs a Python API

2008-11-27 Thread r
On Nov 27, 6:15 pm, Terry Reedy <[EMAIL PROTECTED]> wrote: > r wrote: > > Hello fellow Python Advocates! > > Help me promote Python to a larger audience. > > > An introduction to SketchUp: > > > > There is no need to puff up Python

Re: HELP!...Google SketchUp needs a Python API

2008-11-27 Thread r
On Nov 27, 5:42 pm, r <[EMAIL PROTECTED]> wrote: > On Nov 27, 5:38 pm, "Chris Rebert" <[EMAIL PROTECTED]> wrote: > > > > > On Thu, Nov 27, 2008 at 3:33 PM, r <[EMAIL PROTECTED]> wrote: > > > On Nov 27, 5:27 pm, "Chris Rebert" <

Re: HELP!...Google SketchUp needs a Python API

2008-11-27 Thread r
On Nov 27, 5:38 pm, "Chris Rebert" <[EMAIL PROTECTED]> wrote: > On Thu, Nov 27, 2008 at 3:33 PM, r <[EMAIL PROTECTED]> wrote: > > On Nov 27, 5:27 pm, "Chris Rebert" <[EMAIL PROTECTED]> wrote: > >> On Thu, Nov 27, 2008 at 3:18 PM, r <[EM

Re: HELP!...Google SketchUp needs a Python API

2008-11-27 Thread r
On Nov 27, 5:27 pm, "Chris Rebert" <[EMAIL PROTECTED]> wrote: > On Thu, Nov 27, 2008 at 3:18 PM, r <[EMAIL PROTECTED]> wrote: > > Hello fellow Python Advocates! > > Help me promote Python to a larger audience. > > > An introduction to SketchUp: > &

HELP!...Google SketchUp needs a Python API

2008-11-27 Thread r
Hello fellow Python Advocates! Help me promote Python to a larger audience. An introduction to SketchUp: I don't know if you are familiar with "Google Sketchup". It is the best 3d CAM program available. If you have not checked it out and do modeling of any kind, or want to lea

Re: iterating over a variable which could be None, a single object, or a list

2008-11-27 Thread r
On Nov 27, 8:57 am, Roy Smith <[EMAIL PROTECTED]> wrote: > In article <[EMAIL PROTECTED]>, >  "adam carr" <[EMAIL PROTECTED]> wrote: > > > I call a function get_items() which returns a list of items. > > However, in some cases, it returns just one item. > > It returns the item as an object though,

Re: hello from colombia

2008-11-26 Thread r
On Nov 26, 2:58 pm, fel <[EMAIL PROTECTED]> wrote: > I work in a small software company using php all day, I wish the usage > of Python was more common within my company > they are starting a new project (insurance stuff) using Java, and I > just hate that eventually I'l be debugging someone-else's

Re: help with class

2008-11-26 Thread r
 #import gzip > >       5    def __init__(self,file): > >       6       self.file = file > >       7    def open_file(self): > >       8       try: > >       9          print "file: %s" % self.file > >      10          self.xml_file = gzip.GzipF

Re: Reg Expression - Get position of >

2008-11-25 Thread r
On Nov 25, 4:33 pm, Jorgen Grahn <[EMAIL PROTECTED]> wrote: > On Tue, 25 Nov 2008 12:41:53 -0800 (PST), r <[EMAIL PROTECTED]> wrote: > > On Nov 25, 10:36 am, M_H <[EMAIL PROTECTED]> wrote: > >> Hey, > > >> I need the position of the last char > > > >> Let's say I have a string > >> mystr =  

Re: confused about classes and tkinter object design

2008-11-25 Thread r
On Nov 25, 2:31 pm, r <[EMAIL PROTECTED]> wrote: > On Nov 25, 10:38 am, marc wyburn <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > I've created my first Tkinter GUI class which consists of some buttons > > that trigger functions.  I have also

Re: Reg Expression - Get position of >

2008-11-25 Thread r
On Nov 25, 10:36 am, M_H <[EMAIL PROTECTED]> wrote: > Hey, > > I need the position of the last char > > > Let's say I have a string > mystr =  

Re: confused about classes and tkinter object design

2008-11-25 Thread r
On Nov 25, 10:38 am, marc wyburn <[EMAIL PROTECTED]> wrote: > Hi, > > I've created my first Tkinter GUI class which consists of some buttons > that trigger functions.  I have also created a > tkFileDialog.askdirectory control to local a root folder for log > files. > > I have several file paths tha

Re: confused about classes and tkinter object design

2008-11-25 Thread r
On Nov 25, 10:38 am, marc wyburn <[EMAIL PROTECTED]> wrote: > Hi, > > I've created my first Tkinter GUI class which consists of some buttons > that trigger functions.  I have also created a > tkFileDialog.askdirectory control to local a root folder for log > files. > > I have several file paths tha

Re: Quick question about None and comparisons

2008-11-24 Thread r
On Nov 24, 7:52 pm, "Giampaolo Rodola'" <[EMAIL PROTECTED]> wrote: > Sorry for the title but I didn't find anything more appropriate. > To have a less verbose code would it be ok doing: > > if a > b: > > ...instead of: > > if a is not None and a > b: > > ...? > Is there any hidden complication behi

<    4   5   6   7   8   9   10   11   12   >