Skip to content

Latest commit

 

History

History
78 lines (60 loc) · 2.86 KB

pythontips.md

File metadata and controls

78 lines (60 loc) · 2.86 KB

home | copyright ©2016, tim@menzies.us

overview | syllabus | src | submit | chat


Python Tips

Indents matter

Everyone on the team should ahve the same indent policies in their IDE

  • Menzies: 2 spaces, "tab" injects 2 spaces.
  • Mathew: 2 spaces, "tab" injects 2 spaces.

Style matters

Everyone of the same team should use the same coding conventions:

  • Menzies: use i for self
  • Everyone else in the whole work: use self for self

Don't matter what, but all members of the team should use the same style guidelines

IDEs

  • Pycharm
    • Extremely user friendly for beginners and experts
    • Professional edition free with student mail id.
    • Integration with PEP8 and standard style checkers
    • Compatability with pip and anaconda package managers
    • More here
  • Eclipse with PyDev
    • Open source
    • Aids developers familiar with the eclipse ecosystem
    • PEP8 style checker incorporated by default
  • Notepad ++
    • For windows users
    • Plugin
    • Lightweight
    • Not recommended for beginners
  • Emacs or Vim
    • Classical text editors
    • Plugins available for python formatting
    • Useful for working on remote file system
  • Ipython
    • Interactive python by Junyper.
    • Supports documentation as well as coding.
    • Can be made Cloud based
    • Shareable
    • Runs on your browser
  • Cloud 9
    • Cloud based programming
    • Integration with git
    • Package manager is simple and inbuilt.
    • Free version has a decent amount of RAM for smaller projects.
  • Share other suggestions on slack

Other tips