|
python -c "import antigravity"
Try it...
...and what heated discussion?
|
|
|
|
|
We got carpet python in Australia, quite common in the gardens. Was it the Python you were looking for?!
|
|
|
|
|
These aren't the reptiles we're looking for, move along, move along.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I've only heard of it.. But yeah no, I don't know how to use it.
|
|
|
|
|
I see a lot of Python-bashing going on here. Even though I consider myself totally a C++ guy I must point out that Python has some significant merits.
As @OriginalGriff pointed out: "it is very easy to write really bad code in Python". Completely true. That does not make it a bad language. It does require good linting tools and a strong culture of code reviews and doing things carefully in the programming teams.
As someone else pointed out: "There is nothing powerful about the language, even if it has many libraries." That is technically true, the libraries do not change the language, but they have a massive impact on using the language. IMHO C++ would be pretty worthless without STL.
The Python community has managed to maintain a strong culture of releasing high quality libs. And if you e.g. need and an XML parser there is a good one to install with the python manager. It's not like in C++ where you googl and have to select from two dozen libraries in various download/packaging/build flavours, like in the C++ world.
I once need to monitor the CPU & Memory load on a remote test server. I wrote webserver generating a page with the load info. It was about half a dozen lines including the library imports. Python is quite nifty with such small things. Also I do like to use it for testing (servers).
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
megaadam wrote: it is very easy to write really bad code Period.
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
...from good old bash[^] (SFW)
|
|
|
|
|
I've taken some Pluralsight courses for Python. Since I haven't had a chance to actually use it I've probably forgotten most of it. Use it or lose it.
|
|
|
|
|
Have the entire series on DVD, does that count?
|
|
|
|
|
Is it this[^] one?
I'm retired. There's a nap for that...
- Harvey
|
|
|
|
|
Javascript and Python are like mosquitoes in the jungle, no matter how hard you try to avoid them, you always end up writing some interface code with them. Nothing happens as long as it's just that, but don't let the Python engulf you to the point of trying to write a full application with them.
Sorry for my bad English
|
|
|
|
|
This is the 7th language that I actually want to learn. I figure it should be pretty easy to get proficient enough to be dangerous. (The previous 6 languages I learned were Fortran, Pascal, C, C++, Java and C#). Today, I only use C#, but intend to add Python to that list.
/ravi
|
|
|
|
|
|
|
I learned a wee bit to manage some automation hooks in my subversion code repositories. Nothing else beyond that.
Its one of those tools that you pick up what you need when you need it, and until there is a more compelling reason you don't normally go beyond that...
|
|
|
|
|
about 70-90% of the time when I look at code examples in an old programming blog, a css update for new content has eaten all the indenting whitespace. In most languages that's only a nuisance; you can reconstruct the flow from { } 's or even begin end pairs . Python's whitespace encoded data is just gone forever.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
...in limited uses.
Particularly, developing for SBC's, can test code both in Windows and the SBC, mocking the hardware stuff specific to the SBC.
But that was a few years ago. .NET Core has advanced considerably since then and I probably wouldn't use, or need to use, Python at this point.
Latest Article - A 4-Stack rPI Cluster with WiFi-Ethernet Bridging
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
|
I read some articles and half baked tutorial, I also mangled a Python script to serve my purposes, and that's it.
As a consumer of some Python applications I have to say that it keeps the JRE hell but worse (I ended up with three bloated Python installation for three different softwares) and it's slow.
From a programmer PoV I work on branches where anything less than native is a hindrance (from extra high performance to hardware managemnent passing through embedded for alien units). Generically speaking I dislike languages that are not strictly typed - I recoil in horror at my reminiscences of JavaScript - and I completely dislike the forced new lines / indentation. I'm a fan of K&R indentation style and I used to write single line conditions for readability and Python forces a style upon me... I take badly things that are forced upon me.
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
I can work out enough from QA questions to fix some problems, but - I see nothing that encourages me to use it.
Quite the reverse; it looks like a language that it is far, far too easy to write bad code in. Just the "no need to declare variables" bit rings very loud alarm bells - I saw the problems you could get with that in FORTRAN many decades ago.
To my mind, it looks like the bastard love child of VB and Pascal, without the good bits of either. And VB doesn't have many good bits to start with ...
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
modified 10-Jun-19 3:09am.
|
|
|
|
|
I never had the need for a language like that in my life and I really hope, I never will end up in a situation where I really would _consider_ using something like python.
So yes, I totally agree with you.
What COBOL had a bit "too much" of an _IDENTIFICATION DIVISION_ ... Fortran was missing
|
|
|
|
|
It's not casual that one of the most requested features of VB has been "Option Explicit" and that it was enabled by default.
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
someone recently tried to tell me that Python was extremely powerful, I make the argument that it's the libraries that are the only power and likely written in c/c++, and Python its self is just some syntactic glue at best.
if Python is a real language, then powershell would be considered one also.
hell, I'll mess around in javascript all day, Ada, or BasicA before touching Python. maybe I'm getting too old to care about another scripting "language".
growing up on C/Basic and everything that followed; I don't see the VB similarities syntactically with Python in my limited experience modifying existing scripts when i had too. Can't say I've ever dealt with Pascal.
to me it feels like someone needed to "glue" various libraries together and started slapping whatever syntax was needed for the day into an interpreter. if that's the case I'm also likely guilty of creating some one off "languages" to get something working.
|
|
|
|
|
track down the causes of a few specific bugs based on log messages and suggest fixes to the developer.
But that's more than I want to know.
And I think my brief experience with Perl is more helpful at that.
modified 10-Jun-19 20:19pm.
|
|
|
|