Python Forum
PermissionError while running function
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PermissionError while running function
#8
Okay. I am working with Windows and checked the rights on that folder: my account is the Owner and should have Full control. The folder is simply one I've created and put all the mca files in, and the path should definitely be correct. In another function which relies on a certain file number, the path is ''\\\\...\\home\\s\\myacc\\Documents\\XAS\\mca_CeNO3\\mca_{:05}' and the reading works just fine, with this function I'm trying to read the whole directory, so it's simply ''\\\\...\\home\\s\\myacc\\Documents\\XAS\\mca_CeNO3' and there's an error, nothing else changed.
Reply


Messages In This Thread
RE: PermissionError while running function - by Laplace12 - Jul-31-2020, 12:09 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  the order of running code in a decorator function akbarza 2 584 Nov-10-2023, 08:09 AM
Last Post: akbarza
  Class function is not running at all even though it is clearly run in the code SheeppOSU 2 2,174 Sep-26-2020, 10:54 PM
Last Post: SheeppOSU
  Fixing "PermissionError: [Errno 13] Permission denied" puredata 17 73,163 Mar-09-2020, 03:20 PM
Last Post: syssy
  Running function from parent module which has a loop in it. ta2909i 1 2,730 Nov-18-2019, 07:04 PM
Last Post: Gribouillis
  PermissionError: [Errno 13] Permission denied: error leviathan54 2 46,787 Apr-20-2019, 12:51 AM
Last Post: leviathan54
  [python] PermissionError: [Errno 13] Permission denied akamouch 1 42,516 Feb-07-2019, 03:28 PM
Last Post: ichabod801
  PermissionError Quavin 1 2,807 Dec-02-2017, 10:34 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

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