About 6,560,000 results
Open links in new tab
  1. Code Style — The Hitchhiker's Guide to Python - Read the Docs

    One reason for the high readability of Python code is its relatively complete set of Code Style guidelines and “Pythonic” idioms. When a veteran Python developer (a Pythonista) calls …

  2. Why does Python code look the way it does? | DATAQUEST

    Jul 7, 2023 · Python code looks like this: It can be a bit confusing if it's your first time seeing Python code. You can view below the answers to the most commonly asked questions: Why …

  3. Python for Beginners: Why Does Python Look the Way It Does?

    Feb 4, 2020 · Let's dig in and answer some of those questions so that when you start writing your first lines of Python code, you have a better idea of what you're looking at! Why does the code …

  4. What Is Pythonic Style? - Udacity

    Sep 30, 2020 · In this article, we’re going to take a look at Pythonic style, first defining it and then showing you how you can — and why you should — learn about it. In short, “pythonic” …

  5. Structuring Your Project — The Hitchhiker's Guide to Python

    In this section, we take a closer look at Python’s modules and import systems as they are the central elements to enforcing structure in your project. We then discuss various perspectives …

  6. I do not understand why my python looks different from tutorials.

    Oct 12, 2019 · "yours" is what we call python interactive mode. That is when on command line you type python (or python3) and hit Enter. You can see the interactive prompt >>> .

  7. Python PEP 8 Style Guide: Writing Clean, Readable Code

    PEP 8, or Python Enhancement Proposal 8, is the official style guide for Python code. Created by Guido van Rossum (Python's creator), Barry Warsaw, and Nick Coghlan, it provides coding …

  8. C-style macros in Python! : r/programminghorror - Reddit

    Dec 26, 2022 · To clarify: the macro definitions (!define foo bar) are C-style, this particular example is showing how you can use them to make Python look like Rust. After preprocessing …

  9. What Does Python Programming Look Like?

    Aug 26, 2024 · Imagine Python as a set of precise instructions you give to a computer, written in a language it understands. These instructions are called code, and they tell the computer exactly …

  10. 10 tips to make your Python code look more professional

    Jun 4, 2024 · To help you achieve a more professional look and feel of the code and enforce consistency across the codebase, linting your code is an easy first step.

  11. Some results have been removed
Refresh