Python Good Practices

Python Good Practices

EuroPython Conference via YouTube Direct link

DESIGN Think you're building a library

11 of 17

11 of 17

DESIGN Think you're building a library

Class Central Classrooms beta

YouTube playlists curated by Class Central.

Classroom Contents

Python Good Practices

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Introduzione
  2. 2 AN ANCIENT FIGHT Cathedral vs Bazaar
  3. 3 ONE WAY TO DO IT
  4. 4 NOT JUST PYTHON'S OWN FAULTS
  5. 5 SAMPLE PROJECT TREE
  6. 6 USE STANDARD TOOLS distribute, virtualenv, pip, zc.buildout
  7. 7 DON'T Do manipulations, ifs, cycles, fetch libraries, do setup- unrelated things, use nonstandard libraries.
  8. 8 HANDLING DEPENDENCIES That's hard! mytoolib
  9. 9 SUGGESTIONS Use at least a version range
  10. 10 TEST ISOLATION
  11. 11 DESIGN Think you're building a library
  12. 12 NO BLACK MAGIC sys path manipulation is a DON'T
  13. 13 YOUR APPLICATION CODE IS SOMETHING LIKE
  14. 14 LAZY INIT
  15. 15 TYPICAL COMMAND LINE
  16. 16 API VERSIONING POLICY
  17. 17 you're monkeypatching to test your own code - bad use of wiring and dependency injection

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.