I mean show the full path of the folder that u want rename Le dim. 9 juil. 2023, 18:50, Makan Dianka <makandiank...@gmail.com> a écrit :
> can u so the full path of folder that u want rename plz? > > Le dim. 9 juil. 2023, 16:54, Munna Singh <munna.gkp...@gmail.com> a > écrit : > >> Hi, >> I'm using windows system for development purposes on which my code is >> working fine but the same code throwing error on remote system(ubuntu). >> repo_dir = "xyz" >> renamed_repo_dir = "xyz"+"_delete_xyz" >> os.rename(repo_dir, renamed_repo_dir) >> PermissionError: [Errno 13] Permission denied: >> I'm trying to rename an existing directory coz i have to write a new >> directory with same path thn deleting the renamed one. >> >> Please help. >> >> thanks >> Munna Singh >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to django-users+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/CAPrh91RZjcfrsJge_%3D_AsD6SMD-hQL7uvLEh%3DPR-UFocQ-oV0w%40mail.gmail.com >> <https://groups.google.com/d/msgid/django-users/CAPrh91RZjcfrsJge_%3D_AsD6SMD-hQL7uvLEh%3DPR-UFocQ-oV0w%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABePkdYVos%3DRD-F7q7goO6EFedupjqRRX2Sg9Aw3uijEGVYjcQ%40mail.gmail.com.