notes
latest

Contents:

  • git
  • Python
    • Resources
    • Articles
    • Pandas
    • FAQ
  • Shell script
  • SSH
  • AWS (Linux)
  • Docker
  • Kubernetes-related
  • Bioinformatics
notes
  • Docs »
  • Python
  • Edit on GitHub

Python¶

Resources¶

  • The “Python Machine Learning” book code repository and info resource

Articles¶

  • Dictionaries in Python (not only default one)

Pandas¶

  • 10 Minutes to pandas
  • Creating Pandas DataFrames from Lists and Dictionaries

FAQ¶

  • How do I check whether a file exists using Python?
  • Does Python have a ternary conditional operator?
  • How to check if a directory exists and create it if necessary?
  • What does if __name__ == “__main__”: do?
  • Calling an external command in Python
  • Python join: why is it string.join(list) instead of list.join(string)?
  • How can I remove (chomp) a newline in Python?
    • rstrip(”\n”)
    • Universal line break
  • What is the purpose of self?
  • How can I print all arguments passed to a python script?
  • Delete an item from a dictionary
  • Differnece between __repr__ and __str__
Next Previous

© Copyright 2018, Yi Hsiao Revision 66ca29b2.

Built with Sphinx using a theme provided by Read the Docs.