Page 3, found in 81 ms

  1. discuss.python.orghttps://discuss.python.org › t › comparing-lists-and-returning-… › 37968
    More about discuss.python.org
    Comparing lists and returning only items that are present in a pre-vetted list - diagnosing incorrect results? - Python Help - Discussions on Python.org

    ForumNov 5, 2023. … Some feedback on the code. return does not need () Not sure why you are using map(str,) you can return delimiter.join(input_list) as you know it is a set of strings …

    0 points
  2. discuss.python.orghttps://discuss.python.org › t › copy-files-and-paste-and-renam… › 25756
    More about discuss.python.org
    Copy files and paste and rename into different folder - Python Help - Discussions on Python.org

    ForumApr 13, 2023. … help. Below is my code. import os import shutil source_folder = r"E:\files\reports\\" destination_folder = r"E:\files\finalreport\\" for root, dirs, files in os.walk(source_folder): for file in …

    0 points
  3. discuss.python.orghttps://discuss.python.org › t › add-the-sphinx-codeautolink-ex… › 80814
    More about discuss.python.org
    Add the sphinx-codeautolink extension to doc build process? - Documentation - Discussions on Python.org

    ForumFeb 15, 2025. … 54: 6, some_other_code = foo() [codeautolink.parse_block] Doc/whatsnew/3.10.rst:169: WARNING: invalid syntax (<unknown>, line 1) in document 'whatsnew/3.10' Parsed source in `python` block: block source: File "example.py", line …

    0 points
  4. discuss.python.orghttps://discuss.python.org › t › attn-barry-scott-need-help-bui… › 47137
    More about discuss.python.org
    ATTN: Barry Scott. Need help building old SpamBayes Outlook Installer - Python Help - Discussions on Python.org

    ForumFeb 28, 2024. … on the Python addin code fix, and can provide the SpamBayes source code. Thank you! Erik Brown barry-scott (Barry Scott) February 28, 2024, 6:14pm 2 I have working spambayes for …

    0 points
  5. discuss.python.orghttps://discuss.python.org › t › deadlock-in-python-queue-module › 10531
    More about discuss.python.org
    Deadlock in python queue module - Python Help - Discussions on Python.org

    ForumSep 9, 2021. … looked at the Python source for the queue module. It looks pretty straightforward for queue code, and is probably not the source of the problem. Otherwise, you could set some gdb breakpoints …

    0 points
  6. discuss.python.orghttps://discuss.python.org › t › creating-a-handler-for-importi… › 105899
    More about discuss.python.org
    Creating a handler for importing a new file extension - Python Help - Discussions on Python.org

    ForumJan 27, 2026. … would be to hard code the default loader_details into my code rather than jumping through hoops to extract them programmatically, but that feels even more likely to break in future versions …

    0 points
  7. discuss.python.orghttps://discuss.python.org › t › count-number-of-times-key-appe… › 19666
    More about discuss.python.org
    Count number of times key appears in json - Python Help - Discussions on Python.org

    ForumOct 3, 2022. … lastName": null, "costCenter": null }, { "codes": [ { "source": { "name": "net_salary", "value": 11500 }, "name": "net_salary", "code": "rt_sa", "value": 11500 }, { "identifiers": { "FullName": null, "NINumber": null, "Comp ID": null }, "lastName": null, "costCenter": null }, { "codes …

    0 points
  8. discuss.python.orghttps://discuss.python.org › t › doing-something-evil-deleting-… › 19184
    More about discuss.python.org
    Doing something evil: deleting a class (not instance) from memory - Python Help - Discussions on Python.org

    ForumSep 16, 2022. … why changes to the source code are not back-propagated to instances created in previous requests. If you make a change to the source code of C after request 2 but before …

    0 points
  9. discuss.python.orghttps://discuss.python.org › t › bootstrapping-a-specific-versi… › 12306
    More about discuss.python.org
    Bootstrapping a specific version of pip - Packaging - Discussions on Python.org

    ForumDec 2, 2021. … I can download the source code directly. But how do I install that source code without running python setup.py install ? There seem to be hints in the get-pip.py GitHub that suggest …

    0 points
  10. discuss.python.orghttps://discuss.python.org › t › definitions-of-interpreted-lan… › 63116
    More about discuss.python.org
    Definitions of “interpreted language” and “compiled language” with explanations of why Python and Java are or are not such languages - Python in Education - Discussions on Python.org

    ForumSep 6, 2024. … 1) never interpret the source code directly but (2) instead first translate (compile) the source code to machine code for a virtual machine and (3) store files containing this compiled code. it …

    0 points

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