Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: While loop with List and if stmt
Post: RE: While loop with List and if stmt

Var1 is declared as a set, and the order of the items may not be as you declared them.
jdjeffers General Coding Help 3 2,464 Oct-23-2018, 11:12 AM
    Thread: Python Debugger Suggestions
Post: RE: Python Debugger Suggestions

Now you know about the debugger, it's just a matter of using it. Before you know it, you'll be writing tests, too.
jdjeffers General Coding Help 3 3,090 Oct-22-2018, 07:05 PM
    Thread: won't exit a loop, please help
Post: RE: won't exit a loop, please help

The statement at line 20 is part of the block that executes with the while conditional starting at line 20. Let's say you enter "n" while prompted. Yes, the redo variable is now set to 1, but the fir...
jdjeffers General Coding Help 9 4,409 Oct-22-2018, 11:44 AM
    Thread: if conditional not firing - unable to understand why
Post: RE: if conditional not firing - unable to understa...

Is it possible to post an example of the JSON data you are using?
jdjeffers General Coding Help 7 3,384 Oct-20-2018, 10:14 AM
    Thread: How to Level Up in Python - an introduction to Exercism.io
Post: How to Level Up in Python - an introduction to Exe...

This is a short introduction to using Exercism.io to develop your technical and problem solving skills with Python. The article is How to Level Up with Python. What is Exercism? Quote:Code practice...
jdjeffers Tutorial Requests and Submissions 0 2,910 Oct-17-2018, 10:44 AM
    Thread: Arrgh! Why Doesn't My Program Work? - An introduction to the Python debugger
Post: RE: Arrgh! Why Doesn't My Program Work? - An intro...

You're right about the formatting of the code blocks. Thanks for pointing out the markup issue!
jdjeffers Tutorial Requests and Submissions 3 3,152 Oct-17-2018, 10:21 AM
    Thread: Arrgh! Why Doesn't My Program Work? - An introduction to the Python debugger
Post: Arrgh! Why Doesn't My Program Work? - An introduct...

I wrote a short introduction to how to use the Python debugger. The link is here Argh! Why Doesn't My Program Work?. Thanks, James
jdjeffers Tutorial Requests and Submissions 3 3,152 Oct-16-2018, 12:44 PM
    Thread: Getting stared with unit tests in Python
Post: Getting stared with unit tests in Python

I wrote a very basic "how to get started" article about writing tests in Python. It also discusses why unit tests help you write better Python programs. The article is here https://jamesjeffersconsul...
jdjeffers Tutorial Requests and Submissions 0 2,246 Oct-15-2018, 03:40 PM
    Thread: unittest for nested function
Post: RE: unittest for nested function

You might try to isolate the behavior of the parts you want to test. Since you are using direct references to the parts of the the function you would like to test, this is a problem. One possible way...
jdjeffers General Coding Help 2 4,615 Oct-15-2018, 01:43 PM
    Thread: can't figure out what is wrong with this code
Post: RE: can't figure out what is wrong with this code

Have you considered using the debugger to watch your program execute?
jdjeffers General Coding Help 2 2,709 Oct-09-2018, 05:48 PM

User Panel Messages

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