First of, I'm not sure if SO is the right place for this question, so feel free to move it somewhere more appropriate if necessary.

```
cmd_folder = os.path.realpath(os.path.abspath(os.path.split(inspect.getfile( inspect.currentframe() ))[0]))

```

I have this line of code. The Python PEP 8 document recommends limiting lines to 79 characters to preserve readability on smaller screens.

What is the most elegant way to style this line of code to fit the PEP recommendations?

```
cmd_folder = os.path.realpath(os.path.abspath(os.path.split
                               (inspect.getfile
                                 ( inspect.currentframe() ))[0]))

```

Is this the most appropriate way for is there a better one that I have not thought of?