fpath=r’c:\Python\Radar_20221005\Matlab_For_RFSoC_RTS\Gain.txt’
L=[];Gain_I=[] ; Gain_Q=[]
with open(fpath,’r’) as f:
for line in f:
lst = line.split() #[‘32767′,’0’]
L.append( lst )
Gain_I.append( lst[0] )
Gain_Q.append( lst[1] )
print(“Gain_I:”,Gain_I)
print(“Gain_Q:”,Gain_Q)







![Python如何串接OpenAI /Claude /Gemini API自動將大量維修紀錄JSON轉自然語言描述(並避免中斷資料遺失)response = client.chat.completions.create() ; reply = response.choices[0].message.content Python如何串接OpenAI /Claude /Gemini API自動將大量維修紀錄JSON轉自然語言描述(並避免中斷資料遺失)response = client.chat.completions.create() ; reply = response.choices[0].message.content](https://i0.wp.com/savingking.com.tw/wp-content/uploads/2025/07/20250716084059_0_c5b368.png?quality=90&zoom=2&ssl=1&resize=350%2C233)



近期留言