这个“Killed”错误在Python中是什么意思?

2024-04-25 20:31:47 发布

您现在位置:Python中文网/ 问答频道 /正文

我不知道这里发生了什么。有人能解释一下为什么Python3.4“杀死”了这个脚本吗:

def __init__(self, target, data_flatten, data, 
              tf, hlf, white, robert, sobel, scharr):
    self.data_flatten = data_flatten
    self.target = target
    self.data = data
    self.tf = tf
    self.hlf = hlf
    self.white = white
    self.robert = robert
    self.sobel = sobel
    self.scharr = scharr

with open('PI0_Electron_Mixed_2000.pickle', 'wb') as output:
    pickle.dump(PI0_Electron_Mixed_2000, output)

以下是我在终端中运行脚本时的输出:

[jdoe@edne01 ~]$ cd PycharmProjects/ImageReader
[jdoe@edne01 ImageReader]$ python3.4 DataCompiler.py 
Killed
[jdoe@edne01 ImageReader]$

所以到底发生了什么,有人能解释吗?


Tags: self脚本targetdatatfrobertwhitejdoe