On Wed, 27 Jun 2012 07:39:42 +1000, Chris Angelico wrote:
> On Wed, Jun 27, 2012 at 7:08 AM, John Nagle wrote:
>> The Python 3 to MySQL connection is still a mess.
>> The original developer of MySQLdb doesn't want to support Python 3.
>
> This is where I would start asking: How hard is it to
On Sun, 01 Jul 2012 09:46:56 +0200, Thomas Jollans wrote:
> I don't have PostgeSQL handy just now - what is the result of (1 < 2 <
> 3) ? I bet it's the same error, which means the two are still
> equivalent.
$ psql misc
psql (9.1.4)
Type "help" for help.
misc=# select (1 < 2);
?column?
--
On Mon, 22 Oct 2012 14:21:36 +, Grant Edwards wrote:
> On 2012-10-22, Walter Hurry wrote:
>> On Mon, 22 Oct 2012 13:51:35 +1100, Ben Finney wrote:
>>
>>> Walter Hurry writes:
>>>
It is Google bloody Groups which is the problem. I should have
plonked posts from there ages ago, and
I am new to Python (Python 2.7 on Linux). Research indicates that:
a) "Compiling" Python modules into intermediate bytecode marginally
improves load time.
b) The Python interpreter will use an already-prepared .pyc file if one
exists in the same directory as the .py.
That then, is presumably w
On Sun, 29 Jan 2012 14:01:01 -0500, Terry Reedy wrote:
> On 1/29/2012 12:57 PM, HoneyMonster wrote:
>> I am new to Python (Python 2.7 on Linux). Research indicates that:
>>
>> a) "Compiling" Python modules into intermediate bytecode marginally
>> improves load
I am quite new to Python (2.7 on Linux), and have built a few modules
using wxPython/wxGlade for GUI elements and Psycopg2 for database access.
I adhere mostly to the PEP8 guidelines, and use Pylint to help with
quality control.
So far I have been *very* impressed. Due to Python's straightforwa
On Thu, 09 Feb 2012 14:36:52 +, Arnaud Delobelle wrote:
> On 9 February 2012 14:00, Laurent Claessens wrote:
>>
>>> Here is my question: I would like to start an in-house library of
>>> small modules to import, for things like error handling/logging.
>>> That's easy enough, but is there a rec
On Thu, 09 Feb 2012 12:02:03 -0700, Ian Kelly wrote:
> On Thu, Feb 9, 2012 at 11:53 AM, HoneyMonster
> wrote:
>> One issue I have run into, which may or may not be a problem: I am
>> finding that modules in the in-house "library" package sometimes have
>> to imp
On Thu, 09 Feb 2012 15:05:52 -0500, Dave Angel wrote:
> On 02/09/2012 02:40 PM, HoneyMonster wrote:
>> On Thu, 09 Feb 2012 12:02:03 -0700, Ian Kelly wrote:
>>
>>> On Thu, Feb 9, 2012 at 11:53 AM, HoneyMonster
>>> wrote:
>>>> One issue I have run
I am quite new to Python (running Python 2.7 on Linux).
I have written a very small and simple dealing module for the game of
Bridge. For those unfamiliar with the game, the idea is to deal each of 4
players a hand of 13 cards from a pack of 52, and to display it thus (use
a fixed pitch font):
On Wed, 15 Feb 2012 17:07:48 -0700, Ian Kelly wrote:
> On Wed, Feb 15, 2012 at 4:33 PM, HoneyMonster
> wrote:
>> Secondly, as a more general point I would welcome comments on code
>> quality, adherence to standards and so forth. The code is at:
>
> Looks pretty
$ cd /usr/bin
$ ls -l python*
-rwxr-xr-x 2 root root 9496 Oct 27 02:42 python
lrwxrwxrwx 1 root root6 Oct 29 19:34 python2 -> python
-rwxr-xr-x 2 root root 9496 Oct 27 02:42 python2.7
$ diff -s python python2.7
Files python and python2.7 are identical
$
I'm just curious: Why two identical fi
On Thu, 23 Feb 2012 14:24:23 -0500, Jerry Hill wrote:
> On Thu, Feb 23, 2012 at 2:11 PM, HoneyMonster
> wrote:
>> $ cd /usr/bin $ ls -l python*
>> -rwxr-xr-x 2 root root 9496 Oct 27 02:42 python lrwxrwxrwx 1 root root
>> 6 Oct 29 19:34 python2 -> python -rwxr-x
On Wed, 07 Mar 2012 13:06:38 -0500, Rodrick Brown wrote:
> Pay a smart developer!
What? For homework?
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 28 Mar 2012 13:12:30 -0700, John Ladasky wrote:
> I'm looking for a Python (2.7) equivalent to the Unix "cp" command.
> Since the equivalents of "rm" and "mkdir" are in the os module, I
> figured I look there. I haven't found anything in the documentation.
> I am also looking through the
On Sun, 08 Apr 2012 11:34:56 +, Steven D'Aprano wrote:
> I have read Xah Lee's post so that you don't have to.
Well, I certainly shall not be reading - or even seeing - any more of his
drivel.
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, 21 Apr 2014 10:00:01 +1000, Chris Angelico wrote:
> On Mon, Apr 21, 2014 at 9:50 AM, Walter Hurry
> wrote:
>> I would use Python 3 in a flash if only wxPython would support it.
>
> There seems to be a "Project Phoenix" (found it at the other end of a
> Google search) with that goal. I've
On Mon, 14 Nov 2011 21:55:43 +1100, Chris Angelico wrote:
> On Mon, Nov 14, 2011 at 9:41 PM, Tracubik wrote:
>> Hi all,
>> i'm developing a new program.
>> Mission: learn a bit of database management
>
> If your goal is to learn about databasing, then I strongly recommend a
> real database engin
Hi,
I'm just starting to learn Python, so please bear with me. I have in my
program an object (recs) which is a list of tuples (returned as such by a
database query).
My question is doubtless a very easy one to answer: Say I want the ninth
element in the twentieth tuple put into variable PID,
On Sun, 18 Dec 2011 15:04:13 -0500, Roy Smith wrote:
> In article ,
> HoneyMonster wrote:
>
>> Hi,
>>
>> I'm just starting to learn Python, so please bear with me. I have in my
>> program an object (recs) which is a list of tuples (returned as such by
&g
On Mon, 19 Dec 2011 07:51:08 +1100, Chris Angelico wrote:
> On Mon, Dec 19, 2011 at 6:41 AM, HoneyMonster
> wrote:
>> My question is doubtless a very easy one to answer: Say I want the
>> ninth element in the twentieth tuple put into variable PID, I can do
>> this, bearin
On Mon, 19 Dec 2011 10:40:06 +1100, Chris Angelico wrote:
> On Mon, Dec 19, 2011 at 9:55 AM, HoneyMonster
> wrote:
>> When the user selects a row and clicks a button, I am using:
>> pos = self.grid_1.GetGridCursorRow() to establish which tuple in recs
>> is involved, an
On Tue, 03 Jan 2012 17:13:17 -0600, mixolydian wrote:
> I want to get into Python progamming for both local database
> applications and dynamic web pages. Maybe some Q&D scripts.
I am new to Python too, and recently completed my first "real" cross-
platform GUI application with local/remote datab
On Wed, 04 Jan 2012 20:48:36 +, PiLS wrote:
> If I nuke a Karmic Koala, will they rat me out to the WWF, to the
> UNODA, or to both?
Personally I'd be cheering for you, provided you also took out all the
warthogs, hedgehogs, badgers, drakes, efts, fawns, gibbons, herons,
ibexes, jackalopes,
Hi,
I'm new to Python and recently completed my first project. I used
wxPython with wxGlade to generate the GUI bits.The application seems to
work well, but I am entirely self-taught, so have undoubtedly committed a
number of howlers in terms of style, design, standards, best practice and
so forth
On Tue, 10 Jan 2012 18:17:48 -0700, Ian Kelly wrote:
> On Tue, Jan 10, 2012 at 4:44 PM, HoneyMonster
> wrote:
>> Hi,
>>
>> I'm new to Python and recently completed my first project. I used
>> wxPython with wxGlade to generate the GUI bits.The application seems
On Wed, 11 Jan 2012 11:39:48 +, HoneyMonster wrote:
> On Tue, 10 Jan 2012 18:17:48 -0700, Ian Kelly wrote:
>
>> On Tue, Jan 10, 2012 at 4:44 PM, HoneyMonster
>> wrote:
>>> Hi,
>>>
>>> I'm new to Python and recently completed my first project
27 matches
Mail list logo