Re: Tkinter Label alignment problem using OS 10.6

2010-07-31 Thread AJ
On Jul 31, 8:04 am, r wrote: > On Jul 31, 2:55 am, Peter Otten <__pete...@web.de> wrote: > > > PS: Rantingrick is right; you should use one of the other geometry managers > > Incidentally I was actually writing a version of the OP's script using > the grid manager when i found his nasty response.

Re: Tkinter Label alignment problem using OS 10.6

2010-07-31 Thread AJ
On Jul 31, 12:55 am, Peter Otten <__pete...@web.de> wrote: > AJ wrote: > > I have written a sample program that ran correctly with earlier than > > Mac OS 10.6. The answer field Label does not align correctly. I > > downloaded the latest Python 2.7 release but still did not solve the > > problem.  

Re: Tkinter Label alignment problem using OS 10.6

2010-07-31 Thread r
On Jul 31, 2:55 am, Peter Otten <__pete...@web.de> wrote: > PS: Rantingrick is right; you should use one of the other geometry managers Incidentally I was actually writing a version of the OP's script using the grid manager when i found his nasty response. So I think i'll just keep it for me self

Re: Tkinter Label alignment problem using OS 10.6

2010-07-31 Thread Peter Otten
AJ wrote: > I have written a sample program that ran correctly with earlier than > Mac OS 10.6. The answer field Label does not align correctly. I > downloaded the latest Python 2.7 release but still did not solve the > problem. Look for line "L4.place(relx=0.32,rely=0.56, anchor=W)" The underly

Re: Tkinter Label alignment problem using OS 10.6

2010-07-31 Thread Mark Young
That seems a bit harsh. Place, in general, isn't as useful as pack and grid. Yelling at him for suggesting you use them is unnecessary. When I looked at when your script generates, I don't see why you couldn't just use grid. I can fairly easily see a grid layout. But, I guess it's supposed to be a

Re: Tkinter Label alignment problem using OS 10.6

2010-07-30 Thread AJ
On Jul 30, 5:07 pm, rantingrick wrote: > On Jul 30, 6:52 pm, AJ wrote: > > > Dear users, > > > I have written a sample program that ran correctly with earlier than > > Mac OS 10.6. The answer field Label does not align correctly. I > > downloaded the latest Python 2.7 release but still did not so

Re: Tkinter Label alignment problem using OS 10.6

2010-07-30 Thread rantingrick
On Jul 30, 6:52 pm, AJ wrote: > Dear users, > > I have written a sample program that ran correctly with earlier than > Mac OS 10.6. The answer field Label does not align correctly. I > downloaded the latest Python 2.7 release but still did not solve the > problem.  Look for line "L4.place(relx=0.3

Tkinter Label alignment problem using OS 10.6

2010-07-30 Thread AJ
Dear users, I have written a sample program that ran correctly with earlier than Mac OS 10.6. The answer field Label does not align correctly. I downloaded the latest Python 2.7 release but still did not solve the problem. Look for line "L4.place(relx=0.32,rely=0.56, anchor=W)" #!/usr/bin/env py

Re: Executing WinXP commands using os module

2009-01-23 Thread M�ta-MCI (MVP)
Hi! Try: os.system("""start "" cmd /css checkout $\projectName\file -Yusername,password -c'Test comment' """) (not tested ; it's directly from my memory) @-salutations -- Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

Re: Executing WinXP commands using os module

2009-01-23 Thread pranav
On Jan 23, 5:05 pm, Chris Rebert wrote: > On Fri, Jan 23, 2009 at 3:50 AM, pranav wrote: > > Greetings, > > I am writing a code to perform operations like checkout, check-in and > > others for SS. (SS is the command line utility for Visual SafeSource, > > VSS). I am familiar with all the command

Re: Executing WinXP commands using os module

2009-01-23 Thread Chris Rebert
On Fri, Jan 23, 2009 at 3:50 AM, pranav wrote: > Greetings, > I am writing a code to perform operations like checkout, check-in and > others for SS. (SS is the command line utility for Visual SafeSource, > VSS). I am familiar with all the commands for this purpose. I know > li'l python also. > Wha

Executing WinXP commands using os module

2009-01-23 Thread pranav
Greetings, I am writing a code to perform operations like checkout, check-in and others for SS. (SS is the command line utility for Visual SafeSource, VSS). I am familiar with all the commands for this purpose. I know li'l python also. What i want to learn is how do i use the command line arguments

Re: using os

2004-11-29 Thread Jeremy Jones
Jerry Sievers wrote: Juliano Freitas <[EMAIL PROTECTED]> writes: how can i get just the directories in other directorie without a files using the os module in Python?? If there's a command for listing only dirs, I've not stumbled on it. Here's a one-liner using filter

Re: using os

2004-11-29 Thread Jerry Sievers
Juliano Freitas <[EMAIL PROTECTED]> writes: > how can i get just the directories in other directorie without a > files using the os module in Python?? If there's a command for listing only dirs, I've not stumbled on it. Here's a one-liner using filter and lambda; from os import listdir from os.

Re: using os

2004-11-29 Thread Jean Brouwers
Check the os.walk() and os.path.walk() functions. More details and some examples are at resp. /Jean Brouwers In article <[EMAIL PROTECTED]>, Juliano Freitas <[EMAIL PROTECTED]> wrote: > how

Re: using os

2004-11-29 Thread Jeffrey Froman
Juliano Freitas wrote: > how can i get just the directories in other directorie without a files > using the os module in Python?? You can test using os.path.isdir, for example: >>> import os >>> [x for x in os.listdir('.') if os.path.isdir(x)] Jeffrey -- http://mail.python.org/ma

using os

2004-11-29 Thread Juliano Freitas
how can i get just the directories in other directorie without a files using the os module in Python?? Juliano -- http://mail.python.org/mailman/listinfo/python-list