Page 3, found in 79 ms

  1. discuss.python.orghttps://discuss.python.org › t › cpython-import-module-error › 51098
    More about discuss.python.org
    Cpython import module error - Python Help - Discussions on Python.org

    ForumApr 16, 2024. … module in my python code? What i want is that i want to execute python code in c++ code, and then this python code imports the package of the local virtual environment …

    0 points
  2. discuss.python.orghttps://discuss.python.org › t › adding-conditional-compilation… › 13702
    More about discuss.python.org
    Adding conditional compilation to Python - Ideas - Discussions on Python.org

    ForumFeb 15, 2022. … Problem These changes are sources of evolution to the language, which is a good thing, but we increasingly see code which would want to adopt to this new syntax but cannot change …

    0 points
  3. 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
  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 › convert-python-to-use-qt-proje… › 27763
    More about discuss.python.org
    "Convert " Python to use QT project , qmake option error? - Python Help - Discussions on Python.org

    ForumJun 12, 2023. … more detail about the code you are working with. Is this a PyQt or PySide project? What is the code that you are compiling? What is it that is being “converted”? Is …

    0 points
  6. discuss.python.orghttps://discuss.python.org › t › await-asyncio-gather-task-hang… › 30381
    More about discuss.python.org
    `await asyncio.gather(task)` hangs when `await task` works - Python Help - Discussions on Python.org

    ForumJul 27, 2023. … with one function: My code looks like this (hangs): evaluations = [] async for source_pitch in self.source_pitches.all(): evaluations.append(Evaluation.create(source_pitch, batch=self)) await asyncio.gather(*evaluations, return_exceptions=True) While this runs …

    0 points
  7. discuss.python.orghttps://discuss.python.org › t › biotite-in-vscode-gives-fileno… › 56046
    More about discuss.python.org
    Biotite in VScode gives FileNotFoundError! [WinError 2] The system cannot find the file specified - Python Help - Discussions on Python.org

    ForumJun 18, 2024. … please carefully explain: which source code file are you showing us, and why? (Is it part of the code that you wrote, or is it part of someone else’s code that you’re …

    0 points
  8. 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
  9. discuss.python.orghttps://discuss.python.org › t › ast-parse-mode-single-doesnt-w… › 109909
    More about discuss.python.org
    Ast.parse mode='single' doesn't work as expected - Python Help - Discussions on Python.org

    ForumNov 6, 2026. … work though. import ast source_code = \ """print("xyz") x = 1; y = 2 if True: # <- ast fails: IndentationError: expected an indented block after 'if' statement x = 3 """ for line in source_code.splitlines(): ast …

    0 points
  10. discuss.python.orghttps://discuss.python.org › t › can-you-hack-the-idle-gui › 14002
    More about discuss.python.org
    Can you Hack the IDLE GUI? - Developer Tools - Discussions on Python.org

    ForumMar 1, 2022. … you can copy the code and modify it. You might be able to customise it using the “.Idle.py” mechanism described here: https://docs.python.org/3/library/idle.html#startup-and-code-execution The source …

    0 points

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