Re: [Pythonmac-SIG] Connecting to Windows shares

2005-09-22 Thread Jon Rosebaugh
On 9/23/05, Ronald Oussoren <[EMAIL PROTECTED]> wrote: > > On 22-sep-2005, at 14:28, Simon Brunning wrote: > > > On 9/22/05, Simon Brunning <[EMAIL PROTECTED]> wrote: > > > >> I want to use a python script to copy some files from a Windows share > >> to my Mac. Connecting to a Windows share with Fi

Re: [Pythonmac-SIG] Connecting to Windows shares

2005-09-22 Thread Ronald Oussoren
On 22-sep-2005, at 14:28, Simon Brunning wrote: On 9/22/05, Simon Brunning <[EMAIL PROTECTED]> wrote: I want to use a python script to copy some files from a Windows share to my Mac. Connecting to a Windows share with Finder is easy, but how do I do it from a script? (Python 2.4.1 on OSX 10.4

Re: [Pythonmac-SIG] Baffling if statement

2005-09-22 Thread Kent Quirk
Title: Baffling if statement What are the actual types of temp and Cutoff? Is it possible that you’re not comparing apples to apples?   For example, suppose you don’t realize that one of your values is a string?   >>> t1="0.19" >>> t2=0.24 >>> print t1 0.19 >>> print t2 0.24 >>> p

Re: [Pythonmac-SIG] Baffling if statement

2005-09-22 Thread Bob Ippolito
On Sep 22, 2005, at 3:34 PM, Kirk Durston wrote: After spending a couple hours trying to figure out what is going on, I’m asking for help. Below is a short segment from a module I’ve written. Before the part shown below, temp and Cutoff are defined. then comes the following:     blank='-'

[Pythonmac-SIG] Baffling if statement

2005-09-22 Thread Kirk Durston
Title: Baffling if statement After spending a couple hours trying to figure out what is going on, I’m asking for help. Below is a short segment from a module I’ve written. Before the part shown below, temp and Cutoff are defined. then comes the following:     blank='-' if t

Re: [Pythonmac-SIG] Connecting to Windows shares

2005-09-22 Thread Piet van Oostrum
> Simon Brunning <[EMAIL PROTECTED]> (SB) wrote: >SB> I want to use a python script to copy some files from a Windows share >SB> to my Mac. Connecting to a Windows share with Finder is easy, but how >SB> do I do it from a script? (Python 2.4.1 on OSX 10.4.2, if it matters. Issue a mount or, m

Re: [Pythonmac-SIG] Connecting to Windows shares

2005-09-22 Thread Simon Brunning
On 9/22/05, Simon Brunning <[EMAIL PROTECTED]> wrote: > I want to use a python script to copy some files from a Windows share > to my Mac. Connecting to a Windows share with Finder is easy, but how > do I do it from a script? (Python 2.4.1 on OSX 10.4.2, if it matters. Found it. You need to invoke

Re: [Pythonmac-SIG] Connecting to Windows shares

2005-09-22 Thread Simon Brunning
On Thu, 22 Sep 2005 11:36 +0100 (BST), David Hughes <[EMAIL PROTECTED]> wrote: > > If the Windows partition you've attached appears as an 'ejectable' > > drive in the leftmost Finder pane, you can see it and its contents > > under /volumes using a Terminal session. Here, it appears as a > > directo

Re: [Pythonmac-SIG] Connecting to Windows shares

2005-09-22 Thread David Hughes
> *From:* [EMAIL PROTECTED] (David Hughes) > *To:* pythonmac-sig@python.org > *Date:* Thu, 22 Sep 2005 11:12 +0100 (BST) > > > *From:* Simon Brunning <[EMAIL PROTECTED]> > > *To:* pythonmac-sig@python.org > > *Date:* Thu, 22 Sep 2005 10:24:34 +0100 > > > > I want to use a python script to copy so

Re: [Pythonmac-SIG] Connecting to Windows shares

2005-09-22 Thread David Hughes
> *From:* Simon Brunning <[EMAIL PROTECTED]> > *To:* pythonmac-sig@python.org > *Date:* Thu, 22 Sep 2005 10:24:34 +0100 > > I want to use a python script to copy some files from a Windows share > to my Mac. Connecting to a Windows share with Finder is easy, but how > do I do it from a script? (Pyt

[Pythonmac-SIG] Connecting to Windows shares

2005-09-22 Thread Simon Brunning
I want to use a python script to copy some files from a Windows share to my Mac. Connecting to a Windows share with Finder is easy, but how do I do it from a script? (Python 2.4.1 on OSX 10.4.2, if it matters. -- Cheers, Simon B, [EMAIL PROTECTED], http://www.brunningonline.net/simon/blog/ ___