string strLine; try { FileStream aFile = new FileStream("Log.txt", FileMode.Open); StreamReader sr = new StreamReader(aFile); strLine = sr.ReadLine(); //Read data in line by line 这个兄台看的懂吧~一行一行的读取 if (strLine != null) { // Console.WriteLine(strLi…
1.读取txt内的百度盘地址,循环保存到百度云中(直接访问下方地址) https://www.cnblogs.com/becks/p/11409467.html 2.读取txt内参数,循环执行查询,读取“a.txt”内文件,逐行读取传入到后面的for中,执行关键字查询 for serch in values:#循环搜索 browser.find_element_by_id("searchText").send_keys(serch) browser.find_element_by_id…
C# richtextbox 自动滚动到最后 光标到最后 自动显示最后一行 private void richTextBox1_TextChanged(object sender, EventArgs e) { richTextBox1.SelectionStart = richTextBox1.TextLength; // Scrolls the contents of the control to the current caret position. …