試圖找出如何使用if語句,在該語句中,我可以將三到四個單詞分組,以便從CSV文件中省略。在代碼底部,您會看到我卡在:if ('reddit', 'passwords') not in x: 任何幫助都會很棒。 # import libraries
import bs4
from urllib2 import urlopen as uReq
from bs4 import BeautifulS
我想要一個shell腳本,它檢查聲音文件的長度並檢查長度是否比指定長度短。但是我一直在if語句中收到錯誤信息「command not found」。 #!/bin/bash
soundlength=$(soxi -D $1)
enter code here
if [$soundlength < $2]
then
# do something
fi
我猜$ soundlen