简体   繁体   中英

how to remove the lock in pycharm file?

在此处输入图片说明

There is a lock in the csv file icon, I don't know what it means. It's about 300 MB, and I can't load the whole file

From the doc :

To unlock a file, select the file you want to unlock, or open it in the editor, and choose VCS | Subversion | Unlock from the main menu, or Subversion | Unlock from the context menu of the selection.

You can import portalocker and that looks like--

import portalocker
portalocker.unlock(fileName.csv)

for better understanding and more knowledge you may see this link . Thanks.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM