Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge: Safe Library Usage | Safe Coding Practices
Python Security Best Practices

bookChallenge: Safe Library Usage

Tarefa

Swipe to start coding

Refactor the given code to follow safe third-party library usage practices.

  • Pin exact versions of all third-party libraries in a requirements.txt file.
  • Document how to check for vulnerabilities in the pinned library versions.
  • Update the import statements and usage patterns to reflect the pinned versions.
  • Ensure the code uses only the allowed libraries.

Solução

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 6
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

Suggested prompts:

Can you explain that in simpler terms?

What are the main benefits of this?

Are there any common issues I should watch out for?

close

Awesome!

Completion rate improved to 5.56

bookChallenge: Safe Library Usage

Deslize para mostrar o menu

Tarefa

Swipe to start coding

Refactor the given code to follow safe third-party library usage practices.

  • Pin exact versions of all third-party libraries in a requirements.txt file.
  • Document how to check for vulnerabilities in the pinned library versions.
  • Update the import statements and usage patterns to reflect the pinned versions.
  • Ensure the code uses only the allowed libraries.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 6
single

single

some-alt