Re: Save and load initialized class

2017-12-09 Thread dieter
Bob van der Poel writes: > I'm trying to something simple (yeah, right). Mainly I want to have a bunch > of variables which my program needs and uses to be in a saveable/loadable > block. Currently I have then all as a bunch of globals which works, but > trying to keep track of them and the corre

Re: repeating posts

2017-12-09 Thread Gene Heskett
On Saturday 09 December 2017 00:35:15 Rustom Mody wrote: > Repeating old posts again appearing > > [No not complaining… I know people are working on it. Thanks Skip and > whoever else] > > Just thought I'd mention they are now mildly mojibaked Not familiar with that term. For me they are highly

Re: repeating posts

2017-12-09 Thread Chris Angelico
On Sat, Dec 9, 2017 at 8:01 PM, Gene Heskett wrote: > On Saturday 09 December 2017 00:35:15 Rustom Mody wrote: > >> Repeating old posts again appearing >> >> [No not complaining… I know people are working on it. Thanks Skip and >> whoever else] >> >> Just thought I'd mention they are now mildly mo

Re: repeating posts

2017-12-09 Thread Tim Golden
On 09/12/2017 05:35, Rustom Mody wrote: Repeating old posts again appearing [No not complaining… I know people are working on it. Thanks Skip and whoever else] Just thought I'd mention they are now mildly mojibaked I've just added a new filter and pinged the other list admins / postmaster.

Re: Please tell me how to execute python file in Ubuntu by double click

2017-12-09 Thread alister via Python-list
On Wed, 06 Dec 2017 10:35:58 +1200, Steve D'Aprano wrote: > On Tue, 5 Dec 2017 07:58 pm, Lawrence Dâ ÖOliveiro wrote: > >> On Tuesday, December 5, 2017 at 3:39:26 AM UTC+13, Rick Johnson wrote: >>> >>> Sounds like your OS file associations are all botched-up ... >> >> Linux doesnâ Öt do â £OS fil

Re: Please tell me how to execute python file in Ubuntu by double click

2017-12-09 Thread Marko Rauhamaa
alister : > On Wed, 06 Dec 2017 10:35:58 +1200, Steve D'Aprano wrote: >> Then how does my Linux box know that when I double-click on a text >> file, it launches kwrite rather than (say) the Gimp or LibreOffice? >> >> When I right-click on a mp4 video, I get a menu that includes a Open >> With com

Re: scipy

2017-12-09 Thread Thomas Jollans
On 08/12/17 23:57, Larry Martell wrote: > Trying to install scipy on ubuntu-trusty-64 running Python 2.7.6. I STRONGLY recommend moving to Python 3 if you can. The scientific python ecosystem has had good support for Python 3 for years now. Many scientific packages, including numpy (the king of s

Re: Save and load initialized class

2017-12-09 Thread MRAB
On 2017-12-08 18:36, Bob van der Poel wrote: I'm trying to something simple (yeah, right). Mainly I want to have a bunch of variables which my program needs and uses to be in a saveable/loadable block. Currently I have then all as a bunch of globals which works, but trying to keep track of them a

Re: Please tell me how to execute python file in Ubuntu by double click

2017-12-09 Thread Chris Angelico
On Sun, Dec 10, 2017 at 12:58 AM, Marko Rauhamaa wrote: > alister : > >> On Wed, 06 Dec 2017 10:35:58 +1200, Steve D'Aprano wrote: >>> Then how does my Linux box know that when I double-click on a text >>> file, it launches kwrite rather than (say) the Gimp or LibreOffice? >>> >>> When I right-cli

Re: Benefits of unicode identifiers (was: Allow additional separator in identifiers)

2017-12-09 Thread Terry Reedy
On 12/9/2017 5:57 AM, Gilmeh Serda wrote: And next demands to allow Unicode as keywords in a translated version of Python Python's liberal open source license allows people to revise and distribute their own python or python-like interpreters. I believe there are already a couple of non-eng

Re: Benefits of unicode identifiers (was: Allow additional separator in identifiers)

2017-12-09 Thread Steve D'Aprano
On Sun, 10 Dec 2017 09:20 am, Terry Reedy wrote: > On 12/9/2017 5:57 AM, Gilmeh Serda wrote: > >> And next demands to allow Unicode as keywords in a translated version of >> Python > > Python's liberal open source license allows people to revise and > distribute their own python or python-like i

Re: Benefits of unicode identifiers (was: Allow additional

2017-12-09 Thread Steve D'Aprano
On Sat, 9 Dec 2017 09:57 am, Gilmeh Serda wrote: > And next demands to allow Unicode as keywords in a translated version of > Python > will make open source go away. For good. Do you seriously think that because *one* project forks their code base and introduces non-English keywords, the tens o

Re: Please tell me how to execute python file in Ubuntu by double clicking on file. (Posting On Python-List Prohibited)

2017-12-09 Thread Steve D'Aprano
On Fri, 8 Dec 2017 12:08 pm, Python wrote: > But more importantly, practically speaking, it still doesn't really > provide much more help to the OP than Lawrence's answer. I wasn't responding to the OP, I was responding to Lawrence. If I had a solution for the OP beyond what others have already s

Re: Please tell me how to execute python file in Ubuntu by double clicking on file. (Posting On Python-List Prohibited)

2017-12-09 Thread Chris Angelico
On Sun, Dec 10, 2017 at 12:56 PM, Steve D'Aprano wrote: > Remember the context here: we're replying to a thread discussing somebody who > is running Ubuntu with a GUI desktop environment. Of course there are *some* > Linux systems which don't run a GUI at all, but you can't double-click on > files

Re: Please tell me how to execute python file in Ubuntu by double clicking on file. (Posting On Python-List Prohibited)

2017-12-09 Thread Michael Torrie
On 12/09/2017 08:01 PM, Chris Angelico wrote: > Been a long time since I had an Ubuntu, but is it really the case that > you can't install Ubuntu without a GUI? Of course not. Ubuntu is used in headless server situations all the time. -- https://mail.python.org/mailman/listinfo/python-list

Re: Benefits of unicode identifiers (was: Allow additional separator in identifiers)

2017-12-09 Thread Thomas Jollans
On 10/12/17 02:42, Steve D'Aprano wrote: > On Sun, 10 Dec 2017 09:20 am, Terry Reedy wrote: > >> On 12/9/2017 5:57 AM, Gilmeh Serda wrote: >> >>> And next demands to allow Unicode as keywords in a translated version of >>> Python >> >> Python's liberal open source license allows people to revise a

Re: Please tell me how to execute python file in Ubuntu by double clicking on file. (Posting On Python-List Prohibited)

2017-12-09 Thread Chris Angelico
On Sun, Dec 10, 2017 at 2:39 PM, Michael Torrie wrote: > On 12/09/2017 08:01 PM, Chris Angelico wrote: >> Been a long time since I had an Ubuntu, but is it really the case that >> you can't install Ubuntu without a GUI? > > Of course not. Ubuntu is used in headless server situations all the time.

Re: Please tell me how to execute python file in Ubuntu by double clicking on file. (Posting On Python-List Prohibited)

2017-12-09 Thread Thomas Jollans
On 10/12/17 04:01, Chris Angelico wrote: > but is it really the case that you can't install Ubuntu without a GUI? Of course not. There are millions of people using Ubuntu on servers, without as much as a whiff of GUI. I'm rather sure that the server version of Ubuntu makes significantly more mone

Re: Please tell me how to execute python file in Ubuntu by double clicking on file. (Posting On Python-List Prohibited)

2017-12-09 Thread Rustom Mody
On Friday, December 8, 2017 at 6:40:17 AM UTC+5:30, Python wrote: > On Thu, Dec 07, 2017 at 01:29:11PM +1100, Steve D'Aprano wrote: > > On Thu, 7 Dec 2017 08:22 am, Python wrote: > > >> > Linux doesn’t do “OS file associations”. > > >> > > >> Then how does my Linux box know that when I double-clic

Re: Please tell me how to execute python file in Ubuntu by double clicking on file. (Posting On Python-List Prohibited)

2017-12-09 Thread Rustom Mody
On Sunday, December 10, 2017 at 10:12:38 AM UTC+5:30, Rustom Mody wrote: > I was sending some files to some students. > Since it was more than one, the natural choice was a tarball. > [I believe that since it was a very tiny total space I did not compress the > tarball… but I dont remember this

Re: Please tell me how to execute python file in Ubuntu by double clicking on file. (Posting On Python-List Prohibited)

2017-12-09 Thread Frank Millman
"Rustom Mody" wrote in message news:4f25d0a9-64a5-4d36-b072-97e293a7c...@googlegroups.com... I was sending some files to some students. Since it was more than one, the natural choice was a tarball. [I believe that since it was a very tiny total space I did not compress the tarball… but I dont

Re: Please tell me how to execute python file in Ubuntu by double clicking on file. (Posting On Python-List Prohibited)

2017-12-09 Thread Steve D'Aprano
On Sun, 10 Dec 2017 02:01 pm, Chris Angelico wrote: > On Sun, Dec 10, 2017 at 12:56 PM, Steve D'Aprano > wrote: >> Remember the context here: we're replying to a thread discussing somebody >> who is running Ubuntu with a GUI desktop environment. Of course there are >> *some* Linux systems which d

Re: Please tell me how to execute python file in Ubuntu by double clicking on file. (Posting On Python-List Prohibited)

2017-12-09 Thread Chris Angelico
On Sun, Dec 10, 2017 at 4:52 PM, Steve D'Aprano wrote: > On Sun, 10 Dec 2017 02:01 pm, Chris Angelico wrote: > >> On Sun, Dec 10, 2017 at 12:56 PM, Steve D'Aprano >> wrote: >>> Remember the context here: we're replying to a thread discussing somebody >>> who is running Ubuntu with a GUI desktop e