Python Forum
[split] Bad magic number. What is it ?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] Bad magic number. What is it ?
#3
Thank you buran. As mentioned in https://stackoverflow.com/a/514395/4046632 there was a .pyc file in the calling program's directory and deleting it fixed the 'ImportError: bad magic number' error.
Reply


Messages In This Thread
[split] Bad magic number. What is it ? - by Douglas - Oct-21-2018, 02:11 PM
RE: [split] Bad magic number. What is it ? - by Douglas - Oct-22-2018, 10:38 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Split a number to list and list sum must be number sunny9495 5 2,308 Apr-28-2022, 09:32 AM
Last Post: Dexty
  magic related field in Django model sonh 1 1,248 Apr-24-2022, 12:37 PM
Last Post: sonh
  Need a little help with numpy array magic. pmf71 0 1,159 Dec-01-2021, 02:51 AM
Last Post: pmf71
  Magic Method Arithmetic Operators ClownPrinceOfCrime 3 2,332 Jan-10-2021, 03:24 PM
Last Post: ndc85430
  How to eliminate magic squares formed by the same numbers, but permuted frame 7 3,648 May-09-2019, 11:28 AM
Last Post: frame
  Split Column Text by Number of Characters cgoldstein 3 3,013 Mar-11-2019, 01:45 PM
Last Post: perfringo
  Magic method __str__ dan789 16 7,241 Dec-23-2018, 03:59 PM
Last Post: ichabod801
  How to add metakernel magic for python rikaki__ 0 2,027 Jul-04-2018, 02:49 AM
Last Post: rikaki__
  Split docx document by page number sage 1 8,669 May-15-2018, 06:17 PM
Last Post: buran
  Split string at specific number TimeMen 6 4,033 May-01-2018, 07:09 AM
Last Post: wavic

Forum Jump:

User Panel Messages

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