Hi,
I run Ubuntu 16.04 LTS in a VM using VMWare Workstation on a Windows 10
host.
apt show python-configparser shows 3.3.0r2-2
On python 2.7.12 I use the following code:
import configparser as cfg
root =
u'/'.join(os.path.split(os.path.abspath('cfg.py'))[0].split('/')[:-2])
cp = cfg.ConfigParser(
Thanx Peter for your prompt response.
I replaced tabs with spaces and had no problem reading the file.
I think however it is sth to correct in next versions
BR
Chris
On Wed, Jan 25, 2017 at 1:32 PM Peter Otten <__pete...@web.de> wrote:
> Christos Malliopoulos wrote:
>
> >