Friday, March 6, 2020

Roberto Alsina: Episodio 31: Python moderno III, Pathlib, el camino a la felicidad

Pathlib es para crear / modificar / manipular paths. O, como decíamos antes os.path.join(crear, modificar, manipular paths) ... mas allá del chiste, es muuuuucho más legible. Veamos un ejemplo "real" de código que veo seguido y dejemos de usar os.path.

Pathlib: https://docs.python.org/3/library/pathlib.html



from Planet Python
via read more

No comments:

Post a Comment

TestDriven.io: Working with Static and Media Files in Django

This article looks at how to work with static and media files in a Django project, locally and in production. from Planet Python via read...