Run Python Script – How to Execute Python Shell Commands in the Terminal

By Suchandra Datta When you’re starting out learning a new programming language, your very first program is likely to be one that prints “hello world!”. Let’s say you want to do this in Python. There are two ways of doing it: using the Python shell … » freeCodeCamp.org | freecodecamp.org

14 de julio de 2022 · 1 min · 50 palabras · Nacho Cano

Automate Your Life with Python

Think of the most boring task you’ve ever done. Chances are, you can automate it with Python! We just published a Python automation course on the freeCodeCamp.org YouTube channel. Frank Andrade created this course. Frank is a data scientist and exper… » freeCodeCamp.org | freecodecamp.org

12 de julio de 2022 · 1 min · 45 palabras · Nacho Cano

Vulnerabilidad de alta gravedad corregida en Django

El proyecto Django, un framework web de código abierto basado en Python, ha reparado una vulnerabilidad de alta gravedad en sus últimas versiones. Identificada como CVE-2022-34265, la vulnerabilida… » Una Al Día | unaaldia.hispasec.com

9 de julio de 2022 · 1 min · 34 palabras · Nacho Cano

LBYL vs EAFP: Preventing or Handling Errors in Python

Choose your Python coding style: look before you leap (LBYL) vs easier to ask forgiveness than permission (EAFP). See clear pros, cons, and examples. » Real Python | realpython.com

19 de junio de 2022 · 1 min · 29 palabras · Nacho Cano

Data structures for effective Python applications

Learn about data structures such a lists and dictionaries and how to use them to build effective Python applications. » CircleCI | circleci.com

8 de junio de 2022 · 1 min · 23 palabras · Nacho Cano

Encontraron una vulnerabilidad en Python que permite ejecutar comandos desde scripts de espacio aislado

Hace pocos dias se dio a conocer un método para eludir los sistemas de ejecución de código aislado de Python… » Darkcrizt | linuxadictos.com

21 de mayo de 2022 · 1 min · 24 palabras · Nacho Cano

Matthew Wright: Reading date arguments to a Python script using argparse

Argparse doesn’t support date arguments by default, but it can be easily extended to parse and validate dates in your Python scripts. » Matt Wright | wrighters.io

1 de mayo de 2022 · 1 min · 27 palabras · Nacho Cano

Python⇒Speed: When Python can't thread: a deep-dive into the GIL's impact

Python’s Global Interpreter Lock (GIL) stops threads from running in parallel or concurrently. Learn how to determine impact of the GIL on your code. » Itamar Turner-Trauring | pythonspeed.com

1 de mayo de 2022 · 1 min · 29 palabras · Nacho Cano

How to Debug Applications with Strace, Python, and Wireshark

In this article I will show you a few techniques you can use to troubleshoot a program when is not behaving. This list is not universal and, depending on what you are looking for, it may not be enough to solve your problem. But it should be a good st… » freeCodeCamp.org | freecodecamp.org

1 de mayo de 2022 · 1 min · 54 palabras · Nacho Cano

Mike Driscoll: Python 101 - Intro to Testing with Python and unittest (Video)

In this tutorial, you will learn the basics of testing with Python and the built-in unittest module You can also read the article that this video is based on at Mouse vs Python here: Python 3 Testing: An Intro to unittest » Mike | blog.pythonlibrary.org

20 de abril de 2022 · 1 min · 45 palabras · Nacho Cano