Python Forum
Cancelling 'open directory' leading to crash
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cancelling 'open directory' leading to crash
#2
Find the dialog in your code that opens the find-file window
and put try/ except / finally around it.
Then you will know the excact reason.
Probably if you put "pass" in the except part, it may pass, but you will not know why.

Paul
Reply


Messages In This Thread
RE: Cancelling 'open directory' leading to crash - by DPaul - May-08-2020, 03:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Coding error. Can't open directory EddieG 6 1,264 Jul-13-2023, 06:47 PM
Last Post: deanhystad
  Removing leading whitespaces palladium 1 801 Mar-24-2023, 04:15 PM
Last Post: bowlofred
  Removing leading\trailing spaces azizrasul 8 2,969 Oct-23-2022, 11:06 PM
Last Post: azizrasul
  How to retrieve records in a DataFrame (Python/Pandas) that contains leading or trail mmunozjr 3 1,911 Sep-05-2022, 11:56 AM
Last Post: Pedroski55
  -i option changes sys.path (removes leading empty string '') markanth 6 2,127 Aug-26-2022, 09:27 PM
Last Post: markanth
  Catching a crash within a library code ebolisa 9 3,351 Nov-22-2021, 11:02 AM
Last Post: bowlofred
  Cancelling previous schedule cosmarchy 2 2,929 Sep-15-2021, 04:55 PM
Last Post: Larz60+
  Python Crash Course ( 2nd edition) alok 1 1,986 Jul-19-2021, 05:55 PM
Last Post: snippsat
  How to keep leading zeros with pandas? eeps24 1 6,733 May-20-2020, 07:51 PM
Last Post: deanhystad
  Im using python crash course version 2 james_newbie 3 2,491 Sep-07-2019, 09:21 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020