Re: [OT] How to improve my programming skills?

2017-06-03 Thread mbg1708
> I'm looking for a way (*the* way, ie. the "BEST(tm)" way) to improve > my coding skills. While I'm a quite hard-core computer geek since 25 > years and a really good (hobbyist) Linux-SOHO-Admin, my programming > skills are less than sub-par. I wish to change that and become at > least am

Re: Mapping with continguous ranges of keys

2016-12-16 Thread mbg1708
On Thursday, 15 December 2016 17:06:39 UTC, Steve D'Aprano wrote: > I have some key:value data where the keys often are found in contiguous > ranges with identical values. For example: > > {1: "foo", > 2: "foo", > 3: "foo", > # same for keys 4 through 99 > 100: "foo", > 101: "bar", > 102:

Re: User Interface Suggestions? (newbie)

2016-10-06 Thread mbg1708
On Wednesday, 5 October 2016 14:10:21 UTC+1, Beverly Howard wrote: > I'm new to Python, but have three decades of experience with FoxPro and VFP > plus I started programming in Basic and still comfortable with that. > > I have spent some time with Python and am now fairly familiar with the

Re: Storing data in mysql

2016-06-03 Thread mbg1708
On Thursday, 2 June 2016 09:51:59 UTC+1, Anup reni wrote: > How to store this 3 dimensional data in Mysql database for plotting on map? > ​ Actually, this looks like a question about the use of the SQL standard. I really like Joe Celko's book "Instant SQL Programming".which provides LOTS

Re: Why do you use python?

2016-03-21 Thread mbg1708
On Monday, 21 March 2016 04:13:45 UTC, Chris Angelico wrote: > On Mon, Mar 21, 2016 at 2:59 PM, wrote: > > instead, to be efficient, it is best to combine tools to solve problems > > that contain complexities where there is nothing available off the shelve > > that does

Re: Glade/Python - positioning main window at startup

2014-12-31 Thread mbg1708
On Tuesday, 30 December 2014 17:56:56 UTC, Cousin Stanley wrote: Problem: Can anyone help me find settings (either in Glade or elsewhere) which will start the application window with the application window center aligned with the desktop center ? You might try the following

Glade/Python - positioning main window at startup

2014-12-30 Thread mbg1708
Environment: Fedora 21, Linux 3.17.6, XFCE4 (with one workspace) Python: 2.7.8 Glade: 3.18.3 Background: the application window developed in Glade is (deliberately) somewhat smaller than the desktop. When the application starts, it starts offset from the center of the desktop. It looks as

Re: [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-06 Thread mbg1708
On Tuesday, 4 November 2014 16:49:36 UTC, françai s wrote: I intend to write in lowest level of computer programming as a hobby. It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code? What is the lowest level of programming

Re: Glade on Windows using Python

2014-05-04 Thread mbg1708
On Tuesday, April 22, 2014 7:08:29 PM UTC-4, mbg...@planetmail.com wrote: Using Windows 8.1 Update. I've loaded ActiveState python (version 2.7) --- installed OK. I don't need Glade, but I do want to use some Glade XML and run the python application. To run a Glade application this

Glade on Windows using Python

2014-04-22 Thread mbg1708
Using Windows 8.1 Update. I've loaded ActiveState python (version 2.7) --- installed OK. I don't need Glade, but I do want to use some Glade XML and run the python application. To run a Glade application this needs: from gi.repository import Gtk gi.repository is not available to import.

Re: sqlite issue in 2.7.5

2013-09-09 Thread mbg1708
On Tuesday, September 3, 2013 8:22:42 AM UTC-4, Alister wrote: On Mon, 02 Sep 2013 22:13:27 +, Joseph L. Casale wrote: I have been battling an issue hopefully someone here has insight with. I have a database with a few tables I perform a query against with some joins

Re: BPLUSPY-1.0 Installation issue

2013-03-11 Thread mbg1708
On Sunday, March 10, 2013 11:22:37 AM UTC-5, Steven D'Aprano wrote: On Sun, 10 Mar 2013 08:38:43 -0700, mbg1708 wrote: The Bpluspy-1.0 package from Pypi is excellent. The usual setup loads the software into site-packages. Unfortunately, once installed, Python import statements

BPLUSPY-1.0 Installation issue

2013-03-10 Thread mbg1708
The Bpluspy-1.0 package from Pypi is excellent. The usual setup loads the software into site-packages. Unfortunately, once installed, Python import statements don't find the software. The fix is to add a pth file in the site-packages directory. The file can be called anything_you_like.pth

Re: How to write a language parser ?

2013-02-22 Thread mbg1708
On Friday, February 22, 2013 11:29:42 AM UTC-5, Timothy Madden wrote: Hello I am trying to write a DBGp client in python, to be used for debugging mostly php scripts. Currently the XDebug module for php allows me to set breakpoints on any line, include blank ones and lines