Skip to content
murmot

Results for “python function reference table command site:discuss.python.org file”

  • discuss.python.org

    How to parse a file, looking for a match to a command line ...

    Jul 23, 2022 · I’m learning Linux commands, HTML, CSS, and Javascript, too, so I’ll have one reference file per language. To open (for example) the python reference file (pythonref.html - filled with notes I’ve added using my ref script), I want to be able to type ref p rather than ref python. I plan to use a csv file for these abbreviations:

  • discuss.python.org

    Function still running after using os._exit() command - Python Help...

    Also probably worth noting is that this is using the default python from replit.com. the loading_screen() function referenced in the main menu just uses the time.sleep() function to do a “…” after you enter the parameter for a quote. loading_screen() function, in case it finds itself being a problem.

  • discuss.python.org

    Discussions on Python.org

    Discussions related to the Python Programming Language, Python Community, and Python Software Foundation operations.

  • discuss.python.org

    Comparing two tables and return value if more or less

    Apr 26, 2024 · I’m new to the community as well as python. May I ask if there’s any discussion to compare two tables (one is reference table and one is table to-compare) or someone that can help with where we read the value from to-compare table and lookup the value in reference table and compare whether it is exceed the value in reference table or not.

  • discuss.python.org

    Passing argument to function from command line - Python Help ...

    Jun 25, 2025 · My son wrote a command line program in ruby for me. I want to convert it to python. To run the program he has done this on the command line; “./myProgram.rb ‘argument’”. Then the 'argument ’ is passed into the program to be processed. I want to do the same in python. I am not asking that someone write the code for me, rather give me a hint where I can get the info to do that. Oh yes ...

  • discuss.python.org

    'None' keeps appearing in the output - How to remove it?

    No worries; you’re welcome. One improvement: if you use answer = input("Enter A, B or X to proceed: ").lower(), then it matters not how the user enters an option; they can use uppercase or lowercase. It’s a little off-topic, but yes, you can (and should) use docstrings to annotate your functions.

  • discuss.python.org

    Fetch the value from table - Python Help - Discussions on ...

    Apr 14, 2023 · In this case, you requested a table with one column (select c.delim), and the row that you fetched has ',' for the value in that column, stored in a 1-element tuple (',',). (The trailing comma is how Python tells you that this is a tuple, instead of the () being normal order-of-operations parentheses.)

  • discuss.python.org

    How name resolution works in Python

    May 3, 2023 ... First step fills the scope table by visiting every declaration AST node like variables, functions, classes etc. and also resolve the occurence ...

  • discuss.python.org

    Stuff undefined importing functions from other file - Python ...

    Feb 10, 2023 · The problem is that when I try to import those function (using ’ from path/to/directory import [module] ’ and [name_module]. [name_function () ]) in the main.py, running it seems to recognize them, but it can’t find - for instance - a tkinter’s frame that would be open when imported in the main.py, saying “variable not defined”, but ...