|
glennPattonWork wrote: I am going to start using Notepad++
Visual Studio supports python since 2015
In theory, theory agrees perfectly with practice.
In practice, this is virtually never the case.
"*the {VOiCE} says: The truth is analog - not digital." - jonathan HICKMAN
|
|
|
|
|
Thanks ... I was just going to ask about this . This makes things a lot easier. Perhaps I will give Python another try ...
|
|
|
|
|
Like some of the other respondents, I was introduced to programming with BASIC and FORTRAN in the '70s. Turbo Pascal was fun to use and was my introduction to functional languages. Still, for most of my career Excel was adequate for data manipulation, analysis and presentation. A few years ago, I began generating 1000 point molecular dynamics data series and Excel fell short of my needs. Some Google research led me to matplotlib and python. I know that views differ, but I am a fan. There are many great libraries, especially for scientific applications. Anaconda bundles an ample collection (including native IDEs) and is trivial to install, even without admin rights on Windows.
I find the VS support for python to be pretty decent. It will auto-indent spaces or tabs cleanly <whisper> use spaces < /whisper> and highlight any inconsistencies. You can choose from several python and Anaconda environments to get satisfactory Intellisense. My only real complaint is the inconsistent performance of the Navigation bar in VS 2017 Community. Frequently, the drop-down will not be populated with the objects in a module, which is annoying. Since VS 15.6, it has been better, but the second-level drop-down (e.g. for functions in a class) is still always empty for me. There is a bit of frustrated discussion about this online and MS repeatedly claims it fixed, but...
Python is not the the right hammer for every nail. Nonetheless, it is a great ancillary tool to have. I hope that it gives you a good second experience.
George
In theory, theory agrees perfectly with practice.
In practice, this is virtually never the case.
"*the {VOiCE} says: The truth is analog - not digital." - jonathan HICKMAN
|
|
|
|
|
haha, as a BASIC guy, I feel the same way about case sensitivity being part of syntax. THIS and this should not be different things!
|
|
|
|
|
Have you tried copying python code yet? They used tabs but you've got spaces and now there's red squiggles everywhere telling you really weird things about incomplete methods. It looks like it all lines up and you're not sure who had the tabs and who had the spaces so you're not sure what to change what to.
|
|
|
|
|
What about SNOBOL which used the space as an operator whose meaning changed depending on where it appeared in the line of code?
It was invented when code was keypunched so entabbed source code was physically impossible.
Joan F Silverston
jsilverston@cox.net
nhswinc.com
|
|
|
|
|
Definitely use a python aware editor. Try Sublime editor (my personal favorite) or gvim. Sublime not only has tab space substitution - but it also has block indent and block comment which will save your mind programming python as well.
And don't fret - after a while the indenting and spaces come natural, you may even start to like it.
|
|
|
|
|
If you insist on using a generic text editor for your Python coding, mate, more fool you! Use an IDE. I use (and love) PyCharm Community Edition. It's a free download, takes care of all your indentation woes, and flags anything even remotely non-kosher to keep you honest.
|
|
|
|
|
Tonight I start an early and long weekend and planned to put some Bratwurst on the grill. Perhaps something traditional[^] with salad and fried potatos, but no Sauerkraut. I hate that stuff, despite all stereotypes.
And then there is peace, justice and the American way[^]. Sacrilege! Can't you guys eat anything that's not in a bun?
It gets even worse: Vegan Beer Brats[^]. The thing in that bun looks like they fried a molerat.
Edit: Sorry this post was a little messed up.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
modified 9-May-18 5:12am.
|
|
|
|
|
Note: schnecken-bratwurst are not actually made with snail meat.
|
|
|
|
|
I'm not from France!
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
CodeWraith wrote: Perhaps something traditional[^] with salad and fried potatoes
That looks good! Now where do I find kosher (veal) bratwurst in Israel? ...
CodeWraith wrote: And then there is peace, justice and the American way[^]. Sacrilege!
Buns are OK for some types of sausages, but not for bratwurst. OTOH, the relish actually sounds tasty.
CodeWraith wrote: It gets even worse: Vegan Beer Brats[^].
All vegetarian/vegan meat "substitutes" are works of the Devil.
Ad astra - both ways!
|
|
|
|
|
Daniel Pfeffer wrote: That looks good! Now where do I find kosher (veal) bratwurst in Israel? ... That's a problem. I have no idea.
Daniel Pfeffer wrote: OTOH, the relish actually sounds tasty. Worth a try, but without any buns.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Daniel Pfeffer wrote: That looks good! Now where do I find kosher (veal) bratwurst in Israel? ...
Here[^] perhaps? They also make a kosher variance of the Thuringer Bratwurst[^] even though I'm not sure whether that one is available in Israel.
I only have a signature in order to let @DalekDave follow my posts.
|
|
|
|
|
That's anything but not kosher...
"The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018
|
|
|
|
|
Try these: Merguez - Wikipedia[^]
If you like it hot...
"The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018
|
|
|
|
|
Daniel Pfeffer wrote: where do I find kosher (veal) bratwurst in Israel?
Make it yourself. Get the kosher veal, mince it with about 15-20% bread crumbs, salt and pepper.
OK, the bread crumbs arent traditional, but make a WAY better sausage!
|
|
|
|
|
Had it yesterday and went for Berner-Würstel – Wikipedia[^]! Omnomnom.
Rules for the FOSW ![ ^]
if(!string.IsNullOrWhiteSpace(_signature))
{
MessageBox.Show("This is my signature: " + Environment.NewLine + _signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
|
Ok, but will nobody ask questions when Olma suddently disappears?
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
CodeWraith wrote: Can't you guys eat anything that's not in a bun?
Nope, too busy to sit and eat.
|
|
|
|
|
CodeWraith wrote: Tonight I start an early and long weekend and planned to put some Bratwurst on the grill... Well there's your first mistake, bratwurst is boiled/poached - perhaps a light grilling after to add a bit of flavour/crispiness to the casing, but they're not grilled from scratch.
(You cook it right in the sauerkraut adding the wurst a bit later, gets that more authentic flavour and it somewhat takes the edge off the kraut - you may actually get to like the kraut if done so.)
Signature ready for installation. Please Reboot now.
|
|
|
|
|
Lopatir wrote: bratwurst is boiled/poached - perhaps a light grilling after to add a bit of flavour/crispiness to the casing, but they're not grilled from scratch.
Funny, I just learned about this recently from a YouTube video. I either just boiled them, or grilled them, but not both.
So, the next time I cook them, I will boil them mostly, and then finish them off on the grill, as I do like the grill aspect very much.
|
|
|
|
|
Braten means to roast, not boil.
|
|
|
|
|
He's referring to a type of knackwurst; a hotdog-like wurst that is boiled, and which some people refer to as a bratwurst.
The pig-intestine filled with minced meat and herbs is the stuff you throw on a grill, and what most people will expect. The latter one does not combine as good with sauerkraut as the first does.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|