[PyKDE] kio.move and kio.copy missing?

Maurizio Colucci seguso.forever at tin.it
Mon Dec 6 22:23:47 GMT 2004


Jim Bublitz wrote:
> On Thursday 02 December 2004 14:10, Maurizio Colucci wrote:
> 
>>Hello there,
>>
>>I cannot find the static methods kio.copy and kio.move in PyKDE 3.11.3.
>>Sad news for my file manager... :)
>>Is there some equivalent technique?
> 
> 
> I can't find them either - do you know where in kio they exist?
> 
> I'd consider two alternatives: if you don't need progress info, Python 
> provides all the necessary machinery for doing copies and moves already, 
> either through shutil or just os.system and similar mechanisms.
> 
> Otherwise, the KIO::Job hierarchy (esp KIO::FileCopyJob) is available. I 
> haven't ever done anything with it so I don't have example code, but it 
> should be fully implemented.
> 
> Jim
> 

Sorry, I found the functions I needed! They were in kio.KIO !!!

That was not very discoverable, but it works, so... :-)

Cheers!
Mau




More information about the PyQt mailing list