RE: The Anti-@stimialiti Pro-Active and Reactive Counter Tool

avatar

You are viewing a single comment's thread:

Was learning Python hard? I have been wanting to learn a new language, but I feel like I have forgotten so many of the basics by now that it would be difficult. Nice job putting this together. I hope it works out for you!



0
0
0.000
14 comments
avatar

As always you need a project to work on and this was mine. I don't find switching languages hard and am quite in tune with them as there are always tons of examples on the internet.

In this case, I had to work with @holger80's documentation which was quite painful at times. You have to keep trying things until it works. I had a lot of problems when I started and it took a while for anything to work.

The spacing thing is weird. Python will stop with an error if you code is incorrectly spaced. Never seen that before.

0
0
0.000
avatar

That does seem kind of weird. I always missed commas in different places. That or colons and semicolons. It was a pain.

0
0
0.000
avatar

I am used to For...Next. In the case of Python there is no 'Next' so you have to space it correctly.. below is a snippet..

image.png

The next 'if' statement need to line up and be spaced, not tabbed. It was frustrating to start with.

After trying to teach many a person VBS in the past, I feel like you either have the coding gene or you don't.. and if you don't you will never be able to write things from nothing.. just edit existing scripts.

0
0
0.000
avatar

That is probably the camp that I fall into. That last part. :P

0
0
0.000
avatar

Many code editing software will convert tabs to spaces automatically when editing Python. I use VS Code, and it does that, so I don't get the message about mixing spaces and tabs. I did get that error message when I was using the IDLE program that comes with Python when you install it.

0
0
0.000
avatar

I'm using some ancient editor from 2007, and that isn't helping much. It's better than notepad!

0
0
0.000
avatar

Python is one of the easiest and most useful languages.

0
0
0.000
avatar

I haven't coded since college twenty years ago and it was C++. Plus I was horrible at it, so I don't have much hope. I just don't think like a coder I don't think.

0
0
0.000
avatar

Programming is largely solving problems in efficient and succinct ways.

0
0
0.000
avatar

Yeah, I guess I was just destined to work on the hardware side of things more than the software side...

0
0
0.000
avatar

Before I started learning Python, the only programming I did was in BASIC back in the late 80s to mid 90s as a kid.

Python is a lot easier to learn than C++. It's one of the easiest languages to learn. If I'm not mistaken, it was first developed to teach programming, then they realized it could be useful for actual production software. It's one of the most popular languages and it's intuitive because it's almost like reading English. Someone described it as pseudo-code that actually runs.😄

0
0
0.000
avatar

Very interesting. My issue is I don't really know as though I have anything I need codded. That's where my real disconnect is.

0
0
0.000
avatar

That's right. You need a project to make it worth the effort.

0
0
0.000