0

I am learning with an online interpreter and would like to save bits of code in my Google drive. Is there a good way to do this so I can easily copy and paste my work back into a webpage. If there is a better way to save it that isn't in the cloud I would be interested in that as well.

1
  • Are you using a pc or some kind of android device?
    – doctorlove
    Aug 15, 2014 at 14:29

5 Answers 5

1

The best way is with a version control system, for example git or mercurial are popular choices for python users.

You can then host your code for free on github or bitbucket, amongst other services.

1
  • I'm learning on my chromebook so this might be the best option. Thanks guys! Aug 15, 2014 at 14:34
0

If you download or have a text editor ( something like Sublime text ) you can paste it into that, put in the syntax you are using so your code is highlighted. Save it via that. However if you want something online, use github or for simplicity dropbox.

0

If you'd like to use Google Drive, just save your .py files and drop them into Google Drive. Then you can edit using the ShiftEdit extension (https://shiftedit.net/). But Github Gists or a similar product is better.

0

If you would like to use a VCS, you could use git with GitLab. Just head over to http://www.gitlab.com and create your personal account, and have unlimited private repositories.

0

Something like gist.github.com or jsfiddle.net whould work, though they're both "cloudish". You could always create a local directory and use git or hg or some other distributed version control system to manage your code. That would be a good learning experience too.

Not the answer you're looking for? Browse other questions tagged or ask your own question.