[Tutor] writing a program

2012-12-03 Thread Narguess Dadfar
Hi everyone, I need help to write a program to change the label size when change zoom level of my map in ArcGIS. Thank you, Narguess ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options:

Re: [Tutor] writing a program

2012-12-03 Thread Steven D'Aprano
On 04/12/12 03:17, Narguess Dadfar wrote: Hi everyone, I need help to write a program to change the label size when change zoom level of my map in ArcGIS. Please read this web page carefully: http://www.catb.org/esr/faqs/smart-questions.html it will provide you with the help you need. If

Re: [Tutor] writing sample program that zips files and saves in a backup directory

2009-10-14 Thread David
David Eric wrote: On Tue, Oct 13, 2009 at 5:17 PM, Kent Johnson ken...@tds.net mailto:ken...@tds.net wrote: On Tue, Oct 13, 2009 at 4:38 PM, David Eric cii...@gmail.com mailto:cii...@gmail.com wrote: as far as print zip_command, i would add that to the program however,

[Tutor] writing sample program that zips files and saves in a backup directory

2009-10-13 Thread David Eric
doing a python tutorial and one of the assignments says to develop a program that backsup files to zip files into a backup directory im using Darwin 10.0.0 unix version: this is what i came up with thus far, i did copy the sample program given but made changes for my unix OS: #!/usr/bin/env

Re: [Tutor] writing sample program that zips files and saves in a backup directory

2009-10-13 Thread Kent Johnson
On Tue, Oct 13, 2009 at 2:01 PM, David Eric cii...@gmail.com wrote: doing a python tutorial and one of the assignments says to develop a program that backsup files to zip files into a backup directory im using Darwin 10.0.0 unix version: this is what i came up with thus far, i did copy the

Re: [Tutor] writing sample program that zips files and saves in a backup directory

2009-10-13 Thread Dave Angel
David Eric wrote: doing a python tutorial and one of the assignments says to develop a program that backsup files to zip files into a backup directory im using Darwin 10.0.0 unix version: this is what i came up with thus far, i did copy the sample program given but made changes for my unix OS:

Re: [Tutor] writing sample program that zips files and saves in a backup directory

2009-10-13 Thread Dave Angel
(You top-posted, instead of adding your part to the end. That's frowned upon in a mailing list, at least in this one.) (You replied privately, and forgot to CC the tutor list. I'm forwarding it there with my response) David Eric wrote: wow thank you yes...youre right i did want to pass a

Re: [Tutor] writing sample program that zips files and saves in a backup directory

2009-10-13 Thread David Eric
On Tue, Oct 13, 2009 at 4:14 PM, Dave Angel da...@ieee.org wrote: (You top-posted, instead of adding your part to the end. That's frowned upon in a mailing list, at least in this one.) (You replied privately, and forgot to CC the tutor list. I'm forwarding it there with my response)

Re: [Tutor] writing sample program that zips files and saves in a backup directory

2009-10-13 Thread Kent Johnson
On Tue, Oct 13, 2009 at 2:58 PM, David Eric cii...@gmail.com wrote: printing the command line, would it be  print('gzip {0} {1}'.format(target, ' '.join(source))? Yes, or just print zip_command and as far as using the tar command, i have three files, file1,file2,file3 i wanted to

Re: [Tutor] writing sample program that zips files and saves in a backup directory

2009-10-13 Thread David Eric
On Tue, Oct 13, 2009 at 4:02 PM, Kent Johnson ken...@tds.net wrote: On Tue, Oct 13, 2009 at 2:58 PM, David Eric cii...@gmail.com wrote: printing the command line, would it be print('gzip {0} {1}'.format(target, ' '.join(source))? Yes, or just print zip_command and as far as using

Re: [Tutor] writing sample program that zips files and saves in a backup directory

2009-10-13 Thread Kent Johnson
On Tue, Oct 13, 2009 at 4:38 PM, David Eric cii...@gmail.com wrote: as far as print zip_command, i would add that to the program however, doesnt just declaring it actually trigger it..thus it would executed and the command line would get printed as well? I'm not sure what you mean by

Re: [Tutor] writing sample program that zips files and saves in a backup directory

2009-10-13 Thread David Eric
On Tue, Oct 13, 2009 at 5:17 PM, Kent Johnson ken...@tds.net wrote: On Tue, Oct 13, 2009 at 4:38 PM, David Eric cii...@gmail.com wrote: as far as print zip_command, i would add that to the program however, doesnt just declaring it actually trigger it..thus it would executed and the