The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
I looks like I will be forced down the snake route, so as some one who has an ammount of Vis Studio experience (VB, VB.NET, C#) and a very solid background in C is there a route other than the Python for Beginners book I have gone through that basically give you an overview and simple examples rather than this is how you automate X with it. I mean I can write a text adventure, not automate things.
Dive Into Python - either for Python3 or Python2. IMO, Python3 is preferable - it's just about become the mainstream Python version - after nearly a decade since the first 3.0 release...
In addition - use tools like PyLint to check your code for issues that won't be found until runtime (if you're lucky!)... My favoured setup is to use Visual Studio Code, as it has a solid Python extension builtin (IIRC - easy enough to install if not) with pylint for checking and autopep8 to format my code (although yapf looks like it might do a more aesthetically pleasing job... Have to look at that!).
And then you'll want to get familiar with pip, or something slightly more sophisticated like pipenv.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
I only found this *after* actually learning and using Python for some time: Obey The Testing Goat[^]. But I think it's a fantastic resource, not only for learning Python but for learning how to take a test-first approach.
The first thing you need to know is that you are in luck. You may not know this, but you are. Visual Studio has some really good (and free) Python tools. Actually, they are excellent. They may or may not be better than PyCharm and PyDev (I have never used either of them enough to say). However, if you already know VS, stick with it. For the record, I love VS (for C and C++) and Eclipse (for Java).
As for books, I used two books. First, I read was "Python for Dummies" (no kidding). It helped a lot. Then I obtained (as a reference work), "Python Essential Reference (4th Edition)" by David Beazley.
Compared to C/VB/VB.NET/C#, Python is easy. The VS tools, make it even easier.
My friend inherited a Joomla website for a theater group and needs to modify it or start over. It needs to do PayPal, sell theater tickets. She used to be very technical. I figure the PHP in Joomla should be easy enough for here. Does anyone have any other suggestions though or useful thoughts... Maybe just funny ones? I can't really tell her how much I like MVC with .NET core. It wouldn't help.
I can address some aspects of the the Joomla option.
Ask these questions first:
1. Does the existing website provide all the other functionality that the organization requires?
2. Was that website put together by a someone with a development background? In other words is it well organised or not?
If yes to these then consider upgrading the existing website. The way to do this is not by developing your own plugin but by finding an existing extension (usually paid for) that will do the job.
Unless your friend has real knowledge of programming I would advise against developing a custom Joomla plugin. This will have ongoing support issues due to changes in Joomla etc. Also the "PHP in Joomla" is non-trivial unless you have PHP experience Setting up your workstation for Joomla development - Joomla! Documentation[^]
A Google search shows a number of ecommerce Paypal plugins for Joomla. These usually can be tested for free even if not free. The way to test is to set up a local server with XAMPP install the website and try the plugin there. Look at the history, support and reviews of any you consider. If you find one that does the job this can be a very good way to get you going.
If you choose not to upgrade the Joomla site then another option is to create a new website in Joomla or Drupal.
If neither of those options seem attractive then all others are on the table. In that case leveraging any existing knowledge is the way I would go.
"The whole problem with the world is that fools and fanatics are always so certain of themselves, and wiser people so full of doubts." - Bertrand Russell
Last Visit: 27-Oct-20 6:15 Last Update: 27-Oct-20 6:15