On Thursday 20 July 2006 08:43, Steve Nelson wrote:
> On 7/18/06, John Fouhy <[EMAIL PROTECTED]> wrote:
> > On 18/07/06, Steve Nelson <[EMAIL PROTECTED]> wrote:
> > > What I want to do is establish if the time of the process is *later*
> > > than the system date. For example, we might have a proce
We're pleased to announce the release of Version 2.0 of Software
Carpentry, an open source, Python-based course on basic software
development skills. The course materials are available at:
http://www.swc.scipy.org
Feedback and contributions are very welcome.
Thanks,
Greg Wilson
On 21/07/06, andrew clarke <[EMAIL PROTECTED]> wrote:
> A quick Google later, and it seems you need to add the following methods
> to the CWordAutomate class:
>
>def Save(self, sFilename):
>self.m_obDoc.SaveAs(sFilename)
>
>def Quit(self):
>self.m_obWord.Quit()
Check out th
Good evening all.
I am writing a program using python 2.4, glade 2 and pygtk. It takes
input from the user using textentry boxes. The input should be a number. When the user keys the data in, it
automatically left justifies. The
function below, takes the input for four boxes and rig
On Thu, Jul 20, 2006 at 01:25:26PM -0400, Andrew Robert wrote:
> I have a text file being broadcast on a web site and I would like to download
> it
> and save it as an MS Word file.
...
> I found the following code on the web that comes close to what i need.
>
> It:
>
> - - reads a file pass
>> Do you have any questions so far about this? Some kind of model like
>> this is necessary to understand the situation you're seeing now, so
>> please feel free to ask if any part of this is confusing.
>>
> But in the following example, a change in a spread to both b and c:
a=[[1,2,3], [4
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Everyone,
I have a text file being broadcast on a web site and I would like to download
it
and save it as an MS Word file.
The download from web is relatively painless.
#!C:\Python24\Python
import sys
from urllib import urlopen
if len(sys
Andreas Mixich wrote:
> Hi,
>
> does anyone know about a ReadArgs() implementation for Python as seen on
> AmigaDOS ?
I don't know about ReadArgs() but for parsing of command line arguments
in Python see the optparse module or this recipe:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/2
I came across this at: http://www.monkeyhouse.eclipse.co.uk/amiga/python/For more powerful operation under AmigaDOS, and
because it is needed for the ARexx implementation, there are two
additional modules. The first is the low-level builtin module Doslib,
and the other, the Dos module, is written o
Hi,
does anyone know about a ReadArgs() implementation for Python as seen on
AmigaDOS ?
Thanks.
--
Andreas
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Em Quinta 20 Julho 2006 04:51, linda.s escreveu:
> But in the following example, a change in a spread to both b and c:
> >>> a=[[1,2,3], [4,5,6]]
> >>> b=a
> >>> c=copy.copy(a)
> >>> a[0][0]='a'
> >>> a
>
> [['a', 2, 3], [4, 5, 6]]
>
> >>> b
>
> [['a', 2, 3], [4, 5, 6]]
>
> >>> c
>
> [['a', 2, 3],
Hi,I'm interested in learning about how to write python scripts that can control the GIMP. I've read about several scripts but I'd like to know where to start learning about how it's done. Anybody got any good places to look for tutorials, references etc?
__
Hi Ziyad
thank you very much!
E.
Цитат на писмо от ?? ? ???
<[EMAIL PROTECTED]>:
> On Thu, 2006-07-20 at 11:19 +0300, [EMAIL PROTECTED]
> wrote:
> > Hi,
> >
> > is this the right (shortest) way to get the file
> extention
> > (under MS WIN)?
> >
> >
> > def getext(fname):
> >
On Thu, 2006-07-20 at 11:19 +0300, [EMAIL PROTECTED] wrote:
> Hi,
>
> is this the right (shortest) way to get the file extention
> (under MS WIN)?
>
>
> def getext(fname):
> ext = fname.split('.').pop()
> return ext
>
> Regards,
> Emily
>
The following maybe a little better:
de
On Thu, 20 Jul 2006 11:19:46 +0300
[EMAIL PROTECTED] wrote:
> Hi,
>
> is this the right (shortest) way to get the file extention
> (under MS WIN)?
>
>
> def getext(fname):
> ext = fname.split('.').pop()
> return ext
>
Hi Emily,
for filename operations, you should have a look at the o
Hi,
is this the right (shortest) way to get the file extention
(under MS WIN)?
def getext(fname):
ext = fname.split('.').pop()
return ext
Regards,
Emily
-
B2B портал за продуктите на HP
Цени, спецификации, on-line поръчки, доставка.
Регистрирайте се на http
Title: RE: [Tutor] Win32Com.client help
Apologies
Here is the accessor script
import win32com.client
import tkFileDialog
import string, sys
from Excel import *
import word
#Example of Python controlling external apps
#number of the worksheet to be examined
_workSheetNumber = 1
On 7/18/06, Danny Yoo <[EMAIL PROTECTED]> wrote:
>
>
> On Tue, 18 Jul 2006, linda.s wrote:
>
> > But in the following example, a/b/c change and it looks like there is
> > no difference.
> a=[[1,2,3], [4,5,6]]
> b=a
> c=copy.copy(a)
>
>
> Hi Linda,
>
> I find it easiest to explain thi
18 matches
Mail list logo