摘要:
import xlwings as xw tfile="test.xlsx" newfile="new.xlsx" app = xw.App(visible=False, add_book=False) app.display_alerts = False app.screen_updating = 阅读全文
摘要:
import xlwings as xw tfile="test.xlsx" newfile="new.xlsx" app = xw.App(visible=False, add_book=False) app.display_alerts = False app.screen_updating = 阅读全文
摘要:
continue表示跳过后面的程序,重新循环,而pass表示站位,什么也不做,后面的代码(else之前)还是会执行, a = 'python' i = 2 for element in a: if element == 'y': pass i = 3 else: print(element+str( 阅读全文
|