From rshepard at appl-ecosys.com Tue Mar 11 16:32:30 2014 From: rshepard at appl-ecosys.com (Rich Shepard) Date: Tue, 11 Mar 2014 08:32:30 -0700 (PDT) Subject: [portland] How to tell an application python3 is installed Message-ID: The TreeLine tool I use has a new version that requires Python3 > 3.2. I have both -2.7.5 and -3.3.3 installed. But, when I invoke 'python install.py' the error message displays that python3 is required. How do I specify that there is an appropriate version installed? Rich From pacopablo at pacopablo.com Tue Mar 11 16:55:30 2014 From: pacopablo at pacopablo.com (John Hampton) Date: Tue, 11 Mar 2014 08:55:30 -0700 Subject: [portland] How to tell an application python3 is installed In-Reply-To: References: Message-ID: When you have both python 2 and python 3 installed, python 3 is installed as python3, so you would say: python3 install.py -John On Tue, Mar 11, 2014 at 8:32 AM, Rich Shepard wrote: > The TreeLine tool I use has a new version that requires Python3 > 3.2. I > have both -2.7.5 and -3.3.3 installed. But, when I invoke 'python > install.py' the error message displays that python3 is required. How do I > specify that there is an appropriate version installed? > > Rich > _______________________________________________ > Portland mailing list > Portland at python.org > https://mail.python.org/mailman/listinfo/portland > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rshepard at appl-ecosys.com Tue Mar 11 17:26:44 2014 From: rshepard at appl-ecosys.com (Rich Shepard) Date: Tue, 11 Mar 2014 09:26:44 -0700 (PDT) Subject: [portland] How to tell an application python3 is installed In-Reply-To: References: Message-ID: On Tue, 11 Mar 2014, John Hampton wrote: > When you have both python 2 and python 3 installed, python 3 is installed > as python3, so you would say: > > python3 install.py John, Thank you. I knew it was simple. Rich -- Richard B. Shepard, Ph.D. | Have knowledge, will travel. Applied Ecosystem Services, Inc. | www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863 From dick at dicksteffens.com Thu Mar 13 16:27:44 2014 From: dick at dicksteffens.com (Dick Steffens) Date: Thu, 13 Mar 2014 08:27:44 -0700 Subject: [portland] Totem Movie Player Plugins Message-ID: <5321CE70.1040308@dicksteffens.com> I run Ubuntu 12.04 with Gnome. When last I wrote to this list it was to find pointers to GUI development tools so I could take a program written in Python that plays audio files with features suitable for use in transcribing and add the ability to look at video files with the same features. (The principle feature is to automatically backspace a given amount when pausing.) Most of my work is audio only, but occasionally I get a video recording to transcribe. For those recordings I run avconv and extract an mp3 file from the video file. But sometimes there's useful information in the video. In those cases I also run Totem Movie Player. As I was working along, looking for the right GUI environment to use, I realized that Totem Movie Player already does what I want, with the exception of auto backspace. It already responds to my foot pedal for play/pause. It also has a backspace concept built in, but the values are way too long to be useful for transcription (15 seconds for the left arrow button, and 5 seconds for shift left arrow -- I need no more than 2 seconds). I'm aware that plugins can be written for Movie Player, and I have the documentation: https://developer.gnome.org/totem/3.0/ and http://asanka-abeyweera.blogspot.com/2012/03/writing-plugins-for-totem-movie-player.html What I don't know is how to change the pause event so that I can add an automatic backspace of a different amount from the defaults. The other thought I had was to rewrite my foot pedal program so that instead of sending I'd have it send something not used by Movie Player, and write the plugin to handle that event. In any case, what I need are some examples of plugins that handle events in Movie Player. Has anyone written a plugin for Totem Movie Player? Or, does anyone have any recommendations for samples of event handling for a Movie Player plugin? Thanks. -- Regards, Dick Steffens From jchampion at zetacentauri.com Thu Mar 13 16:49:04 2014 From: jchampion at zetacentauri.com (Jason Champion) Date: Thu, 13 Mar 2014 08:49:04 -0700 Subject: [portland] Totem Movie Player Plugins In-Reply-To: <5321CE70.1040308@dicksteffens.com> References: <5321CE70.1040308@dicksteffens.com> Message-ID: <5321D370.3020605@zetacentauri.com> Hi Dick, This sounded like an interesting problem so I took a quick peek at the Totem code. It turns out that it'll be pretty easy if you don't mind checking out and building Totem from source. There's source available here: https://github.com/GNOME/totem In the file, totem-private.h, on line 173, is where the "seek back" amount is defined, as SEEK_BACKWARD_OFFSET. If you change that from -15 to -2 that should theoretically do what you want. https://github.com/GNOME/totem/blob/master/src/totem-private.h Regards, Jason On 03/13/2014 08:27 AM, Dick Steffens wrote: > I run Ubuntu 12.04 with Gnome. > > When last I wrote to this list it was to find pointers to GUI > development tools so I could take a program written in Python that > plays audio files with features suitable for use in transcribing and > add the ability to look at video files with the same features. (The > principle feature is to automatically backspace a given amount when > pausing.) Most of my work is audio only, but occasionally I get a > video recording to transcribe. For those recordings I run avconv and > extract an mp3 file from the video file. But sometimes there's useful > information in the video. In those cases I also run Totem Movie Player. > > As I was working along, looking for the right GUI environment to use, > I realized that Totem Movie Player already does what I want, with the > exception of auto backspace. It already responds to my foot pedal for > play/pause. It also has a backspace concept built in, but the values > are way too long to be useful for transcription (15 seconds for the > left arrow button, and 5 seconds for shift left arrow -- I need no > more than 2 seconds). I'm aware that plugins can be written for Movie > Player, and I have the documentation: > > https://developer.gnome.org/totem/3.0/ > and > http://asanka-abeyweera.blogspot.com/2012/03/writing-plugins-for-totem-movie-player.html > > > What I don't know is how to change the pause event so that I can add > an automatic backspace of a different amount from the defaults. > > The other thought I had was to rewrite my foot pedal program so that > instead of sending I'd have it send something not used > by Movie Player, and write the plugin to handle that event. > > In any case, what I need are some examples of plugins that handle > events in Movie Player. Has anyone written a plugin for Totem Movie > Player? Or, does anyone have any recommendations for samples of event > handling for a Movie Player plugin? > > Thanks. > From dick at dicksteffens.com Thu Mar 13 17:51:40 2014 From: dick at dicksteffens.com (Dick Steffens) Date: Thu, 13 Mar 2014 09:51:40 -0700 Subject: [portland] Totem Movie Player Plugins In-Reply-To: <5321D370.3020605@zetacentauri.com> References: <5321CE70.1040308@dicksteffens.com> <5321D370.3020605@zetacentauri.com> Message-ID: <5321E21C.9090405@dicksteffens.com> On 03/13/2014 08:49 AM, Jason Champion wrote: > Hi Dick, > > This sounded like an interesting problem so I took a quick peek at the > Totem code. > > It turns out that it'll be pretty easy if you don't mind checking out > and building Totem from source. > > There's source available here: > https://github.com/GNOME/totem > > In the file, totem-private.h, on line 173, is where the "seek back" > amount is defined, as SEEK_BACKWARD_OFFSET. If you change that from > -15 to -2 that should theoretically do what you want. > > https://github.com/GNOME/totem/blob/master/src/totem-private.h > Thanks. I'll give that a try. I've not done much in the way of compiling from source, but I'm always willing to learn. -- Regards, Dick Steffens From dick at dicksteffens.com Thu Mar 13 18:00:44 2014 From: dick at dicksteffens.com (Dick Steffens) Date: Thu, 13 Mar 2014 10:00:44 -0700 Subject: [portland] Totem Movie Player Plugins In-Reply-To: <5321E21C.9090405@dicksteffens.com> References: <5321CE70.1040308@dicksteffens.com> <5321D370.3020605@zetacentauri.com> <5321E21C.9090405@dicksteffens.com> Message-ID: <5321E43C.5070907@dicksteffens.com> On 03/13/2014 09:51 AM, Dick Steffens wrote: > I've not done much in the way of compiling from source, but I'm always > willing to learn. A question comes to mind. Once I install something I've compiled from source with modifications, how do I prevent updates from replacing it? -- Regards, Dick Steffens From dick at dicksteffens.com Thu Mar 13 19:20:23 2014 From: dick at dicksteffens.com (Dick Steffens) Date: Thu, 13 Mar 2014 11:20:23 -0700 Subject: [portland] Totem Movie Player Plugins In-Reply-To: <5321D370.3020605@zetacentauri.com> References: <5321CE70.1040308@dicksteffens.com> <5321D370.3020605@zetacentauri.com> Message-ID: <5321F6E7.8000309@dicksteffens.com> On 03/13/2014 08:49 AM, Jason Champion wrote: > Hi Dick, > > This sounded like an interesting problem so I took a quick peek at the > Totem code. > > It turns out that it'll be pretty easy if you don't mind checking out > and building Totem from source. > > There's source available here: > https://github.com/GNOME/totem I tried it using these instructions: http://www.debian.org/doc/manuals/apt-howto/ch-sourcehandling.en.html First I created a directory Totem. Then, in that directory I ran: $ apt-get source totem I unpacked it in that directory, went to totem-3.0.1/src and picked up with your directions: > In the file, totem-private.h, on line 173, is where the "seek back" > amount is defined, as SEEK_BACKWARD_OFFSET. If you change that from > -15 to -2 that should theoretically do what you want. Then, back to the debian directions I navigated back up to the directory Totem and ran: $ dpkg-buildpackage -rfakeroot -uc -b That generated a load of .deb files, but one of them, totem_3.0.1-Obuntu21.1_i386.deb seems like the one to install. Next, I ran: $ sudo dpkg -i totem_3.0.1-0ubuntu21.1_i386.deb How do I know where it put it? When I run Applications > Sound & Video > Movie Player, I get the version with the 15 second backspace. -- Regards, Dick Steffens From jeffw at mbg.com Tue Mar 18 17:29:22 2014 From: jeffw at mbg.com (Jeffrey Weintraub) Date: Tue, 18 Mar 2014 16:29:22 +0000 Subject: [portland] [JOB] Open-Source Software Engineer (Python) in Portland, OR Message-ID: <98E5FBA82B4FD84B910BEB7FC3B70335589F7DE3@MBX246.domain.local> Dear Portland Python User Group Administrator! Can you please post this to the membership? Thank you, Jeff My Portland, OR client has an immediate need for an Open-Source Software Engineer (Python) I am looking for an open-source enthusiast who loves new development in Python / Django Do you long for a casual, fun-loving environment where you can work and pair with a small, high-preforming team? If so, take a look: Requirements Experience with Agile, tight iterations and lightweight processes 3+ years of experience with server-side and client-side technologies Python/Django and OO chops are best... but also open to Java, Ruby, etc. and wants Python Database experience please... relational and MongoDB is also nice to have Any exposure to caching (memcached) is nice to have Any exposure to iOS or Android, working with native app developers Please email me your resume and any other materials (Github, etc.) to jeffw at mbg.com Jeff Weintraub Recruiting Manager Mainz Brady Group jeffw at mbg.com -------------- next part -------------- An HTML attachment was scrubbed... URL: