Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Check multiple cases - Python 3.7
Post: Check multiple cases - Python 3.7

Hi guys. This is the framework's API: http://www.logicthrupython.org/api/ def evaluate(formula: Formula, model: Model) -> bool: """Calculates the truth value of the given formula in the given...
WannaBePythonDev Code Review 0 462 Sep-13-2021, 06:29 PM
    Thread: Simple Recursive-Descent Parser - Python 3.7
Post: RE: Simple Recursive-Descent Parser - Python 3.7

(Sep-13-2021, 05:06 PM)Gribouillis Wrote: WannaBePythonDev Wrote:As for unittesting - actually, I'm testing my framework using Pytest. Is there some reason unittest would be better than that?Not esp...
WannaBePythonDev Code Review 4 814 Sep-13-2021, 05:29 PM
    Thread: Simple Recursive-Descent Parser - Python 3.7
Post: RE: Simple Recursive-Descent Parser - Python 3.7

(Sep-13-2021, 08:05 AM)Gribouillis Wrote: WannaBePythonDev Wrote:I'd be glad to share my code below, and hear recommendations/modifications.It seems to me that the first missing piece is a unittest....
WannaBePythonDev Code Review 4 814 Sep-13-2021, 10:37 AM
    Thread: Simple Recursive-Descent Parser - Python 3.7
Post: Simple Recursive-Descent Parser - Python 3.7

Hello. I'm implementing some logic system from ground up using this framework: https://www.logicthrupython.org/api/index.html Now, for implementing this method: https://www.logicthrupython.org/api/pr...
WannaBePythonDev Code Review 4 814 Sep-12-2021, 05:09 PM
    Thread: Mypy typing error
Post: RE: Mypy typing error

(Sep-04-2021, 10:08 PM)Larz60+ Wrote: when posting errors, please, always post the entire, unaltered error traceback as it contains valuable diagnostic information. Error:{ "resource": "~/Intro to ...
WannaBePythonDev General Coding Help 2 599 Sep-05-2021, 10:18 AM
    Thread: Mypy typing error
Post: Mypy typing error

@staticmethod def formula_obj_to_string(formula: Formula) -> str: """Recursive function to assemble a string representation of the formula described by the a Formula object....
WannaBePythonDev General Coding Help 2 599 Sep-04-2021, 05:52 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020