Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Safe Library Usage | Safe Coding Practices
Python Security Best Practices

bookChallenge: Safe Library Usage

Завдання

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.

Рішення

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 6
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

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

Свайпніть щоб показати меню

Завдання

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.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 6
single

single

some-alt