Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-22 Thread Gregory Ewing
BartC wrote: Our system must have been more advanced then, or designed for training. We used a time-sharing 'dec-system 10' and it was usually accessed via interactive terminals, either teletypes or the odd VDU. According to Wikipedia the first interactive version of Dartmouth BASIC appeared

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-22 Thread BartC
On 22/02/2016 10:46, Steven D'Aprano wrote: On Mon, 22 Feb 2016 08:52 am, Jussi Piitulainen wrote: BartC writes: IIRC, the first programming exercise I ever did (in 1976 using Algol 60) involved reading 3 numbers from the teletype and working out if those could form sides of a triangle.

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-22 Thread Random832
On Mon, Feb 22, 2016, at 05:46, Steven D'Aprano wrote: > Jussi, I think you have an inflated expectation of what was available in > 1976. Command line? What's that? Programs ran in batch mode, > and 'interactive' meant that you could easily slip out one punched card, > replace it with a different

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-22 Thread Chris Angelico
On Mon, Feb 22, 2016 at 11:51 PM, BartC wrote: > Yes, I mentioned that point. In the OP's language, the variables can be > declared as a particular type; in Python they could perhaps be 'declared' by > first assigning with 0, 0.0 or "" for example. But that would need reference >

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-22 Thread BartC
On 22/02/2016 11:16, Steven D'Aprano wrote: On Mon, 22 Feb 2016 12:16 am, BartC wrote: [...] No need for anyone to re-invent the wheel! ;-) I keep seeing this in the thread. Python has all this capability, yet it still requires a lot of fiddly code to be added to get anywhere near as simple

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-22 Thread BartC
On 22/02/2016 08:50, Jussi Piitulainen wrote: BartC writes: Reading stuff from an interactive console or terminal, is such an important part of the history of computing, still being used now, that you'd think a language would provide simple, ready-to-use methods ways to do it. I think it

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-22 Thread Jussi Piitulainen
Steven D'Aprano writes: > On Mon, 22 Feb 2016 08:52 am, Jussi Piitulainen wrote: > >> BartC writes: > >>> IIRC, the first programming exercise I ever did (in 1976 using Algol >>> 60) involved reading 3 numbers from the teletype and working out if >>> those could form sides of a triangle. >> >>

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-22 Thread Steven D'Aprano
On Mon, 22 Feb 2016 12:16 am, BartC wrote: [...] >> No need for anyone to re-invent the >> wheel! ;-) > > I keep seeing this in the thread. Python has all this capability, yet it > still requires a lot of fiddly code to be added to get anywhere near as > simple as this: > >read f, a, b, c

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-22 Thread Steven D'Aprano
On Mon, 22 Feb 2016 08:52 am, Jussi Piitulainen wrote: > BartC writes: >> IIRC, the first programming exercise I ever did (in 1976 using Algol >> 60) involved reading 3 numbers from the teletype and working out if >> those could form sides of a triangle. > > That was a lousy user interface even

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-22 Thread Jussi Piitulainen
BartC writes: > On 21/02/2016 21:52, Jussi Piitulainen wrote: [...] > def istriangle(*threeintegers): >> a,b,c = sorted(threeintegers) >> return a*a + b*b == c*c > > (That detects right-angled triangles. I think 'return a+b>c' is the > correct test for any triangle. It

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-22 Thread Denis Akhiyarov
Note that you can continue using your existing vb6 code from python through COM using pywin32 or pythonnet, until you decide to rewrite it. -- https://mail.python.org/mailman/listinfo/python-list

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-21 Thread BartC
On 21/02/2016 21:52, Jussi Piitulainen wrote: BartC writes: But this is not so much to do with VB6, but with a very fundamental capability that seems missing in modern languages. All that's missing is a minor convenience that turns out to be mainly awkward. Not at all fundamental. It /is/

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-21 Thread Jussi Piitulainen
BartC writes: > But this is not so much to do with VB6, but with a very fundamental > capability that seems missing in modern languages. All that's missing is a minor convenience that turns out to be mainly awkward. Not at all fundamental. The capability of parsing simple input formats is

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-21 Thread Tim Chase
On 2016-02-21 13:16, BartC wrote: > > No need for anyone to re-invent the > > wheel! ;-) > > I keep seeing this in the thread. Python has all this capability, > yet it still requires a lot of fiddly code to be added to get > anywhere near as simple as this: > >read f, a, b, c > > And this

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-21 Thread BartC
On 21/02/2016 15:08, Jussi Piitulainen wrote: BartC writes: In other words, it seems this particular wheel does require re-inventing! It's hardly Python's problem if an engineer is worried about some VB not being there in its current form in the future. The sample code upthread seemed

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-21 Thread Christian Gollwitzer
Am 21.02.16 um 14:16 schrieb BartC: Even accepting that syntax limitations might require this to be written as: readline(f, a, b, c) I can't see a straightforward way of making this possible while still keeping a, b and c simple integer, float or string types (because Python's reference

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-21 Thread Jussi Piitulainen
BartC writes: > On 21/02/2016 07:28, Larry Hudson wrote: >> On 02/20/2016 10:38 AM, wrong.addres...@gmail.com wrote: > >>> Or can I write my own reading subroutines which can then be called like >>> ReadVBstyle 8, ND, NIN, NT >>> to make the code more readable? > >> ABSOLUTELY!! Most Python

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-21 Thread Chris Angelico
On Mon, Feb 22, 2016 at 12:16 AM, BartC wrote: > On 21/02/2016 07:28, Larry Hudson wrote: >> >> On 02/20/2016 10:38 AM, wrong.addres...@gmail.com wrote: > > >>> Or can I write my own reading subroutines which can then be called like >>> ReadVBstyle 8, ND, NIN, NT >>> to make the

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-21 Thread BartC
On 21/02/2016 07:28, Larry Hudson wrote: On 02/20/2016 10:38 AM, wrong.addres...@gmail.com wrote: Or can I write my own reading subroutines which can then be called like ReadVBstyle 8, ND, NIN, NT to make the code more readable? ABSOLUTELY!! Most Python programming consists of defining

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-20 Thread Larry Hudson via Python-list
On 02/20/2016 10:38 AM, wrong.addres...@gmail.com wrote: [snip] How complicated could this get in Python? Reading the numbers is one thing, and then placing the values in text boxes of the GUI. If that is the only object of using these values, there is no conversions necessary. The data is

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-20 Thread Mike S via Python-list
On 2/19/2016 8:58 PM, Denis Akhiyarov wrote: On Wednesday, February 17, 2016 at 1:49:44 PM UTC-6, wrong.a...@gmail.com wrote: I am mostly getting positive feedback for Python. It seems Python is used more for web based applications. Is it equally fine for creating stand-alone *.exe's? Can the

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-20 Thread Roel Schroeven
wrong.addres...@gmail.com schreef op 2016-02-19 11:47: Thanks. The data I will often have to read from text files could read like 2 12.657823 0.1823467E-04 114 0 3 4 5 9 11 "Lower" 278.15 Is it straightforward to read this, or does one have to read one character at a time and then figure out

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-20 Thread Christian Gollwitzer
Am 20.02.16 um 19:45 schrieb wrong.addres...@gmail.com: On Saturday, 20 February 2016 09:54:15 UTC+2, Steven D'Aprano wrote: To answer your question "Do I need something fancy...?", no, of course not, reading a line of numbers from a text file is easy. with open("numbers.txt", "r") as f:

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-20 Thread wrong . address . 1
On Saturday, 20 February 2016 06:58:39 UTC+2, Denis Akhiyarov wrote: > On Wednesday, February 17, 2016 at 1:49:44 PM UTC-6, wrong.a...@gmail.com > wrote: > > I am mostly getting positive feedback for Python. > > > > It seems Python is used more for web based applications. Is it equally fine >

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-20 Thread wrong . address . 1
On Saturday, 20 February 2016 09:54:15 UTC+2, Steven D'Aprano wrote: > On Fri, 19 Feb 2016 10:53 pm, wrong.addres...@gmail.com wrote: > > >> See http://nedbatchelder.com/text/python-parsers.html for a list of > >> parsers that can do all sorts for you. Or the stdlib re module > > > > I am an

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-20 Thread wrong . address . 1
On Saturday, 20 February 2016 18:23:26 UTC+2, nholtz wrote: > On Wednesday, February 17, 2016 at 2:49:44 PM UTC-5, wrong.a...@gmail.com > wrote: > > I am mostly getting positive feedback for Python. > > ... > > I'm surprised no one has mentioned jupyter yet, so here goes ... > > A

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-20 Thread wrong . address . 1
On Saturday, 20 February 2016 09:49:17 UTC+2, Larry Hudson wrote: > On 02/19/2016 10:14 AM, wrong.addres...@gmail.com wrote: > [snip] > > > > This is precisely reading one character at a time. If not exactly reading > > one character, it is effectively looking at each character to assemble the

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-20 Thread nholtz
On Wednesday, February 17, 2016 at 2:49:44 PM UTC-5, wrong.a...@gmail.com wrote: > I am mostly getting positive feedback for Python. > ... I'm surprised no one has mentioned jupyter yet, so here goes ... A browser-based notebook, see http://www.jupyter.org I think this is an unparalleled way to

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-20 Thread Steven D'Aprano
On Fri, 19 Feb 2016 10:53 pm, wrong.addres...@gmail.com wrote: >> See http://nedbatchelder.com/text/python-parsers.html for a list of >> parsers that can do all sorts for you. Or the stdlib re module > > I am an engineer, and do not understand most of the terminology used > there. Google, or

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-19 Thread Larry Hudson via Python-list
On 02/19/2016 10:14 AM, wrong.addres...@gmail.com wrote: [snip] This is precisely reading one character at a time. If not exactly reading one character, it is effectively looking at each character to assemble the number. Not a good sign. I guess there might be libraries which will help read

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-19 Thread Denis Akhiyarov
On Wednesday, February 17, 2016 at 1:49:44 PM UTC-6, wrong.a...@gmail.com wrote: > I am mostly getting positive feedback for Python. > > It seems Python is used more for web based applications. Is it equally fine > for creating stand-alone *.exe's? Can the same code be compiled to run on >

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-19 Thread William Ray Wing
> On Feb 19, 2016, at 8:13 PM, Steven D'Aprano wrote: > > On Sat, 20 Feb 2016 12:27 am, Dennis Lee Bieber wrote: > > >> Then the best suggestion I have would be to take a weekend and just >> read the language reference manual (it used to be about an 80-page PDF >> file,

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-19 Thread Steven D'Aprano
On Sat, 20 Feb 2016 12:27 am, Dennis Lee Bieber wrote: > Then the best suggestion I have would be to take a weekend and just > read the language reference manual (it used to be about an 80-page PDF > file, but has no doubt grown into some less handy dynamically linked > HTML/"help" file). Then

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-19 Thread BartC
On 19/02/2016 18:14, wrong.addres...@gmail.com wrote: On Friday, 19 February 2016 16:08:46 UTC+2, Tim Chase wrote: All this I could do with one Read or Input statement in Fortran and Basic. I agree with you completely. This stuff is far more complicated than it need be. And the fact that

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-19 Thread wrong . address . 1
On Friday, 19 February 2016 16:08:46 UTC+2, Tim Chase wrote: > On 2016-02-19 02:47, wrong.addres...@gmail.com wrote: > > 2 12.657823 0.1823467E-04 114 0 > > 3 4 5 9 11 > > "Lower" > > 278.15 > > > > Is it straightforward to read this, or does one have to read one > > character at a time and then

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-19 Thread Grant Edwards
On 2016-02-19, BartC wrote: > >> IOW, you're expected to do things correctly > > You mean pedantically. :) > In real life, names generally are not case sensitive. I can call > myself bart or Bart or BART or any of the remaining 13 combinations, > without anyone getting confused

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-19 Thread Matt Wheeler
On 19 February 2016 at 14:58, Peter Otten <__pete...@web.de> wrote: > Tim Chase wrote: >> [a long thing] > > Or just tell the parser what to expect: > > [another long thing] If you're sure all of the words on a line are going to be numbers then >>> [float(x) for x in '2 12.657823 0.1823467E-04

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-19 Thread Chris Angelico
On Sat, Feb 20, 2016 at 3:32 AM, BartC wrote: > In real life, names generally are not case sensitive. I can call myself bart > or Bart or BART or any of the remaining 13 combinations, without anyone > getting confused (but they might be puzzled as to why I'd choose to spell it >

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-19 Thread BartC
On 19/02/2016 15:59, Grant Edwards wrote: On 2016-02-19, BartC wrote: On 17/02/2016 19:49, wrong.addres...@gmail.com wrote: Could someone kindly tell me advantages and disadvantages of Python? Something I don't think anyone has mentioned is that Python is case-sensitive.

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-19 Thread Grant Edwards
On 2016-02-19, Chris Angelico wrote: > and of course you wouldn't expect that to collide with something > written in a completely different script. As far as the interpreter's > concerned, "P" and "p" are just as different as are "A", "Α", "А", and > [...] ...and a, ã, á, ä,

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-19 Thread Grant Edwards
On 2016-02-19, BartC wrote: > On 17/02/2016 19:49, wrong.addres...@gmail.com wrote: > >> Could someone kindly tell me advantages and disadvantages of Python? > > Something I don't think anyone has mentioned is that Python is > case-sensitive. That's an _advantage_ not a

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-19 Thread Chris Angelico
On Sat, Feb 20, 2016 at 2:34 AM, BartC wrote: > On 17/02/2016 19:49, wrong.addres...@gmail.com wrote: > >> Could someone kindly tell me advantages and disadvantages of Python? > > > Something I don't think anyone has mentioned is that Python is > case-sensitive. > > So keywords,

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-19 Thread BartC
On 17/02/2016 19:49, wrong.addres...@gmail.com wrote: Could someone kindly tell me advantages and disadvantages of Python? Something I don't think anyone has mentioned is that Python is case-sensitive. So keywords, identifiers, library functions and so on have to be written just right.

Re: Ohnoes significant whitespace (was: Considering migrating to Python from Visual Basic 6 for engineering applications)

2016-02-19 Thread Grant Edwards
On 2016-02-19, Ben Finney wrote: > So I am sympathetic to Python newcomers recoiling in horror from > significant whitespace, *before* they try it. And because of that, we > are burdened with forever needing to deal with that reaction and > soothing it. The first

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-19 Thread Peter Otten
Tim Chase wrote: > On 2016-02-19 02:47, wrong.addres...@gmail.com wrote: >> 2 12.657823 0.1823467E-04 114 0 >> 3 4 5 9 11 >> "Lower" >> 278.15 >> >> Is it straightforward to read this, or does one have to read one >> character at a time and then figure out what the numbers are? -- > > It's easy

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-19 Thread Tim Chase
On 2016-02-19 02:47, wrong.addres...@gmail.com wrote: > 2 12.657823 0.1823467E-04 114 0 > 3 4 5 9 11 > "Lower" > 278.15 > > Is it straightforward to read this, or does one have to read one > character at a time and then figure out what the numbers are? -- It's easy to read. What you do with

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-19 Thread wrong . address . 1
On Friday, 19 February 2016 13:24:46 UTC+2, Mark Lawrence wrote: > On 19/02/2016 10:47, wrong.addres...@gmail.com wrote: > > > > 2 12.657823 0.1823467E-04 114 0 > > 3 4 5 9 11 > > "Lower" > > 278.15 > > > > Is it straightforward to read this, or does one have to read one character > > at a time

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-19 Thread Tony van der Hoff
On 19/02/16 11:23, Mark Lawrence wrote: On 19/02/2016 10:47, wrong.addres...@gmail.com wrote: 2 12.657823 0.1823467E-04 114 0 3 4 5 9 11 "Lower" 278.15 Is it straightforward to read this, or does one have to read one character at a time and then figure out what the numbers are? One

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-19 Thread Mark Lawrence
On 19/02/2016 10:47, wrong.addres...@gmail.com wrote: 2 12.657823 0.1823467E-04 114 0 3 4 5 9 11 "Lower" 278.15 Is it straightforward to read this, or does one have to read one character at a time and then figure out what the numbers are? One character at a time in a high level language

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-19 Thread wrong . address . 1
On Friday, 19 February 2016 03:06:58 UTC+2, Steven D'Aprano wrote: > On Fri, 19 Feb 2016 02:35 am, wrong.addres...@gmail.com wrote: > > > I am almost eager to do this but want to be sure that I know the pitfalls > > in using Python for my purposes. Thanks for your encouraging response. > >

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-19 Thread wrong . address . 1
On Thursday, 18 February 2016 21:31:20 UTC+2, Tim Chase wrote: > On 2016-02-18 07:33, wrong.addres...@gmail.com wrote: > > Another question I have is regarding reading numerical data from > > text files. Is it necessary to read one character at a time, or can > > one read like in Fortran and

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-19 Thread Steven D'Aprano
On Fri, 19 Feb 2016 01:14 pm, BartC wrote: > On 19/02/2016 00:30, Steven D'Aprano wrote: [...] >> "Then don't do that. What if you pass the source code through a system >> that strips out braces?" > > Python doesn't use braces, so that's not a problem! mydict = {23: 'twenty-three', 17:

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread BartC
On 19/02/2016 00:30, Steven D'Aprano wrote: On Thu, 18 Feb 2016 10:32 pm, Chris Angelico wrote: The biggest disadvantage of Python is that, in a number of ways, it surprises people. Significant whitespace bugs a lot of experienced programmers This is why we cannot have nice things. "But

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread Steven D'Aprano
On Fri, 19 Feb 2016 02:35 am, wrong.addres...@gmail.com wrote: > I am almost eager to do this but want to be sure that I know the pitfalls > in using Python for my purposes. Thanks for your encouraging response. Honestly "wrong.address.1", the ONLY pitfall you need to be aware of is to beware of

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread Mark Lawrence
On 18/02/2016 11:32, Chris Angelico wrote: On Thu, Feb 18, 2016 at 10:11 PM, wrote: Almost everything points positively for Python. Thanks to all of you who have responded. But please also tell me the disadvantages of Python. If I start using Python, I should be

Ohnoes significant whitespace (was: Considering migrating to Python from Visual Basic 6 for engineering applications)

2016-02-18 Thread Ben Finney
Chris Angelico writes: > I'm talking about how people, those bags of flesh and thoughts, are > bugged out by the notion that *whitespace* should matter (other than > the mere presence/absence of it). It's the price you pay for being > different - people will have trouble

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread Chris Angelico
On Fri, Feb 19, 2016 at 11:30 AM, Steven D'Aprano wrote: > On Thu, 18 Feb 2016 10:32 pm, Chris Angelico wrote: > >> The biggest disadvantage of Python is that, in a number of ways, it >> surprises people. Significant whitespace bugs a lot of experienced >> programmers > >

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread Steven D'Aprano
On Thu, 18 Feb 2016 10:32 pm, Chris Angelico wrote: > The biggest disadvantage of Python is that, in a number of ways, it > surprises people. Significant whitespace bugs a lot of experienced > programmers This is why we cannot have nice things. "But what if we pass the source code through a

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread Dietmar Schwertberger
On 18.02.2016 18:49, wrong.addres...@gmail.com wrote: What do I lose by using an external library? With using matplotlib for your plots, you can easily create many kinds of plots. On the other hand, if integration with MS Office is a concern, other options may be more suitable for you as

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread Tim Chase
On 2016-02-18 07:33, wrong.addres...@gmail.com wrote: > Another question I have is regarding reading numerical data from > text files. Is it necessary to read one character at a time, or can > one read like in Fortran and Basic (something like Input #5, X1, > X2, X3)? A lot of my work is

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread Tim Chase
On 2016-02-18 09:58, wrong.addres...@gmail.com wrote: > How long can I depend on VB? Are you talking the VB6-and-before, or VB.Net? Given that MS dropped support for the VB6 line a decade ago (2005-2008 depending on whether you had extended support) with little to no help in transitioning to

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread wrong . address . 1
n > Thanks. > > > -Original Message- > > From: Python-list [mailto:python-list-bounces+d.strohl=f5@python.org] On > > Behalf Of Chris Angelico > > Sent: Thursday, February 18, 2016 8:06 AM > > Cc: python-list@python.org > > Subject: Re: Considering

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread wrong . address . 1
On Thursday, 18 February 2016 18:06:29 UTC+2, Chris Angelico wrote: > On Fri, Feb 19, 2016 at 2:49 AM, wrote: > > Thanks. You have guided me quite well, and I am almost ready to declare > > that I will use Python for the next few decades. > > > > Don't declare like

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread wrong . address . 1
On Thursday, 18 February 2016 18:01:17 UTC+2, Dan Strohl wrote: > Disadvantages of python... (compared to VB) > > That's a hard one, but here are my thoughts: (keep in mind that these kinds > of discussions are subjective and much is based on the background and > experience of the coder,

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread wrong . address . 1
On Thursday, 18 February 2016 17:59:59 UTC+2, William Ray Wing wrote: > > On Feb 18, 2016, at 10:33 AM, wrong.addres...@gmail.com wrote: > > > > torstai 18. helmikuuta 2016 17.21.32 UTC+2 Oscar Benjamin kirjoitti: > >> On 18 February 2016 at 11:32, Chris Angelico wrote: > >>

RE: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread Dan Strohl
ginal Message- > From: Python-list [mailto:python-list-bounces+d.strohl=f5@python.org] On > Behalf Of Chris Angelico > Sent: Thursday, February 18, 2016 8:06 AM > Cc: python-list@python.org > Subject: Re: Considering migrating to Python from Visual Basic 6 for > engineering > appl

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread Chris Angelico
On Fri, Feb 19, 2016 at 2:49 AM, wrote: > Thanks. You have guided me quite well, and I am almost ready to declare that > I will use Python for the next few decades. > Don't declare like that - just start using it, and see what you think :) But I would be very much

RE: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread Dan Strohl
@python.org > Subject: Re: Considering migrating to Python from Visual Basic 6 for > engineering > applications > > torstai 18. helmikuuta 2016 17.21.32 UTC+2 Oscar Benjamin kirjoitti: > > On 18 February 2016 at 11:32, Chris Angelico <ros...@gmail.com> wrote: > > >

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread William Ray Wing
> On Feb 18, 2016, at 10:33 AM, wrong.addres...@gmail.com wrote: > > torstai 18. helmikuuta 2016 17.21.32 UTC+2 Oscar Benjamin kirjoitti: >> On 18 February 2016 at 11:32, Chris Angelico wrote: >> [byte] >> It sounds to me as if all of your needs can be solved in pure Python

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread wrong . address . 1
On Thursday, 18 February 2016 13:32:58 UTC+2, Chris Angelico wrote: > On Thu, Feb 18, 2016 at 10:11 PM, wrote: > > Almost everything points positively for Python. Thanks to all of you who > > have responded. But please also tell me the disadvantages of Python. If I

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread Oscar Benjamin
On 18 February 2016 at 15:33, wrote: >> It sounds to me as if all of your needs can be solved in pure Python >> code possibly using some of the popular extension modules from PyPI. >> In this case it's actually very easy to package/install. You can >> package your code

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread wrong . address . 1
torstai 18. helmikuuta 2016 16.08.05 UTC+2 William Ray Wing kirjoitti: > > On Feb 17, 2016, at 2:49 PM, wrong.addres...@gmail.com wrote: > > > > I am mostly getting positive feedback for Python. > > > > It seems Python is used more for web based applications. Is it equally fine > > for creating

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread wrong . address . 1
torstai 18. helmikuuta 2016 17.21.32 UTC+2 Oscar Benjamin kirjoitti: > On 18 February 2016 at 11:32, Chris Angelico wrote: > > On Thu, Feb 18, 2016 at 10:11 PM, wrote: > >> Almost everything points positively for Python. Thanks to all of you who >

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread Oscar Benjamin
On 18 February 2016 at 11:32, Chris Angelico wrote: > On Thu, Feb 18, 2016 at 10:11 PM, wrote: >> Almost everything points positively for Python. Thanks to all of you who >> have responded. But please also tell me the disadvantages of Python. If I

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread William Ray Wing
> On Feb 17, 2016, at 2:49 PM, wrong.addres...@gmail.com wrote: > > I am mostly getting positive feedback for Python. > > It seems Python is used more for web based applications. Is it equally fine > for creating stand-alone *.exe's? Can the same code be compiled to run on > Linux or Android

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread Chris Angelico
On Thu, Feb 18, 2016 at 10:11 PM, wrote: > Almost everything points positively for Python. Thanks to all of you who have > responded. But please also tell me the disadvantages of Python. If I start > using Python, I should be aware of the price I am paying. Speed is

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread wrong . address . 1
Almost everything points positively for Python. Thanks to all of you who have responded. But please also tell me the disadvantages of Python. If I start using Python, I should be aware of the price I am paying. Speed is not a big problem for me, so an interpreted language is fine. Is

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread Chris Angelico
On Thu, Feb 18, 2016 at 7:17 PM, wrote: > Thanks to all of you who have responded. One point two of you ask me is why I > want to shift from Visual Basic. > > Most of my software is in VB6 (and VB3), and converting to VB.net is not very > pleasant. I have learnt

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread Oscar Benjamin
On 18 February 2016 at 08:17, wrote: > Is it easy to create vector graphics files of plots in Python? Yes > In VB6, I wrote my own code to generate EPS files. Then people who demand jpg > and gif files could be given those by converting the EPS with the desired >

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread wrong . address . 1
Thanks to all of you who have responded. One point two of you ask me is why I want to shift from Visual Basic. Most of my software is in VB6 (and VB3), and converting to VB.net is not very pleasant. I have learnt enough VB.net to manage most of the things I will need, but it always gives me a

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-17 Thread William Ray Wing
> On Feb 17, 2016, at 2:49 PM, wrong.addres...@gmail.com wrote: > > I am mostly getting positive feedback for Python. > I would be surprised if you weren’t. > It seems Python is used more for web based applications. Is it equally fine > for creating stand-alone *.exe's? Can the same code be

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-17 Thread paul . hermeneutic
On Wed, Feb 17, 2016 at 12:49 PM, wrote: > Could someone kindly tell me advantages and disadvantages of Python? Or any > better options? I have like 40-50 VB Forms and may be around 2 lines of > code. It will be a task to learn a new language and

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-17 Thread Ray Cote
On Wed, Feb 17, 2016 at 3:54 PM, Rob Gaddi < rgaddi@highlandtechnology.invalid> wrote: > > It seems Python is used more for web based applications. Is it equally > fine for creating stand-alone *.exe's? Can the same code be compiled to run > on Linux or Android or web-based? > > Standalone EXEs

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-17 Thread Rob Gaddi
wrong.addres...@gmail.com wrote: > I am mostly getting positive feedback for Python. Welcome to the party. Learn to write Python 3. There is no reason whatsoever for someone picking up Python to learn the deprecated problems of Python 2. > It seems Python is used more for web based

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-17 Thread sohcahtoa82
On Wednesday, February 17, 2016 at 11:49:44 AM UTC-8, wrong.a...@gmail.com wrote: > I am mostly getting positive feedback for Python. Good! > > It seems Python is used more for web based applications. Is it equally fine > for creating stand-alone *.exe's? Can the same code be compiled to run

Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-17 Thread wrong . address . 1
I am mostly getting positive feedback for Python. It seems Python is used more for web based applications. Is it equally fine for creating stand-alone *.exe's? Can the same code be compiled to run on Linux or Android or web-based? Is it possible to create GUI elements with a good IDE? Can they