Dipping Toes Into Programming
-
Main page: http://www.tornadoweb.org
-
@tim_g said in Dipping Toes Into Programming:
I found this website which looks interesting and helpful:
Yep, that would be a good one. Here are some more
https://python.swaroopch.com/index.html
http://getpython3.com/diveintopython3/
https://anandology.com/python-practice-book/index.html
http://greenteapress.com/thinkpython/html/index.html -
I started with Python last night for about 45 minutes..
I feel like I'd rather learn JS first, but it seems learning both is best. So starting with Python then Django, then JavaScript. They all go together, but Python seems to have more overall uses in IT.
-
@tim_g said in Dipping Toes Into Programming:
I started with Python last night for about 45 minutes..
I feel like I'd rather learn JS first, but it seems learning both is best. So starting with Python then Django, then JavaScript. They all go together, but Python seems to have more overall uses in IT.
Yes, JS really has no applicability to IT tasks.
-
@tim_g said in Dipping Toes Into Programming:
I started with Python last night for about 45 minutes..
I feel like I'd rather learn JS first, but it seems learning both is best. So starting with Python then Django, then JavaScript. They all go together, but Python seems to have more overall uses in IT.
Yes, there are so many Python modules out there that you could probably almost replace Powershell with it.
-
@Tim_G imho the best way to learn python is try to rewrite some of your PS scripts with it.
Also if you plan webapps Django is ok. For REST API flask is a better option imho.
My last application in python was done with flask appbuilder. A sort of small django.Visual studio code is your best bet for interpreted languages.
I see you have made your choice. Btw I strongly recommend python over js for a newbie too. because the non blocking concurrent logic of js tends to blow your brain in the beginning.
-
@flaxking said in Dipping Toes Into Programming:
@tim_g said in Dipping Toes Into Programming:
I started with Python last night for about 45 minutes..
I feel like I'd rather learn JS first, but it seems learning both is best. So starting with Python then Django, then JavaScript. They all go together, but Python seems to have more overall uses in IT.
Yes, there are so many Python modules out there that you could probably almost replace Powershell with it.
Completely replace it, definitely. Python is the most universal automation language for systems administration. You can run Python on .NET, on Java, on the OS directly (with the standard interpreter), it predates PowerShell as the hard core scripting language for Windows automation. It's great because it works on Linux, Solaris, BSD, MacOS, etc. as well.
SaltStack is written in Python and does essentially anything you can imagine.
-
@matteo-nunziati said in Dipping Toes Into Programming:
Visual studio code is your best bet for interpreted languages.
I agree. My top three picks for Python would be...
- Visual Studio Code
- Atom
- PyCharm
-
@matteo-nunziati said in Dipping Toes Into Programming:
@Tim_G imho the best way to learn python is try to rewrite some of your PS scripts with it.
Also if you plan webapps Django is ok. For REST API flask is a better option imho.
My last application in python was done with flask appbuilder. A sort of small django.Visual studio code is your best bet for interpreted languages.
I see you have made your choice. Btw I strongly recommend python over js for a newbie too. because the non blocking concurrent logic of js tends to blow your brain in the beginning.
Cool, I'll keep Flask in mind when I get to that point.
-
@matteo-nunziati said in Dipping Toes Into Programming:
isual studio code is your best bet for interpreted languages.
Yes I agree, but to start learning, I'm using Thonny. I like how it debugs through code and how you can step through it as well as it's visual help. I compared the same thing to VSC, and seems like Thonny is better for gettign started.
-
@tim_g said in Dipping Toes Into Programming:
@matteo-nunziati said in Dipping Toes Into Programming:
isual studio code is your best bet for interpreted languages.
Yes I agree, but to start learning, I'm using Thonny. I like how it debugs through code and how you can step through it as well as it's visual help. I compared the same thing to VSC, and seems like Thonny is better for gettign started.
Yes. As a learning tool thonny is a better start. That's thonny goal in the end!
-
@scottalanmiller said in Dipping Toes Into Programming:
@flaxking said in Dipping Toes Into Programming:
@tim_g said in Dipping Toes Into Programming:
I started with Python last night for about 45 minutes..
I feel like I'd rather learn JS first, but it seems learning both is best. So starting with Python then Django, then JavaScript. They all go together, but Python seems to have more overall uses in IT.
Yes, there are so many Python modules out there that you could probably almost replace Powershell with it.
Completely replace it, definitely. Python is the most universal automation language for systems administration. You can run Python on .NET, on Java, on the OS directly (with the standard interpreter), it predates PowerShell as the hard core scripting language for Windows automation. It's great because it works on Linux, Solaris, BSD, MacOS, etc. as well.
SaltStack is written in Python and does essentially anything you can imagine.
All reasons that persuaded me to start with Python instead of JS... though I do want to learn JS in the end due to it's awesome web usefulness stuff and web browser integration.
-
@scottalanmiller said in Dipping Toes Into Programming:
@flaxking said in Dipping Toes Into Programming:
@tim_g said in Dipping Toes Into Programming:
I started with Python last night for about 45 minutes..
I feel like I'd rather learn JS first, but it seems learning both is best. So starting with Python then Django, then JavaScript. They all go together, but Python seems to have more overall uses in IT.
Yes, there are so many Python modules out there that you could probably almost replace Powershell with it.
Completely replace it, definitely. Python is the most universal automation language for systems administration. You can run Python on .NET, on Java, on the OS directly (with the standard interpreter), it predates PowerShell as the hard core scripting language for Windows automation. It's great because it works on Linux, Solaris, BSD, MacOS, etc. as well.
SaltStack is written in Python and does essentially anything you can imagine.
One thing that caught my attention is how well Python works with the major databases. That will be a big help later.
-
@tim_g said in Dipping Toes Into Programming:
@scottalanmiller said in Dipping Toes Into Programming:
@flaxking said in Dipping Toes Into Programming:
@tim_g said in Dipping Toes Into Programming:
I started with Python last night for about 45 minutes..
I feel like I'd rather learn JS first, but it seems learning both is best. So starting with Python then Django, then JavaScript. They all go together, but Python seems to have more overall uses in IT.
Yes, there are so many Python modules out there that you could probably almost replace Powershell with it.
Completely replace it, definitely. Python is the most universal automation language for systems administration. You can run Python on .NET, on Java, on the OS directly (with the standard interpreter), it predates PowerShell as the hard core scripting language for Windows automation. It's great because it works on Linux, Solaris, BSD, MacOS, etc. as well.
SaltStack is written in Python and does essentially anything you can imagine.
One thing that caught my attention is how well Python works with the major databases. That will be a big help later.
Definitively the most complete language imho. Js is all nosql. I'm currently looking at asp.net core 2.0 and there are less "production ready" solutions even here.
Python has libs for almost any kind of db. And even a really powerful (but complex) orm! -
@tim_g said in Dipping Toes Into Programming:
@scottalanmiller said in Dipping Toes Into Programming:
@flaxking said in Dipping Toes Into Programming:
@tim_g said in Dipping Toes Into Programming:
I started with Python last night for about 45 minutes..
I feel like I'd rather learn JS first, but it seems learning both is best. So starting with Python then Django, then JavaScript. They all go together, but Python seems to have more overall uses in IT.
Yes, there are so many Python modules out there that you could probably almost replace Powershell with it.
Completely replace it, definitely. Python is the most universal automation language for systems administration. You can run Python on .NET, on Java, on the OS directly (with the standard interpreter), it predates PowerShell as the hard core scripting language for Windows automation. It's great because it works on Linux, Solaris, BSD, MacOS, etc. as well.
SaltStack is written in Python and does essentially anything you can imagine.
One thing that caught my attention is how well Python works with the major databases. That will be a big help later.
They all really do that. Database integration isn't lacking from any major language.
-
@matteo-nunziati said in Dipping Toes Into Programming:
Definitively the most complete language imho. Js is all nosql.
JS has no particular affinity for NoSQL any more than for relational databases. There is a trend in the NodeJS community to lean towards NoSQL, and there is a trend in language like Python and Ruby to lean towards relational - but it has nothing to do with the language or capabilities, but only the kinds of projects people are popularly making with those languages. And often it's nothing more than one or two famous frameworks creating the impression.
-
I’ve been doing a lot with Go lately and I think I’m going to start using that for most things I do. It’s probably the most cross platform available language. I’m not a dev in any way but it’s pretty easy to pick up. Web stuff is really easy with it as well.
-
@scottalanmiller said in Dipping Toes Into Programming:
@matteo-nunziati said in Dipping Toes Into Programming:
Definitively the most complete language imho. Js is all nosql.
JS has no particular affinity for NoSQL any more than for relational databases. There is a trend in the NodeJS community to lean towards NoSQL, and there is a trend in language like Python and Ruby to lean towards relational - but it has nothing to do with the language or capabilities, but only the kinds of projects people are popularly making with those languages. And often it's nothing more than one or two famous frameworks creating the impression.
Yes this is not a language/implementation feature but most of a community trend.
What I mean is: Try postrgres in python: there is plenty of options. From python default db lib up to sqlalchemy.
Most of what I sorted out in node/js was plain sql queries embedded in strings into calling functions. -
@stacksofplates said in Dipping Toes Into Programming:
I’ve been doing a lot with Go lately and I think I’m going to start using that for most things I do. It’s probably the most cross platform available language. I’m not a dev in any way but it’s pretty easy to pick up. Web stuff is really easy with it as well.
I’ll clarify. Not most cross platform but easiest.
-
@stacksofplates said in Dipping Toes Into Programming:
I’ve been doing a lot with Go lately and I think I’m going to start using that for most things I do. It’s probably the most cross platform available language. I’m not a dev in any way but it’s pretty easy to pick up. Web stuff is really easy with it as well.
Go looks interesting too!