Hello there! I'm a former programmer, who's dipping his toes in the water again. This time, instead of VB 6, I'm using the Python language. It's free, and I'm glad not to have chosen Java. The books I've bought on Java make no mention of a GUI builder anywhere! (after searching the web, I discovered there's a couple you can download from the Eclipse maketplace feature). So I'm sticking with Python as I've read more on it, basically.
My aim is to create a small desktop app to replicate a balance sheet, as a way to pass the time. [Using a GUI, and GUI builder]
Here's my first program in about a year, and one I took from the web. https://www.vogella.com/tutorials/Python/article.html
My aim is to create a small desktop app to replicate a balance sheet, as a way to pass the time. [Using a GUI, and GUI builder]
Here's my first program in about a year, and one I took from the web. https://www.vogella.com/tutorials/Python/article.html
def add(a,b): return a+b def addFixedValue(a): y = 5 return y +a print add(1,2) print addFixedValue(1) Guess what! The 'print' statement needs to be enclosed in brackets! It won't actually run...here's the fixed version : def add(a,b): return a+b def addFixedValue(a): y = 5 return y +a print (add(1,2)) print (addFixedValue(1))So as a means to introduce myself, and for an amusing first program that didn't run, type anecdote...I'd just like to say just hello, and thanks in advice as I work towards my aims.
Larz60+ write Apr-11-2022, 08:56 PM:
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Fixed for you this time. Please use BBCode on future posts.
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Fixed for you this time. Please use BBCode on future posts.