From dick at dicksteffens.com Thu Dec 12 22:38:53 2013 From: dick at dicksteffens.com (Dick Steffens) Date: Thu, 12 Dec 2013 13:38:53 -0800 Subject: [portland] Recommendation for GUI environment on Ubuntu 12.04 with Gnome fallback Message-ID: <52AA2CED.4060200@dicksteffens.com> I run a couple of Python programs that work fine on Ubuntu 10.04 but don't behave quite so well on Ubuntu 12.04. I've made a couple of tweaks that help, but I'd like to recompile them (or whatever the right concept is with Python) so they work well on Ubuntu 12.04. One of the programs is called Footpedal. It can be found at: http://code.google.com/p/footpedal/downloads/detail?name=footpedal_0.4-0ubuntu1_all.deb and some instructions for tweaking are at: http://code.google.com/p/footpedal/issues/detail?id=4#c5 Those helped, but I'd like to make it cleaner. Something seems to be missing from Gnome fallback that Footpedal uses. When I run it on Ubuntu 10.04 a little foot icon appears on the top line of the screen. When I right click on that icon I can change some settings to suit the way I want the foot pedal to respond. That icon no longer appears on the top line of the 12.04 screen, and I haven't found a way to get at that configuration menu. I'd like to rewrite the program so the I can get to the configuration menu. The part more relevant to this mailing list is what GUI "environment" (or whatever it's called) can I use for Python with Ubuntu 12.04? I'd like to start with a graphic version of Hello World so I can understand what widgets to use and how to place and control buttons, etc. I've fiddled with the text mode version of Hello World and understand it -- well, at least enough of it to handle Hello World. I'd like to get the same familiarity with a GUI program. The other program is called Transcribe. It is a program that plays audio files with some controls built in suitable for use by transcribers, such as backing up x number of seconds when stopped. It runs okay mostly. Sometimes I'll get a pop up window that tells me that it has crashed. Maybe something crashed, but it wasn't the part of the program that I use. I'm less concerned with finding out what's wrong with this one. But once I get comfortable tweaking Footpedal I'll dig further into Transcribe. TIA for any advice and/or links to tutorials. -- Regards, Richard C. Steffens From jchampion at zetacentauri.com Thu Dec 12 23:19:59 2013 From: jchampion at zetacentauri.com (Jason Champion) Date: Thu, 12 Dec 2013 14:19:59 -0800 Subject: [portland] Recommendation for GUI environment on Ubuntu 12.04 with Gnome fallback In-Reply-To: <52AA2CED.4060200@dicksteffens.com> References: <52AA2CED.4060200@dicksteffens.com> Message-ID: I swear by PyQt for Python GUI work on Linux. The PyQt book by Mark Summerfield is superb. I imagine there are also plenty of good tutorials on the web. There's also wxPython, which is fairly widely-used. I used to use that, but switched to pyQt a while back. On Python both frameworks are pretty similar in capability. I only switched for consistency because the C++ work I do switched entirely to Qt (Qt is FAR better/smoother to use with C++). Both frameworks are multi-platform so you can get OSX and Windows for "nearly free" if you use one of them. Cheers, Jason On Thu, Dec 12, 2013 at 1:38 PM, Dick Steffens wrote: > I run a couple of Python programs that work fine on Ubuntu 10.04 but don't > behave quite so well on Ubuntu 12.04. I've made a couple of tweaks that > help, but I'd like to recompile them (or whatever the right concept is with > Python) so they work well on Ubuntu 12.04. > > One of the programs is called Footpedal. It can be found at: > > http://code.google.com/p/footpedal/downloads/detail? > name=footpedal_0.4-0ubuntu1_all.deb > > and some instructions for tweaking are at: > > http://code.google.com/p/footpedal/issues/detail?id=4#c5 > > Those helped, but I'd like to make it cleaner. > > Something seems to be missing from Gnome fallback that Footpedal uses. > When I run it on Ubuntu 10.04 a little foot icon appears on the top line of > the screen. When I right click on that icon I can change some settings to > suit the way I want the foot pedal to respond. That icon no longer appears > on the top line of the 12.04 screen, and I haven't found a way to get at > that configuration menu. I'd like to rewrite the program so the I can get > to the configuration menu. > > The part more relevant to this mailing list is what GUI "environment" (or > whatever it's called) can I use for Python with Ubuntu 12.04? I'd like to > start with a graphic version of Hello World so I can understand what > widgets to use and how to place and control buttons, etc. I've fiddled with > the text mode version of Hello World and understand it -- well, at least > enough of it to handle Hello World. I'd like to get the same familiarity > with a GUI program. > > The other program is called Transcribe. It is a program that plays audio > files with some controls built in suitable for use by transcribers, such as > backing up x number of seconds when stopped. It runs okay mostly. Sometimes > I'll get a pop up window that tells me that it has crashed. Maybe something > crashed, but it wasn't the part of the program that I use. I'm less > concerned with finding out what's wrong with this one. But once I get > comfortable tweaking Footpedal I'll dig further into Transcribe. > > TIA for any advice and/or links to tutorials. > > -- > Regards, > > Richard C. Steffens > > _______________________________________________ > Portland mailing list > Portland at python.org > https://mail.python.org/mailman/listinfo/portland > -- Jason Champion Software Architect Zeta Centauri http://zetacentauri.com jchampion at zetacentauri.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dick at dicksteffens.com Fri Dec 13 01:03:52 2013 From: dick at dicksteffens.com (Dick Steffens) Date: Thu, 12 Dec 2013 16:03:52 -0800 Subject: [portland] Recommendation for GUI environment on Ubuntu 12.04 with Gnome fallback In-Reply-To: References: <52AA2CED.4060200@dicksteffens.com> Message-ID: <52AA4EE8.9030900@dicksteffens.com> On 12/12/2013 02:19 PM, Jason Champion wrote: > I swear by PyQt for Python GUI work on Linux. > > The PyQt book by Mark Summerfield is superb. I imagine there are also > plenty of good tutorials on the web. > > There's also wxPython, which is fairly widely-used. I used to use that, but > switched to pyQt a while back. On Python both frameworks are pretty similar > in capability. I only switched for consistency because the C++ work I do > switched entirely to Qt (Qt is FAR better/smoother to use with C++). Both > frameworks are multi-platform so you can get OSX and Windows for "nearly > free" if you use one of them. I found a tutorial and successfully ran the fist two examples. That should get me on my way. Thanks! -- Regards, Richard C. Steffens From dermot at tenbridges.com Fri Dec 13 01:41:41 2013 From: dermot at tenbridges.com (TenBridges LLC) Date: Thu, 12 Dec 2013 16:41:41 -0800 Subject: [portland] Recommendation for GUI environment on Ubuntu 12.04 with Gnome fallback In-Reply-To: <52AA2CED.4060200@dicksteffens.com> References: <52AA2CED.4060200@dicksteffens.com> Message-ID: <1386895301.5845.7.camel@10B-2> I would also take a serious look at PyCharm from JetBrains. It is an excellent editor with great integrations (Django, Git, etc............). I have run it on the last 3 LTS versions of Ubuntu (including 12.04 ). I think there is a free version too. http://www.jetbrains.com/pycharm/ On Thu, 2013-12-12 at 13:38 -0800, Dick Steffens wrote: > I run a couple of Python programs that work fine on Ubuntu 10.04 but > don't behave quite so well on Ubuntu 12.04. I've made a couple of tweaks > that help, but I'd like to recompile them (or whatever the right concept > is with Python) so they work well on Ubuntu 12.04. > > One of the programs is called Footpedal. It can be found at: > > http://code.google.com/p/footpedal/downloads/detail?name=footpedal_0.4-0ubuntu1_all.deb > > and some instructions for tweaking are at: > > http://code.google.com/p/footpedal/issues/detail?id=4#c5 > > Those helped, but I'd like to make it cleaner. > > Something seems to be missing from Gnome fallback that Footpedal uses. > When I run it on Ubuntu 10.04 a little foot icon appears on the top line > of the screen. When I right click on that icon I can change some > settings to suit the way I want the foot pedal to respond. That icon no > longer appears on the top line of the 12.04 screen, and I haven't found > a way to get at that configuration menu. I'd like to rewrite the program > so the I can get to the configuration menu. > > The part more relevant to this mailing list is what GUI "environment" > (or whatever it's called) can I use for Python with Ubuntu 12.04? I'd > like to start with a graphic version of Hello World so I can understand > what widgets to use and how to place and control buttons, etc. I've > fiddled with the text mode version of Hello World and understand it -- > well, at least enough of it to handle Hello World. I'd like to get the > same familiarity with a GUI program. > > The other program is called Transcribe. It is a program that plays audio > files with some controls built in suitable for use by transcribers, such > as backing up x number of seconds when stopped. It runs okay mostly. > Sometimes I'll get a pop up window that tells me that it has crashed. > Maybe something crashed, but it wasn't the part of the program that I > use. I'm less concerned with finding out what's wrong with this one. But > once I get comfortable tweaking Footpedal I'll dig further into Transcribe. > > TIA for any advice and/or links to tutorials. > -- TenBridges.Com L.L.C. Dermot Maty, Owner 1631 NE Broadway #522 Portland, OR, 97232 pho: 503.427.8362 mob: 503.702.0724 Dermot at tenbridges.com www.tenbridges.com NOTICE: DO NOT read, copy or disseminate this e-mail message unless you are the intended recipient. The information contained in this e-mail message is privileged, confidential and protected from disclosure, and any dissemination, distribution or copying is strictly prohibited by anyone other than the intended recipient. If you think you have received this e-mail message in error, please e-mail the sender at Dermot at tenbridges.com or call (503)427-8362. -------------- next part -------------- An HTML attachment was scrubbed... URL: From chiller at decipherinc.com Fri Dec 13 02:01:49 2013 From: chiller at decipherinc.com (Christopher Hiller) Date: Thu, 12 Dec 2013 17:01:49 -0800 Subject: [portland] Recommendation for GUI environment on Ubuntu 12.04 with Gnome fallback In-Reply-To: <1386895301.5845.7.camel@10B-2> References: <52AA2CED.4060200@dicksteffens.com> <1386895301.5845.7.camel@10B-2> Message-ID: I?ve used PyCharm exclusively for a few years now and it?s amazing (great for full-stack JS too). ?JetBrains really knows how to make an IDE. --? Christopher Hiller Decipher, Inc. On December 12, 2013 at 4:50:05 PM, TenBridges LLC (dermot at tenbridges.com) wrote: I would also take a serious look at PyCharm from JetBrains. It is an excellent editor with great integrations (Django, Git, etc............). I have run it on the last 3 LTS versions of Ubuntu (including 12.04 ). I think there is a free version too. http://www.jetbrains.com/pycharm/ On Thu, 2013-12-12 at 13:38 -0800, Dick Steffens wrote: > I run a couple of Python programs that work fine on Ubuntu 10.04 but > don't behave quite so well on Ubuntu 12.04. I've made a couple of tweaks > that help, but I'd like to recompile them (or whatever the right concept > is with Python) so they work well on Ubuntu 12.04. > > One of the programs is called Footpedal. It can be found at: > > http://code.google.com/p/footpedal/downloads/detail?name=footpedal_0.4-0ubuntu1_all.deb > > and some instructions for tweaking are at: > > http://code.google.com/p/footpedal/issues/detail?id=4#c5 > > Those helped, but I'd like to make it cleaner. > > Something seems to be missing from Gnome fallback that Footpedal uses. > When I run it on Ubuntu 10.04 a little foot icon appears on the top line > of the screen. When I right click on that icon I can change some > settings to suit the way I want the foot pedal to respond. That icon no > longer appears on the top line of the 12.04 screen, and I haven't found > a way to get at that configuration menu. I'd like to rewrite the program > so the I can get to the configuration menu. > > The part more relevant to this mailing list is what GUI "environment" > (or whatever it's called) can I use for Python with Ubuntu 12.04? I'd > like to start with a graphic version of Hello World so I can understand > what widgets to use and how to place and control buttons, etc. I've > fiddled with the text mode version of Hello World and understand it -- > well, at least enough of it to handle Hello World. I'd like to get the > same familiarity with a GUI program. > > The other program is called Transcribe. It is a program that plays audio > files with some controls built in suitable for use by transcribers, such > as backing up x number of seconds when stopped. It runs okay mostly. > Sometimes I'll get a pop up window that tells me that it has crashed. > Maybe something crashed, but it wasn't the part of the program that I > use. I'm less concerned with finding out what's wrong with this one. But > once I get comfortable tweaking Footpedal I'll dig further into Transcribe. > > TIA for any advice and/or links to tutorials. > -- TenBridges.Com L.L.C. Dermot Maty, Owner 1631 NE Broadway #522 Portland, OR, 97232 pho: 503.427.8362 mob: 503.702.0724 Dermot at tenbridges.com www.tenbridges.com NOTICE: DO NOT read, copy or disseminate this e-mail message unless you are the intended recipient. The information contained in this e-mail message is privileged, confidential and protected from disclosure, and any dissemination, distribution or copying is strictly prohibited by anyone other than the intended recipient. If you think you have received this e-mail message in error, please e-mail the sender at Dermot at tenbridges.com or call (503)427-8362. -------------- next part -------------- An HTML attachment was scrubbed... URL: _______________________________________________ Portland mailing list Portland at python.org https://mail.python.org/mailman/listinfo/portland -------------- next part -------------- An HTML attachment was scrubbed... URL: From ernest.bonat at gmail.com Fri Dec 13 02:01:57 2013 From: ernest.bonat at gmail.com (Ernest Bonat, Ph.D.) Date: Thu, 12 Dec 2013 17:01:57 -0800 Subject: [portland] Recommendation for GUI environment on Ubuntu 12.04 with Gnome fallback In-Reply-To: <52AA4EE8.9030900@dicksteffens.com> References: <52AA2CED.4060200@dicksteffens.com> <52AA4EE8.9030900@dicksteffens.com> Message-ID: Why not to use Eclipse IDE with PyDev plugin? Simple and good! PyDev is a Python IDE for Eclipse, which may be used in Python, Jython and IronPython development. It comes with many goodies such as: ? Django integration ? Code completion ? Code completion with auto import ? Type hinting ? Code analysis ? Go to definition ? Refactoring ? Debugger ? Remote debugger ? Tokens browser ? Interactive console ? Unit-test integration ? Code coverage ? Find References (Ctrl+Shift+G) ? and many others: Thanks On Thu, Dec 12, 2013 at 4:03 PM, Dick Steffens wrote: > On 12/12/2013 02:19 PM, Jason Champion wrote: > >> I swear by PyQt for Python GUI work on Linux. >> >> The PyQt book by Mark Summerfield is superb. I imagine there are also >> plenty of good tutorials on the web. >> >> There's also wxPython, which is fairly widely-used. I used to use that, >> but >> switched to pyQt a while back. On Python both frameworks are pretty >> similar >> in capability. I only switched for consistency because the C++ work I do >> switched entirely to Qt (Qt is FAR better/smoother to use with C++). Both >> frameworks are multi-platform so you can get OSX and Windows for "nearly >> free" if you use one of them. >> > > I found a tutorial and successfully ran the fist two examples. That should > get me on my way. > > Thanks! > > > -- > Regards, > > Richard C. Steffens > > _______________________________________________ > Portland mailing list > Portland at python.org > https://mail.python.org/mailman/listinfo/portland > -- Thanks Ernest Bonat, Ph.D. Senior Software Engineer Senior Business Statistics Analyst Mobile: 503.730.4556 Email: ernest.bonat at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgarman at zenlinux.com Tue Dec 24 00:50:45 2013 From: sgarman at zenlinux.com (Scott Garman) Date: Mon, 23 Dec 2013 15:50:45 -0800 Subject: [portland] Current django learning resources? Message-ID: <52B8CC55.10301@zenlinux.com> Hey folks, I'm planning to spend some time during the holidays to write my first django webapp, and was wondering what recommendations people have for books and online resources to get me bootstrapped and using the latest best practices? I have some background in Rails, though that's gotten quite rusty in recent years, and I consider myself intermediate-level with python itself. Practical resources which include things like how to deploy a django app are especially welcome - I have a Linode server running Debian 7 as my target webhost. Suggestions? Thanks, and Happy Holidays! Scott From jchampion at zetacentauri.com Tue Dec 24 05:21:25 2013 From: jchampion at zetacentauri.com (Jason Champion) Date: Mon, 23 Dec 2013 20:21:25 -0800 Subject: [portland] Current django learning resources? In-Reply-To: <52B8CC55.10301@zenlinux.com> References: <52B8CC55.10301@zenlinux.com> Message-ID: <52B90BC5.7000108@zetacentauri.com> Hi Scott, I'd recommend their basic poll tutorial for a start: https://docs.djangoproject.com/en/dev/intro/tutorial01/ The Django book is a good intro: http://www.djangobook.com/en/2.0/index.html Once you have a good understanding of the basics, the Two Scoops of Django book is mighty good: http://www.amazon.com/Two-Scoops-Django-Best-Practices-ebook/dp/B00CCK619K/ It doesn't matter that it's a version behind, the core concepts don't generally change quickly with Django. For deployments, Fabric is very much worth learning, and not too hard to get the hang of: http://docs.fabfile.org/en/1.8/ I love Linode. Their servers perform very well with Django (I have ~20 sites running on one of their $40 Ubuntu servers and it's /fast/). :D Cheers, Jason On 12/23/2013 03:50 PM, Scott Garman wrote: > Hey folks, > > I'm planning to spend some time during the holidays to write my first > django webapp, and was wondering what recommendations people have for > books and online resources to get me bootstrapped and using the latest > best practices? I have some background in Rails, though that's gotten > quite rusty in recent years, and I consider myself intermediate-level > with python itself. Practical resources which include things like how to > deploy a django app are especially welcome - I have a Linode server > running Debian 7 as my target webhost. > > Suggestions? > > Thanks, and Happy Holidays! > > Scott > _______________________________________________ > Portland mailing list > Portland at python.org > https://mail.python.org/mailman/listinfo/portland From keturn at keturn.net Tue Dec 24 05:25:12 2013 From: keturn at keturn.net (Kevin Turner) Date: Mon, 23 Dec 2013 20:25:12 -0800 Subject: [portland] Current django learning resources? In-Reply-To: <52B8CC55.10301@zenlinux.com> References: <52B8CC55.10301@zenlinux.com> Message-ID: <1387859112.20474.63117921.3762C23F@webmail.messagingengine.com> I think "Two Scoops of Django" is probably a good resource for you. It assumes some prior knowledge about the mechanics of web applications, so I don't recommend it for a first-time introduction to the domain, but I expect your rails background will have prepared you with the basic concepts. It is very much oriented toward the practical, and I appreciated the content. It's only the last two months that I started doing any real work with Django myself, and I've written some about the experience at http://keturn.net/blog/ That's primarily a diary, rather than a tutorial or a reference work, but I do write in the hope that it will help others avoid the pitfalls I found along my way. (And I have four weeks of entries yet to write. Yikes!) Good luck, - Kevin From brett at rdnzl.net Tue Dec 24 07:49:51 2013 From: brett at rdnzl.net (Brett Carter) Date: Mon, 23 Dec 2013 22:49:51 -0800 Subject: [portland] Current django learning resources? In-Reply-To: <52B90BC5.7000108@zetacentauri.com> References: <52B8CC55.10301@zenlinux.com> <52B90BC5.7000108@zetacentauri.com> Message-ID: I second this. I worked through the tutorial - it's a great intro. -Brett On Mon, Dec 23, 2013 at 8:21 PM, Jason Champion wrote: > Hi Scott, > > I'd recommend their basic poll tutorial for a start: > > https://docs.djangoproject.com/en/dev/intro/tutorial01/ > > The Django book is a good intro: > > http://www.djangobook.com/en/2.0/index.html > > Once you have a good understanding of the basics, the Two Scoops of Django > book is mighty good: > > http://www.amazon.com/Two-Scoops-Django-Best-Practices- > ebook/dp/B00CCK619K/ > > It doesn't matter that it's a version behind, the core concepts don't > generally change quickly with Django. > > For deployments, Fabric is very much worth learning, and not too hard to > get the hang of: > > http://docs.fabfile.org/en/1.8/ > > I love Linode. Their servers perform very well with Django (I have ~20 > sites running on one of their $40 Ubuntu servers and it's /fast/). :D > > Cheers, > Jason > > > On 12/23/2013 03:50 PM, Scott Garman wrote: > >> Hey folks, >> >> I'm planning to spend some time during the holidays to write my first >> django webapp, and was wondering what recommendations people have for >> books and online resources to get me bootstrapped and using the latest >> best practices? I have some background in Rails, though that's gotten >> quite rusty in recent years, and I consider myself intermediate-level >> with python itself. Practical resources which include things like how to >> deploy a django app are especially welcome - I have a Linode server >> running Debian 7 as my target webhost. >> >> Suggestions? >> >> Thanks, and Happy Holidays! >> >> Scott >> _______________________________________________ >> Portland mailing list >> Portland at python.org >> https://mail.python.org/mailman/listinfo/portland >> > > _______________________________________________ > Portland mailing list > Portland at python.org > https://mail.python.org/mailman/listinfo/portland > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dick at dicksteffens.com Tue Dec 24 18:46:04 2013 From: dick at dicksteffens.com (Dick Steffens) Date: Tue, 24 Dec 2013 09:46:04 -0800 Subject: [portland] Image location for PyQT4? Message-ID: <52B9C85C.10809@dicksteffens.com> I'm working through the tutorials at http://zetcode.com/gui/pyqt4/. So far, they all work, mostly. The mostly part refers to missing images. The section on PyQT4 Widgets includes an example of the use of a slider. The slider displays fine. But missing when I run the program is the image of a loud speaker and the ) shapes added to the right to indicate a sound level. There are a set of png files used by the program -- mute.png, min.png, med.png, max.png -- but they don't show up when I run it. Unless I skipped over something and missed it, I don't see anything that tells me where these files are supposed to be located. This is true for any other program in the set that uses an image file. Is there some common set of files I should have downloaded when I installed python-qt4 on my Ubuntu 12.04 system? Synaptic shows I have installed: Package Installed Version Latest Version Description ---------- ----------------- -------------- ----------------------- python-qt4 4.9.1-2ubuntu1 4.9.1-2ubuntu1 Python bindings for Qt4 I don't see anything obvious in the list of packages in Synaptic, like some image library. What am I missing? Thanks. -- Regards, Richard C. Steffens From jchampion at zetacentauri.com Tue Dec 24 19:42:52 2013 From: jchampion at zetacentauri.com (Jason Champion) Date: Tue, 24 Dec 2013 10:42:52 -0800 Subject: [portland] Image location for PyQT4? In-Reply-To: <52B9C85C.10809@dicksteffens.com> References: <52B9C85C.10809@dicksteffens.com> Message-ID: <52B9D5AC.70409@zetacentauri.com> Hi Dick, It sounds like they're either assuming you have certain files in your icon library or forgot to include links to tutorial resources -- those files are not part of Qt. It should be easy to get substitute images. When I look in this folder on my Ubuntu system with Gnome 3 installed: /usr/share/icons/gnome/32x32/status/ I see these icons: stock_volume-0.png stock_volume-max.png stock_volume-med.png stock_volume-min.png stock_volume-mute.png stock_volume.png That sounds pretty similar to what they're asking for, and it being Qt4 they were probably assuming a system with Gnome 2 installed. I bet their default icons set has images with those names. I have a number of folders with mute/min/med/max icons on my system: /usr/share/icons/oxygen/, /usr/share/icons/ubuntu-mono-dark, etc. You should be able to find suitable substitutes in one of the /usr/share/icons folders, depending on what window manager and/or theme libraries you have installed. HTH, Jason On 12/24/2013 09:46 AM, Dick Steffens wrote: > I'm working through the tutorials at http://zetcode.com/gui/pyqt4/. So > far, they all work, mostly. The mostly part refers to missing images. > The section on PyQT4 Widgets includes an example of the use of a > slider. The slider displays fine. But missing when I run the program > is the image of a loud speaker and the ) shapes added to the right to > indicate a sound level. There are a set of png files used by the > program -- mute.png, min.png, med.png, max.png -- but they don't show > up when I run it. Unless I skipped over something and missed it, I > don't see anything that tells me where these files are supposed to be > located. This is true for any other program in the set that uses an > image file. > > Is there some common set of files I should have downloaded when I > installed python-qt4 on my Ubuntu 12.04 system? > > Synaptic shows I have installed: > > Package Installed Version Latest Version Description > ---------- ----------------- -------------- > ----------------------- > python-qt4 4.9.1-2ubuntu1 4.9.1-2ubuntu1 Python bindings for Qt4 > > I don't see anything obvious in the list of packages in Synaptic, like > some image library. What am I missing? > > Thanks. > From dick at dicksteffens.com Tue Dec 24 20:15:13 2013 From: dick at dicksteffens.com (Dick Steffens) Date: Tue, 24 Dec 2013 11:15:13 -0800 Subject: [portland] Resolved: Image location for PyQT4? In-Reply-To: <52B9D5AC.70409@zetacentauri.com> References: <52B9C85C.10809@dicksteffens.com> <52B9D5AC.70409@zetacentauri.com> Message-ID: <52B9DD41.9030504@dicksteffens.com> On 12/24/2013 10:42 AM, Jason Champion wrote: > Hi Dick, > > It sounds like they're either assuming you have certain files in your > icon library or forgot to include links to tutorial resources -- those > files are not part of Qt. It should be easy to get substitute images. > > When I look in this folder on my Ubuntu system with Gnome 3 installed: > > /usr/share/icons/gnome/32x32/status/ > > I see these icons: > > stock_volume-0.png stock_volume-max.png stock_volume-med.png > stock_volume-min.png stock_volume-mute.png stock_volume.png Yes. I have them, too. They are links to four other files in the same directory, audio-volume-high.png, etc. The images don't match exactly what the tutorial shows, but the concept is the same. > That sounds pretty similar to what they're asking for, and it being > Qt4 they were probably assuming a system with Gnome 2 installed. I bet > their default icons set has images with those names. > > I have a number of folders with mute/min/med/max icons on my system: > /usr/share/icons/oxygen/, /usr/share/icons/ubuntu-mono-dark, etc. You > should be able to find suitable substitutes in one of the > /usr/share/icons folders, depending on what window manager and/or > theme libraries you have installed. The ones you in /usr/share/icons/gnome/32x32/status/ work for me. > HTH, Yes. Very much, thanks. -- Regards, Richard C. Steffens From sgarman at zenlinux.com Tue Dec 24 20:53:03 2013 From: sgarman at zenlinux.com (Scott Garman) Date: Tue, 24 Dec 2013 11:53:03 -0800 Subject: [portland] Current django learning resources? In-Reply-To: <52B90BC5.7000108@zetacentauri.com> References: <52B8CC55.10301@zenlinux.com> <52B90BC5.7000108@zetacentauri.com> Message-ID: <52B9E61F.2070605@zenlinux.com> Thanks everyone for the replies! This looks like some great info for me to embark with. Scott On 12/23/2013 08:21 PM, Jason Champion wrote: > Hi Scott, > > I'd recommend their basic poll tutorial for a start: > > https://docs.djangoproject.com/en/dev/intro/tutorial01/ > > The Django book is a good intro: > > http://www.djangobook.com/en/2.0/index.html > > Once you have a good understanding of the basics, the Two Scoops of > Django book is mighty good: > > http://www.amazon.com/Two-Scoops-Django-Best-Practices-ebook/dp/B00CCK619K/ > > It doesn't matter that it's a version behind, the core concepts don't > generally change quickly with Django. > > For deployments, Fabric is very much worth learning, and not too hard to > get the hang of: > > http://docs.fabfile.org/en/1.8/ > > I love Linode. Their servers perform very well with Django (I have ~20 > sites running on one of their $40 Ubuntu servers and it's /fast/). :D > > Cheers, > Jason > > On 12/23/2013 03:50 PM, Scott Garman wrote: >> Hey folks, >> >> I'm planning to spend some time during the holidays to write my first >> django webapp, and was wondering what recommendations people have for >> books and online resources to get me bootstrapped and using the latest >> best practices? I have some background in Rails, though that's gotten >> quite rusty in recent years, and I consider myself intermediate-level >> with python itself. Practical resources which include things like how to >> deploy a django app are especially welcome - I have a Linode server >> running Debian 7 as my target webhost. >> >> Suggestions? >> >> Thanks, and Happy Holidays! >> >> Scott >> _______________________________________________ >> Portland mailing list >> Portland at python.org >> https://mail.python.org/mailman/listinfo/portland > > _______________________________________________ > Portland mailing list > Portland at python.org > https://mail.python.org/mailman/listinfo/portland