Working with Visual Studio Code IDE with python. -
when debugging , setting breakpoints, if debugger stopped, python script not execute atexit or systemexit. vs code configuration setting? set breakpoint @ print 'done' if stop execution systemexit or part of script not executed.
if __name__ == "__main__": try: findexcelfiles('\\datasheets') my_find_excel_files: print my_find_excel_files.get_excel_files() my_find_excel_files.excel_files_number_tabs() print 'done' except systemexit: print 'my application ending!'
Comments
Post a Comment