私はcsvファイルのフォーマットはid,textです。次に例を示します。See you later に、 helloText,How are you
goodbyeMessage,Some new text for a change
errorMessage,Oops something went wrong
は、今私はSome new text for changeあるgoodbyeMe
public class ScriptCreator {
public static void main(String[] args) throws IOException {
#Choose the CSV file that I am importing the data from
String fName = "C:\\Users\\MyUser\\Dow
2つの.txtファイルを比較し、その結果を別の.txtファイルにエクスポートするコードを作成しました。以下は私のコードです(混乱については申し訳ありません)。 アイデア?それとも、私はちょうど馬鹿ですか? python 3.5.2を使用して は: # Barcodes Search (V3actual)
# Import the text files, putting them into ar
新しいファイルを開き、そのファイルにすべてnの値を書き込もうとしています。 for n in [4, 7, 8, 10, 6, 3, 5, 13]:
if n > 5:
print(n)
b = open('new', 'w')
b.write(n)
それは文字列としてで数字を書き込み、唯一13に書いて、最後n。