1
line = 'nobody:*:-2:-2:Unprivileged User:/var/empty:usr/bin/false'
uname, *fields, homedir, sh=line.split(':')
print fields
I was doing studies in Python and I will stop with the line so, when trying to compile I get the following message
SyntaxError: Missing parentheses in call to 'print'
Why is this happening? I’m using Cookbook
Missing parentheses
.– Edilson