我从计算机跳到计算机,并希望能够对所有这些进行编码,所以我有这个USB驱动器...我在它上面安装了eclipse-portable,然后安装了PyDev,由于某种原因拒绝工作,有没有人有理想?
这是它给我的错误:
插件org.python.pydev无法加载类 org.python.pydev.editor.PyEdit。
详细版本是:
SUBSTRINGS = {'banana', 'chocolate'}
MYLIST = ['1 banana cake', '2 banana cake', '3 cherry cake', '4 chocolate cake', '5 chocolate cake', '6 banana cake', '7 pineapple cake']
new_list = []
all_substrings = set()
for el in MYLIST:
# All substrings of this element
substrings = set(el.split())
# Add this element if it does not have any substrings in common
# with the all_substrings set.
if not any(substring in all_substrings for substring in substrings):
new_list.append(el)
# Add current substrings which are also present
# in SUBSTRINGS to all_substrings.
all_substrings |= (substrings & SUBSTRINGS)
print(new_list)
您是否了解这些/知道如何解决这些问题?
-Natan
答案 0 :(得分:0)
没关系,发现我已经下载了错误版本的PyDev ....
抱歉打扰你!