[Tutor] using ftp within Python and walking the directory tree.

Peter Otten __peter__ at web.de
Tue Jan 26 03:38:25 EST 2021


On 26/01/2021 05:28, mhysnm1964 at gmail.com wrote:

> Using Python 3.8 I have been successful in connecting to my own ftp server
> by using ftplib. I found a tool called ftptool which does installed with my
> version of python (3.8). But when using:
> 
> Import ftptool
> 
>   
> 
> There is a dependency called module six which it cannot find, thus it does
> not load. 

six is a compatibility layer to allow writing programs that run on 
python 2 and 3. You can find it here:

https://pypi.org/project/six/

On Linux install it with

sudo pip3 install six

if the package manager doesn't provide a package.

On Windows use

py -m pip install six

in the Powershell.



More information about the Tutor mailing list