Python

learning story

Sara Mansouri
My experience with OPW and Mozilla

--

My initial proposal didn't require learning a new language but I decided to start learning Python as soon as I understood Mozilla requires someone working on connecting its two social websites. (Badges.mozilla.org and Mozilians.org)

The following links are great resources that I have used for learning Python in 3 weeks ahead of starting the internship, I hope it helps anyone who wants to start working with Python, Django, and Badges.Mozilla.org.

First I used general general Python tutorials like(strongly recommended):

Lynda.com- Up and Running with Python with Joe Marini ython

http://www.learnpython.org/

I have Visual Studio installed on my machine so I have added the following plugin to be able to debug Python on it(It works only with Visual Studio 2013):

http://pytools.codeplex.com/

The other tool that I found very useful and I may use in future is PyCharm:

http://www.jetbrains.com/pycharm/

Then I tried using Google app engine (GAE) apps by using following links:

Google App Engine for Python by Stefano Locati

Google Python tutrial

Start using Datastore

Working with NDB entities

Uploading Your App

In order to be able to debug GAE you need to make some small changes in settings if you are using Python tools plugin for Visual Studio 2013:

http://pytools.codeplex.com/discussions/265255

But if you are using Pycharm it is only available in professional version.

I have uploaded some samples on my Git-hub account while trying different things, I hope it helps:

https://github.com/smansoury

Then I started looking at django that badges.mozilla is using:

Writing your first Django app

I forked the github resource of badges.mozilla.com which is available here to be able to access the code and make changes; It is using MySQL database:

https://github.com/mozilla/badges.mozilla.org

Documentation provides instructions for installing on Linux and Mac, I have tried to use some other ways for installing it on Windows but it gives errors all the time.

I am still trying to install it; I am very exited to start working from next week ☺

--

--