Похожие чаты

Hi I have a question about stat modes. How come stat

mode of the logfile.txt is the same as the file0.py ? Because I can do os.unlink("file0.py"), but when I do os.unlink("logfile.txt") it raises error. So I think permission modes shouldn't be the same or I have some misunderstanding?

21 ответов

53 просмотра
Sahand-🏔️ Автор вопроса

Does anyone know the reason why

Sahand-🏔️ Автор вопроса
Fayaz Khan
Why would I do that?

no, that was not mean, i just wanan say how to rectify

ѕαurαвh αgrαhαrí
no, that was not mean, i just wanan say how to rec...

I don't think I can help you without enough context. I needed to know what else the output said besides the error you quoted.

Fayaz Khan
I don't think I can help you without enough contex...

i have made the project, who take the news_link and scape it . and display important info

Sahand-🏔️ Автор вопроса
Fayaz Khan
Does the file still exist?

The logfile already exists and according to my previous shots, os.unlink cannot remove the file

Sahand 🏔️
screenshot The logfile already exists and according to my pre...

Can you do it through a command shell instead of Python? I'm curious.

Sahand-🏔️ Автор вопроса
Sahand 🏔️
screenshot

What platform are you on?

Sahand-🏔️ Автор вопроса
Fayaz Khan
What platform are you on?

It's linux. And it's the Sololearn python editor not my system

Sahand-🏔️ Автор вопроса
Fayaz Khan
So it's some type of sandbox?

What's that , am not much familiar with unix, linux etc

Sahand-🏔️ Автор вопроса
Sahand 🏔️
What's that , am not much familiar with unix, linu...

It's sounds like you're running this on a learning platform, which has given you a sandbox container just to try out stuff. That would mean it's probably just emulating the system calls.

Sahand-🏔️ Автор вопроса
Fayaz Khan
It's sounds like you're running this on a learning...

But strangely i can do os.unlink() on ther files. For example there is a runner.sh file too, but i can remove it

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта