well i think i will close this out. redid recursive foldering now for
3rd or 4th time. below script works from a windows to another folder
(destination1) or a unc path(destination2). i tried it on my linux
box, and the error deals with writing to a remote smb share. i think
if it was mounted somewh
On Feb 14, 4:43 am, Dave Angel wrote:
> On 01/-10/-28163 02:59 PM, ecu_jon wrote:
>
>
>
> > this is a reply to both Dave Angel and Ben Finney. this version of
> > testing i think incorperates what you guys are saying.
> > http://thanksforallthefish.endofinternet.net/
> > testing1.py">testin1.py
>
On Feb 14, 4:43 am, Dave Angel wrote:
> On 01/-10/-28163 02:59 PM, ecu_jon wrote:
>
>
>
> > this is a reply to both Dave Angel and Ben Finney. this version of
> > testing i think incorperates what you guys are saying.
> > http://thanksforallthefish.endofinternet.net/
> > testing1.py">testin1.py
>
On 01/-10/-28163 02:59 PM, ecu_jon wrote:
this is a reply to both Dave Angel and Ben Finney. this version of
testing i think incorperates what you guys are saying.
http://thanksforallthefish.endofinternet.net/
testing1.py">testin1.py
except maybe the os.join.path in the last function.
here is the
i think i got it. my dirlist wasn't the right way to go, i needed to
iterate thu what oswalk was giving me in dirs, and files. not
bruteforce strip to a string. i have been starting at an early version
and a later version for the last 4 hours or so, and i think i have it
this only handles the folde
On Feb 14, 12:12 am, Ben Finney wrote:
> ecu_jon writes:
> > On Feb 13, 8:29 pm, Ben Finney wrote:
> > > Instead, focus on the issue that's causing you confusion:
> > > constructing a filesystem path and testing whether it exists.
>
> > > Make a *minimal* program that shows the problem you're ha
ecu_jon writes:
> On Feb 13, 8:29 pm, Ben Finney wrote:
> > Instead, focus on the issue that's causing you confusion:
> > constructing a filesystem path and testing whether it exists.
> >
> > Make a *minimal* program that shows the problem you're having. Post it
> > *here* (that's why it's impor
this is a reply to both Dave Angel and Ben Finney. this version of
testing i think incorperates what you guys are saying.
http://thanksforallthefish.endofinternet.net/
testing1.py">testin1.py
except maybe the os.join.path in the last function.
here is the traceback
Traceback (most recent call last)
On Feb 13, 8:48 pm, Dave Angel wrote:
> (You forgot to include the list in your response, and you neglected to
> properly quote the message you were replying to. That makes it quite
> hard to separate your remarks from mine)
>
> On 02/13/2011 07:19 PM, jon hayes wrote:
>
> > c:\users\name\backup\
On Feb 13, 8:29 pm, Ben Finney wrote:
> ecu_jon writes:
> > here take a look.
> >http://thanksforallthefish.endofinternet.net/testing.py
>
> I think you're confusing yourself by shoving lots of experimental lines
> into a large program and not isolating the problem. I see that you are
> trying lo
(You forgot to include the list in your response, and you neglected to
properly quote the message you were replying to. That makes it quite
hard to separate your remarks from mine)
On 02/13/2011 07:19 PM, jon hayes wrote:
c:\users\name\backup\ #win7
c:\docs and settings\name\app data\backup
ecu_jon writes:
> here take a look.
> http://thanksforallthefish.endofinternet.net/testing.py
I think you're confusing yourself by shoving lots of experimental lines
into a large program and not isolating the problem. I see that you are
trying lots of different ways of doing the same thing, and
On Feb 13, 6:39 pm, Ben Finney wrote:
> ecu_jon writes:
> > can you give an example of how to build a folder name, maybe as a
> > string, with parts of it as variables, that have to be strung
> > together. like x = "//servername/+variable+"/"+variable+"/"
>
> import os.path
>
> infile_pat
On 01/-10/-28163 02:59 PM, ecu_jon wrote:
first let me say, you guys are helping me and i thank you for that. i
do not want to sound confrontational. i have don my best to make this
os agnostic. yes i know, right now in 21a, destination2 is windows
specific. that's mostly because os.path.isd
ecu_jon writes:
> can you give an example of how to build a folder name, maybe as a
> string, with parts of it as variables, that have to be strung
> together. like x = "//servername/+variable+"/"+variable+"/"
import os.path
infile_path = os.path.join(["//servername", start_dir, other_d
Tim Roberts writes:
> ecu_jon wrote:
> >
> >i know backslashes are special. there a special pain in my #$%.
> >without a windows environment, you would have to change destination2
> >significantly to try it out. but like i said above you can try
> >version 11 in a linux environment.
>
> If they
On Feb 13, 5:11 pm, Tim Roberts wrote:
> ecu_jon wrote:
>
> >i know backslashes are special. there a special pain in my #$%.
> >without a windows environment, you would have to change destination2
> >significantly to try it out. but like i said above you can try version
> >11 in a linux environme
On Sun, 13 Feb 2011 10:58:23 -0800, ecu_jon wrote:
> i know config does not exist, for some reason the isfolder check is
> passing it off saying it exists, when it does not.
[steve@sylar ~]$ grep isfolder facbac-011.py
[steve@sylar ~]$ grep isfolder facbac-012a.py
[steve@sylar ~]$
There is no
ecu_jon wrote:
>i have a samba server at home (acting as my test environment) with one
>of the 'shares' mounted as v: on my windows box. inside of that are 4
>folders week[1-4]. i have created c:\users\name\backup , and put a few
>files/folders in there to test with. please ignore the wxpython pa
ecu_jon wrote:
>
>i know backslashes are special. there a special pain in my #$%.
>without a windows environment, you would have to change destination2
>significantly to try it out. but like i said above you can try version
>11 in a linux environment.
If they are a pain in your #$%, then don't u
"Please don't dump code on us and tell us to ignore parts of it. We're
offering our time and experience without charging you, the least you
can
do is take the time to eliminate the irrelevant parts of the code
yourself, and show us the smallest piece of code which demonstrates
the
problem. " i appr
On Feb 13, 8:17 am, Dave Angel wrote:
> On 01/-10/-28163 02:59 PM, ecu_jon wrote:
>
>
>
> > i just tried changing that in ver12a, still get
> > IOError: [Errno 2] No such file or directory: 'V:\\week2\\configs\
> > \apache2.conf'
> > good catch tho as that is needed. thanks.
> > weekchoice is used
On 01/-10/-28163 02:59 PM, ecu_jon wrote:
i just tried changing that in ver12a, still get
IOError: [Errno 2] No such file or directory: 'V:\\week2\\configs\
\apache2.conf'
good catch tho as that is needed. thanks.
weekchoice is used to pick week 1-4. really jsut returns 1-4. i plan
to do full wee
On Sun, 13 Feb 2011 02:06:15 -0800, ecu_jon wrote:
> i have a samba server at home (acting as my test environment) with one
> of the 'shares' mounted as v: on my windows box. inside of that are 4
> folders week[1-4]. i have created c:\users\name\backup , and put a few
> files/folders in there to t
i just tried changing that in ver12a, still get
IOError: [Errno 2] No such file or directory: 'V:\\week2\\configs\
\apache2.conf'
good catch tho as that is needed. thanks.
weekchoice is used to pick week 1-4. really jsut returns 1-4. i plan
to do full weekly backups with another script.
getusername
Without trying to understand your code, I see one difference
if not os.path.isfile(destination+leftover+fname):
become
if not os.path.isfile(destination+leftover):
Regards
On Feb 13, 11:06 am, ecu_jon wrote:
> i have a samba server at home (acting as my test environment) with one
> of
i have a samba server at home (acting as my test environment) with one
of the 'shares' mounted as v: on my windows box. inside of that are 4
folders week[1-4]. i have created c:\users\name\backup , and put a few
files/folders in there to test with. please ignore the wxpython parts
of the script, th
27 matches
Mail list logo