Depends on what you mean by "virus". You can write a "malicious" program in any language, including Python. But that doesn't qualify it to be a virus. Normally a virus has to infect programs by attaching itself to them, so that they can further infect other programs. Attaching a cross-platform python script to a random executable program is, I submit, not an easy task.