I'm trying to open a file on my laptop with Python and to do that I have the following code:

```
filem = open("C:\\Users\\david\\Desktop\\project\\last_msg_m.txt")

```

This works fine but I'm trying to adapt it so that it works independent of username so I used the following:

```
filem = open("C:\\Users\\"+ l1 +"\\Desktop\\project\\last_msg_m.txt")

```

However it doesn't work so I was wondering if there is another way to do it?