Mastering Python Naming Conventions and Scope — WalkSelf
⏱ 2 ч 42 мин 📚 27 уроков

Mastering Python Naming Conventions and Scope

Learn the fundamental rules of Python name resolution and variable scope to write clean, readable code free of common naming conflicts.

  • 💬 ИИ инструктор
    Задавайте вопросы по любому уроку — понятный ответ придёт мгновенно, в любой момент.
  • 🕐 Начните в любое время
    Без расписаний и дедлайнов — учитесь в своём темпе, когда удобно.
  • 🌐 На русском языке
    Уроки, задания и сертификат — всё полностью на вашем языке.

О курсе

Writing Python code involves choosing names for variables, functions, and classes, but accidentally using reserved identifiers or built-in names can lead to confusing errors and difficult-to-debug programs. This course teaches you how the Python interpreter resolves names, helping you understand the scope rules that govern your code. You will master best practices for naming objects and learn how to avoid shadowing critical built-in functions, significantly improving your code quality and reliability. What you'll learn: * Understand the concept of name resolution and the scope hierarchy in Python, including the LEGB rule. * Learn to identify and avoid shadowing Python's reserved keywords and built-in functions (e.g., list, str, sum). * Apply standard Python naming conventions (snake_case) for variables and functions to enhance code readability. * Practice debugging skills by identifying and fixing common scope-related errors in existing Python scripts. * Configure simple code quality tools (linters) to automatically flag potential naming conflicts and shadowed builtins. The course begins with an introduction to Python variables and data types, moving quickly into the rules of scope and the importance of the built-in namespace. It concludes with practical exercises focused on implementing robust naming conventions and using modern code quality practices. This course is perfect for new Python programmers and those transitioning from other languages who need a solid foundation in Python's unique scope and naming rules. No prior programming experience is required. Start writing professional, error-free Python code today.

Что вы получите

  • 📜 Сертификат об окончании
    Добавьте в профиль LinkedIn
  • 💬 Личный AI-наставник
    Застрял на уроке? Спроси встроенного наставника о чём угодно, в любой момент.
  • ♾️ Пожизненный доступ
    Возвращайтесь в любое время, без срока
  • 📱 Телефон или компьютер
    Работает везде и на любом устройстве
  • 💸 Возврат в течение 14 дней
    Без вопросов
  • ⚡ Кратко и по делу
    2 ч 42 мин практического материала

Отзывы

Отзывов пока нет — поделитесь своим первым.

Написать отзыв

☆☆☆☆☆
После отправки попросим войти — черновик сохранится.

Часто спрашивают

Что нужно для прохождения курса? +

Только смартфон или компьютер с доступом в интернет. Никаких установок и оборудования.

Как оплатить? +

Банковской картой через Stripe. Данные карты обрабатывает Stripe — мы их не храним.

Можно ли вернуть деньги? +

Да — полный возврат в течение 14 дней, без вопросов.

Как долго будут доступны материалы? +

Навсегда. После покупки курс остаётся с вами — возвращайтесь в любое время.

Получу ли я сертификат? +

Да. По окончании выдаётся сертификат, который можно добавить в профиль LinkedIn.

Подходит для специалистов в
IT Дизайн Финансы Маркетинг Медицина Образование HoReCa Производство