HJY bio photo

HJY

A Code Lover. Also good at cooking

Github
**A article I wrote to convince my group members to use Python for project rather than Java. So we can finish the project faster. print "Let's Python!""

Python is easy and time-saving. It will require much less time to develop a software than using Java. In fact, a lot of start-up companies use Python.

Some good study resource:
http://www.sthurlow.com/python
http://docs.python.org/2/tutorial/

Python GUI: There are lot of API out there. Using the standard Tkinter is good enough for a small project.

**Remember, there are Python2.7 and Python3. We will use Python2.7. 2.7 has been around for a while. It is stable and has a lot of open-source API available. Developing Environment: Text editor + python run time. I recommend use Sublime Text2 for editing Python. It is not free, but the trial time is unlimited. If you are using Mac, it comes with Mac. You are ready to go. If you are using Windows, go to official site and download python2.7. For IDE addicted, PyCharm is fairly nice, only costs $29 for students. Python trick: When you want to look up the API document of certain module, instead of googling, you can do it offline.
  • in shell, type "pydoc(module_name)". It prints out all the detail of the module
  • in python interative shell, type help(anything_you_wondering). e,g help(list).
  • How to install third-party API: BeautifulSoup, a common-used XML API on python. In shell, "sudo easy_install beautifulSoup" will download and install everything for you. You can use python interactive shell as a small calculator. Beside + - * / % **, you can also "from math import *" to use sin(), cos(), sqrt(). You can also check my Github page and get a sense of Python
    https://github.com/juh42
    https://gist.github.com/juh42 **By the way, Github is one of the most popular code collaboration website based on Git. Please register and give a try. It has enough configuration management features. lots of famous project using it. e,g JQuery. Please check this One last thing, Python and Github can make your resume more attractive to HR :) -Junyang