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

bookChallenge: Safe Library Usage

Taak

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.

Oplossing

Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 2. Hoofdstuk 6
single

single

Vraag AI

expand

Vraag AI

ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

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

Veeg om het menu te tonen

Taak

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.

Oplossing

Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 2. Hoofdstuk 6
single

single

some-alt