我知道oc tag -d python:3.5只会删除3.5Oc,我希望使用oc命令从相同的Image中删除多个旧标签。
例如,图像流phython:rel-1,phython:rel-2,phython:rel-3.我试着像oc tag -d python:rel-*__一样。但我最后会收到下面的错误信息。
*Error from server (NotFound): imagestreamtags.image.openshift.io "rel-*" not found*
,我想知道有什么方法可以一次使用通配符来删除多个旧标签吗?
我有两个列表,我想将一个列表与另一个列表进行比较,并获得每个单词的所有接近匹配的输出。 例如: a = ['apple','python','ice-cream']
b = ['aaple','aple','phython','icecream','cat','dog','cell'] 因此,当我传递列表'a‘时,我需要从'b’获取'aple',‘aple’,'phython','
我不是linux机器的超级用户。目前它有两个版本的Python。
当我调用标准python命令时,它给出了版本2.6
$ python
[neversaint@mach71 ~]$ python
Python 2.6.2 (r262:71600, Jan 28 2011, 13:47:39)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2
Type "help", "copyright", "credits" or "license" for more information.