Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Execute a .pyc
#1
Hello i try to execute a pyc file with this

execfile("Perecastor.pyc")
then I get this:
SyntaxError: Non-ASCII character '\xf3' in file ../Perecastor.pyc on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

How can i execute my pyc file ?
I use python 2.7
Reply
#2
Try
import Perecastor
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020