This code is working , ie, the path and file exists and has public access.

```
path='https://raw.githubusercontent.com/jorge-chavez-salas/proyectosMINERIA/master/codigosCURSO'
ARCHIVO2 = pandas.read_csv(path)
print(ARCHIVO2)

```

But this code throws an error "No such file or directory:"

```
FILE=open(path,'wb')
DATA.to_csv(FILE)

```

Can someone please tell me why ? and how to solve it ?
I want to open a file and the rewrite it from a data frame. Thanks