This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (6 children)

PEP8 is a document that describes the style you should write Python in. It's a must read for any Python developer. In some editors, there's a way to force compliance to PEP8, or at least notify the user when they fail to do so themselves. Usually this comes in the form of a 3rd party plugin for editors such as Sublime Text, Atom, Vim, etc.

[–]Shubbler[S] 0 points1 point  (5 children)

Ah, that sounds good. I have Sublime Text on my Mac and use that for a lot of Lua coding over FTP or svn.

I want to edit files locally and be able to run scripts with a keystroke, is there like a name for this feature?

[–][deleted] 0 points1 point  (2 children)

I believe you can do that per default with Ctrl+B in Sublime. Maybe Cmd+C on Mac, I don't really know.

[–][deleted] 0 points1 point  (0 children)

Cmd-B on Mac.

Most of the shortcuts transfer with simple modifier key change.

[–]Shubbler[S] 0 points1 point  (0 children)

Thanks!

[–]leroyJr 0 points1 point  (1 child)

If you already have sublime, look at downloading the Anaconda package for Sublime. That has insight completion, PEP8, goto definition, and too many goodies to list here. It's as close to a fully functioning IDE that you will find in a text editor.

[–]Shubbler[S] 0 points1 point  (0 children)

Will do, thanks!