We won ' t be allowed to watch porn , any sites containing lewd acts like holding hands will be blocked . <| sep |> Not into Asian gymbros at all . I like the skinnierquieter ones . <| sep |> That ' s the point though . Your code should be setup so it works in any editor without changing any configuration . You shouldn ' t need to set something up special for sublime . IDLE was probably doing some magic to find the pygame modules . You should look over the tutorial for setting up your projects . If you have everything setup correctly you should be able to edit the source files in Sublime , vim , emacs , pycharm , eclipse , or whatever suits your fancy without changing anything . The editor you use doesn ' t run your code especially a basic one like sublime , your code should be executable from the command line just fine . The editor you use should change nothing , unless the editor is doing some magic so you can do things wrong which IDLE likes to do a lot of . You either made a mistake setting the project up this time , or IDLE did some magic for you before so you didn ' t have to do it right . Obviously you ' d rather do it right than have some tool do magic voodoo for you . So read on . I ' d suggest looking into how python actually works in terms of interpreting your source code , as well as looking up source modules since you seem to be lacking that knowledge . Which is totally fine , not belittling you , you ' re just clearly lacking some fundamental knowledge of python . There are some very good and strait forward tutorials that will explain that every intro to python book I ' ve ever seen provides an overview of it in the first chapter or two . That should help you out a lot . The knowledge will not only apply to python in general , but pygame as well . NOTE Don ' t read Learn Python the hard way , the author ' s kind of a quake . I think Head First Python is beginner friendly and covers the relevant material . I hear there ' s free pdf pirated versions floating around the internet that you should absolutely not download wink . For clarity , you don ' t install things into your editor in the way you ' re thinking , everything should work from the command line . Things get installed in your file system , and the python interpreter has to know how to find them . Another useful thing to look into after you understand the basics , I think Head first may even cover it is virtual environments , which is a great way to manage dependencies .