I think that means it's calling exec () on each line individually. The interpreter doesn't realize that print () is part of that loop. Try not sending EOT on the for loop line. If that works, you're ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する