Python Forum
I'm afraid it is a question of copyright
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I'm afraid it is a question of copyright
#19
(Sep-22-2017, 02:25 PM)sylas Wrote: I put you new first line. Now i have:/usr/bin/python3.5 /home/sylvain/PycharmProjects/ping/game.py
Traceback (most recent call last):
  File "/home/sylvain/PycharmProjects/ping/game.py", line 5, in <module>
    from data.main import main
  File "/home/sylvain/PycharmProjects/ping/data/main.py", line 3, in <module>
    from .control import Control
  File "/home/sylvain/PycharmProjects/ping/data/control.py", line 4, in <module>
    from .states import (classic, menu, mode, options, controls, audio, ghost, splash, keybinding, getkey)
  File "/home/sylvain/PycharmProjects/ping/data/states/classic.py", line 6, in <module>
    from .. import AI
ImportError: bad magic number in 'data.AI': b'\x03\xf3\r\n'

Process finished with exit code 1
I know you are changing the code from what is actually there.
https://github.com/metulburr/pong/blob/m...trol.py#L4

There is no parenthesis on the original code, as well as no copyright symbol, you must of copy and pasted it wrong. Dont copy and paste, just download the repo. If you are changing the code from what is there, who knows what else you changed to cause the problems you are having.

As for py2, py3, linux, or windows.... I created the exe from python2.7.* on windows. As well as ran both python versions in linux and windows before uploading the repo.
Recommended Tutorials:
Reply


Messages In This Thread
I'm afraid it is a question of copyright - by sylas - Sep-22-2017, 06:52 AM
RE: I'm afraid it is a question of copyright - by metulburr - Sep-22-2017, 05:43 PM

Forum Jump:

User Panel Messages

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