Page 10, found in 93 ms

  1. discuss.python.orghttps://discuss.python.org › t › can-python-have-support-for-nu… › 46730
    More about discuss.python.org
    Can Python have support for number separators? - Python Help - Discussions on Python.org

    ForumFeb 23, 2024. … right @kknechtel . However, the code I speak of is in the Java source code for processing input, Scanner ; Python’s equivalent of the input function. See below: import java.util.Scanner; public class AskAge { public …

    0 points
  2. discuss.python.orghttps://discuss.python.org › t › delattr-option-to-ignore-attri… › 5446
    More about discuss.python.org
    Delattr option to ignore AttributeError - Ideas - Discussions on Python.org

    ForumOct 14, 2020. Delattr option to ignore AttributeError Ideas lrjball (Lewis Ball) October 14, 2020, 11:57am 1 Recently I’ve been working on a code base that regularly does the pattern of deleting an attribute …

    0 points
  3. discuss.python.orghttps://discuss.python.org › t › docstring-vs-comment › 11354
    More about discuss.python.org
    Docstring vs. Comment - Python Help - Discussions on Python.org

    ForumOct 20, 2021. … to someone reading the source, but not to someone using the code in their own separate project or otherwise using the help function on your object. For example, module-level docstrings usually …

    0 points
  4. discuss.python.orghttps://discuss.python.org › t › claude-code-how-much-hype-how-… › 105985
    More about discuss.python.org
    Claude Code – how much hype, how much true wizardry? - Python Help - Discussions on Python.org

    ForumFeb 2, 2026. Claude Code – how much hype, how much true wizardry? Python Help smontanaro (Skip Montanaro) February 2, 2026, 10:37pm 1 I keep seeing mentions of Claude Code, many extolling its virtues, such …

    0 points
  5. discuss.python.orghttps://discuss.python.org › t › dependency-to-npm-package › 9415
    More about discuss.python.org
    Dependency to npm package? - Packaging - Discussions on Python.org

    ForumJun 24, 2021. … way to package the source code. I feel familiar with pip, since I use Python since several years. If I have dependency to a JS library, it does not make sense to …

    0 points
  6. discuss.python.orghttps://discuss.python.org › t › creating-a-package-that-depend… › 81110
    More about discuss.python.org
    Creating a package that depends on a private third-party package - Packaging - Discussions on Python.org

    ForumFeb 18, 2025. … for your own Python code. However, due to licensing, the third-party package is not open-source and not available on PyPI and cannot be shared with others. To make working with …

    0 points
  7. discuss.python.orghttps://discuss.python.org › t › altair-package-line-and-bar-ch… › 10950
    More about discuss.python.org
    Altair Package - Line and bar chart - Python Help - Discussions on Python.org

    ForumOct 4, 2021. … lines, with the following code, which I got directly from the Altair package library: import altair as alt import pandas as pd import numpy as np np.random.seed(42) source = pd.DataFrame(np.cumsum(np.random.randn …

    0 points
  8. discuss.python.orghttps://discuss.python.org › t › compiling-evaling-arbitrary-as… › 31251
    More about discuss.python.org
    Compiling/evaling arbitrary AST trees - Python Help - Discussions on Python.org

    ForumAug 8, 2023. … missing_locations(e), '', 'eval') <code object <module> at 0x0000023F87471FE0, file "", line 1> I was surprised it didn’t say line 42. FWIW it seems reasonable to me to have an AST not derived …

    0 points
  9. discuss.python.orghttps://discuss.python.org › t › a-test-design-pattern-to-reuse… › 17006
    More about discuss.python.org
    A test design pattern to reuse integration tests on newly-built distribution packages? - Packaging - Discussions on Python.org

    ForumJul 3, 2022. … able to test the source distribution or wheel installed to a temporary location, or the application file created by a tool like shiv or pex . It might be just a matter of …

    0 points
  10. discuss.python.orghttps://discuss.python.org › t › building-extension-modules-the… › 5950
    More about discuss.python.org
    Building extension modules, the 2020 way - Packaging - Discussions on Python.org

    ForumNov 30, 2020. … I am reading the code right, subclassing Extension is not enough to place artifacts in the source directory. This requires modifying the build_ext command (in a rather fragile ways). Furthermore, placing …

    0 points

Search for “Source Code site:discuss.python.org” on Google, or add !ddg, !w and other shortcuts to any search.