Re: [ubuntu-uk] from win32 to python?
Andres wrote: > So it seems that for linux users they would be better off using the > core fortran than using the gui on wine? It'd make sense to leave a choice, if the UI works under Wine, or near as dammit, it'd be nice to provide that as well as the CLI. You never know someone else might write you a gui :) -- Avi -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] from win32 to python?
Thank you for your replies! The fortran program has no front end it's all done trhrough the command line. But he might have used some C you're probably right. I know that C and fortaran seem to get along well but that is the extent of it. The terminal stays open as a separate window from the GUI. So it seems that for linux users they would be better off using the core fortran than using the gui on wine? -- Sent from my Nokia N900 Please do not send me word documents plain txt or pdf are prefered. - Original message - > It sounds that you might be getting the programming language and GUI > interface confused: the core of the program is written in Fortran, and I > suspect (from what you've written) that GUI part of the program is > probably written in C/C++ with the GUI interface being the Win32 API. > > Either the GTK+ or QT toolkits would allow the program to be built for > Linux or Windows. However, I think that this would mean a total rewrite > of the GUI part of the program. Both toolkits work with Python, but if > he's already written the GUI program in C/C++ it might be easier to use > C/C++ again rather changing to Python (especially if he/she isn't that > familiar with Python). Also, I don't know how easy it is for get Python > code to call Fortran code. > > An alterative would be to use .Net for Windows and Mono for Linux. > > > -Original Message- > Date: Mon, 13 Jun 2011 23:28:09 +0100 > From: andres > To: "ubuntu-uk@lists.ubuntu.com" > Subject: [ubuntu-uk] > Message-ID: <1308004089.1893.23.camel@andres-laptop> > Content-Type: text/plain; charset="UTF-8" > > Hello, > > This is a question mainly for developers. I think. It's really a > curiosity of mine and I have little say in the result of the project. > > Someone I know is thinking of releasing his software. It's a program > that at it's core is written in Fortran but has the gui written in > win32. it has other open source programs attached to it as well. All > bundled up in a nice .exe installer. > > He has gone through a lot of trouble of learning win32 and actually > programming the whole GUI. But this at the end means that linux users > have to run the program through wine. Would you consider this a complete > disadvantage and a deal breaker if you would want to create a community > around it and it's worth thinking about "translating" the GUI to > something like python? Or other more cross-platform compatible > languages? (I don't know if it runs in Mac for instance). > > Or would this be a bit of reinventing the wheel? > > It seems to make little difference for an end user as I've seen wine > programs in the software centre. Or would it be incredibly more > efficient if it's a "native" linux program? > > Or would it be more of a question of knowing who your users are going to > be at the end of the day? > > -- > Andr?s envi? esto desde su netbook con UBUNTU: sistema operativo > gratuito, abierto y casi libre. ?Pruebalo! http://www.ubuntu-es.org/ > Por favor, no imprimas este correo. > > > -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] from win32 to python?
It sounds that you might be getting the programming language and GUI interface confused: the core of the program is written in Fortran, and I suspect (from what you've written) that GUI part of the program is probably written in C/C++ with the GUI interface being the Win32 API. Either the GTK+ or QT toolkits would allow the program to be built for Linux or Windows. However, I think that this would mean a total rewrite of the GUI part of the program. Both toolkits work with Python, but if he's already written the GUI program in C/C++ it might be easier to use C/C++ again rather changing to Python (especially if he/she isn't that familiar with Python). Also, I don't know how easy it is for get Python code to call Fortran code. An alterative would be to use .Net for Windows and Mono for Linux. -Original Message- Date: Mon, 13 Jun 2011 23:28:09 +0100 From: andres To: "ubuntu-uk@lists.ubuntu.com" Subject: [ubuntu-uk] Message-ID: <1308004089.1893.23.camel@andres-laptop> Content-Type: text/plain; charset="UTF-8" Hello, This is a question mainly for developers. I think. It's really a curiosity of mine and I have little say in the result of the project. Someone I know is thinking of releasing his software. It's a program that at it's core is written in Fortran but has the gui written in win32. it has other open source programs attached to it as well. All bundled up in a nice .exe installer. He has gone through a lot of trouble of learning win32 and actually programming the whole GUI. But this at the end means that linux users have to run the program through wine. Would you consider this a complete disadvantage and a deal breaker if you would want to create a community around it and it's worth thinking about "translating" the GUI to something like python? Or other more cross-platform compatible languages? (I don't know if it runs in Mac for instance). Or would this be a bit of reinventing the wheel? It seems to make little difference for an end user as I've seen wine programs in the software centre. Or would it be incredibly more efficient if it's a "native" linux program? Or would it be more of a question of knowing who your users are going to be at the end of the day? -- Andr?s envi? esto desde su netbook con UBUNTU: sistema operativo gratuito, abierto y casi libre. ?Pruebalo! http://www.ubuntu-es.org/ Por favor, no imprimas este correo. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] from win32 to python?
On Mon, 13 Jun 2011 23:28:09 +0100 andres wrote: > Hello, > > This is a question mainly for developers. I think. It's really a > curiosity of mine and I have little say in the result of the project. > > Someone I know is thinking of releasing his software. It's a program > that at it's core is written in Fortran but has the gui written in > win32. it has other open source programs attached to it as well. All > bundled up in a nice .exe installer. > > He has gone through a lot of trouble of learning win32 and actually > programming the whole GUI. But this at the end means that linux users > have to run the program through wine. Would you consider this a complete > disadvantage and a deal breaker if you would want to create a community > around it and it's worth thinking about "translating" the GUI to > something like python? Or other more cross-platform compatible > languages? (I don't know if it runs in Mac for instance). > > Or would this be a bit of reinventing the wheel? > > It seems to make little difference for an end user as I've seen wine > programs in the software centre. Or would it be incredibly more > efficient if it's a "native" linux program? > > Or would it be more of a question of knowing who your users are going to > be at the end of the day? > As a user I avoid Wine as I don't find it very reliable and I'm never sure whether it's Wine or the program playing up when things go wrong. Both GTK and QT are cross platform so I would have thought that is the way to go. No idea how easy/hard it would to to convert to them or just how crossplatform they are though. -- Yorvyk -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
[ubuntu-uk] from win32 to python?
Hello, This is a question mainly for developers. I think. It's really a curiosity of mine and I have little say in the result of the project. Someone I know is thinking of releasing his software. It's a program that at it's core is written in Fortran but has the gui written in win32. it has other open source programs attached to it as well. All bundled up in a nice .exe installer. He has gone through a lot of trouble of learning win32 and actually programming the whole GUI. But this at the end means that linux users have to run the program through wine. Would you consider this a complete disadvantage and a deal breaker if you would want to create a community around it and it's worth thinking about "translating" the GUI to something like python? Or other more cross-platform compatible languages? (I don't know if it runs in Mac for instance). Or would this be a bit of reinventing the wheel? It seems to make little difference for an end user as I've seen wine programs in the software centre. Or would it be incredibly more efficient if it's a "native" linux program? Or would it be more of a question of knowing who your users are going to be at the end of the day? -- Andrés envió esto desde su netbook con UBUNTU: sistema operativo gratuito, abierto y casi libre. ¡Pruebalo! http://www.ubuntu-es.org/ Por favor, no imprimas este correo. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/