Python exception handling - Skip exception to continue execution

python General use try…except… Handling exceptions
try: # Code that might cause an exception , Put in try lower code1 # If try An exception occurred in any line of internal code ,# Jump directly to except, implement except Code below
code2 except: code3 code4

This method has only one exception , The program will not continue . When an exception occurs in the loop , How to skip the exception in the loop to continue execution . Like when I move A file time , If the target file does not exist , The program can skip exceptions , Carry on , Here's a way to do it :
import pandas as pd dates=range(20161010,20161114) pieces=[] for date in
dates: try: data=pd.read_csv('A_stock/overview-push-%d/stock overview.csv'
%date, encoding='gbk') pieces.append(data) except Exception as e: pass continue
data=pd.concat(pieces)

Technology