DZone
Web Dev Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Web Dev Zone > Valuable Python Resources

Valuable Python Resources

Simeon Franklin user avatar by
Simeon Franklin
·
Apr. 04, 12 · Web Dev Zone · Interview
Like (0)
Save
Tweet
5.36K Views

Join the DZone community and get the full member experience.

Join For Free

Resources


  • Python in a Nutshell
  • Dive into Python Online Book - somewhat dated but still good.
  • The Official Python Tutorial
  • Code like a Pythonista: read this and your code will be pythonic.
  • Doug Hellman's Python Module of the Week - a great way to get to know Python's vast stdlib.


Important Basics You Should Know

Python builtin functions: see the http://docs.python.org/library/functions.html. Or

import __builtin__
dir(__builtin__)

Keywords: see the docs http://docs.python.org/reference/lexical_analysis.html#keywords. Or

import keyword
print(keyword.kwlist)

Tools

  • IPython - a better python shell
  • Python Regex Testing Tool
  • virtualenv and virtualenvwrapper - tools for managing python environments. If you find yourself installing 3rd party python code you should be using these tools.
  • Stuck on windows? Use a replacement console

Additional Documentation

  • Simple String Formatting
  • Built In Exception Types
  • Quick Doctest Overview - but I like to use
    $ python -m doctest -v myfile.py
  • Don't forget the first dunderscore hack you'll need:
    if __name__ == '__main__':
        main()
  • A great walkthrough of the stdlib logging module
  • str.format
  • JSON in stdlib
  • List of dunderscore methods
Python (language)

Published at DZone with permission of Simeon Franklin, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Upload Files to AWS S3 in JMeter Using Groovy
  • Flutter vs React Native. How to Cover All Mobile Platforms in 2022 With No Hassle
  • Testing Schema Registry: Spring Boot and Apache Kafka With JSON Schema
  • A Guide to Understanding Vue Lifecycle Hooks

Comments

Web Dev Partner Resources

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo