I have been coding using Python for almost 2 weeks now and I think I have a good handle on the basic stuff, i.e the basic syntax, declaring variables, printing them, playing around with the lists, dictionaries and that kind of stuff, pretty basic.
Now I am pretty good at PHP and by that what I mean is that PHP is the language I know better than other languages and that I use for most of my work, but due to it's popularity in various Dev forums and also due to my curiosity as a developer I came to the conclusion that I would be better off knowing some Python and if it grows on me, I could actually start doing some projects with it.
So when I set up the environment and was ready to start my python coding adventure, when I had obtained sufficient understanding of the language to now start doing some database scripting tests i.e.. connecting to the DB, querying the DB and that kind of stuff, I ran into some errors, and long story short those errors had to do with the mysql-connector module that I had imported in my script vis-a-vis the version of Python in my system (I run Python3.6 on Ubuntu). The most stable release as I found out is Python2.7 and is actually the default Python environment in my OS, so when I run my little DB connecting script, it runs perfectly.
I hopped back to the online forums to find a work-around for my situation and apparently I would have had an easier time just using Python2.7 in my DB test. The dilemma is that I actually want to write Python in its most progressive version which right now is 3.6, probably 3.7. It's like I'm stuck in ver 2.7 for now, and I'm not so sure about that.
Comparing PHP to Python where the most fundamental code is really the same (at least as far as DB connection is concerned for me), I cannot help but be frustrated by all this, if anyone out there knows some good starting points for me, please feel free to share your pointers.