我正在尋找我正在實施的兩個功能的新想法。 1)文字分割特徵:搭配 Ex:
User Query: Resolved Query:
----------- ---------------
It has lotsofwordstogether It has lots of words together
I am using
temps(X) = "set port name *** DESCRIPTION *** *** PORT *** "
first = InStr(temps(x), "***") ' find start postition
last = InStr(InStr(1, temps(x), "***") + 1, temps(x), "***") 'find end
snip = Mi
任何人可以試着幫我找回在Python數量和每個號碼數組: 我也做了下面的代碼,它的工作,但它顯示的是10爲兩個數字: with open("test.dat") as infile:
for i, line in enumerate(infile):
if i == 0:
for x in range(0, len(line)):
if(line