On Sunday, May 12, 2013 7:51:28 AM UTC-7, Chris Angelico wrote:
> On Mon, May 13, 2013 at 12:17 AM, Citizen Kant wrote:
>
> > Maybe It'd be good if I explain myself a bit more. What I'm trying here is
>
> > to grasp Python from the game's abstraction point of view, as if it were,
>
> > for exam
On Monday, May 13, 2013 4:32:43 PM UTC-7, Citizen Kant wrote:
>An entity named Python must be
> somehow as a serpent.
Moe like a dead parrot, actually.
--
http://mail.python.org/mailman/listinfo/python-list
On Thursday, May 16, 2013 5:28:11 AM UTC-7, Citizen Kant wrote:
> On May 16, 5:55 am, Citizen Kant wrote:
>
If someone's interested on thinking outside the box with me for the sake of
helping me, that would be great and highly appreciated.
Sorry, but you're asking for more than just thinking o
I'm curious about how commonly tkinter is actually used among Python app
developers as compared to wx, Pyside, or PyQT. I get the impression that more
distributed apps are built with wxPython, at least, than tkinter. My
impression is far from actual knowledge, of course.
--
http://mail.python
On Wednesday, May 22, 2013 7:24:15 AM UTC-7, Chris Angelico wrote:
> On Wed, May 22, 2013 at 11:42 PM, Wolfgang Keller wrote:
>
> > What other open-source cross-platform programming language choices do yo
>
> > have.
>
> >
>
> > Java? For GUIs? Excuse me while I vomit.
>
> >
>
> > C++? As a
On Sunday, June 9, 2013 2:08:54 PM UTC-7, zipher wrote:
>
>
> > Fair use has nothing to do with money. It depends on how the work is
>
> > used and how you've changed it. Weird Al's song parodies are fair use,
>
> > even though he sells them.
>
>
>
> That can't really be claimed without a ca
On Monday, June 10, 2013 12:40:57 PM UTC-7, zipher wrote:
> > Weird Al can be a complex case, because sometimes his songs are true
> > parodies, and sometimes they're more satires. Parody has a pretty firm
> > history of being protected under fair use, and Weird Al's MJ-inspired songs
> > ("Fat
On Tuesday, July 9, 2013 2:14:36 PM UTC-7, Dave Angel wrote:
> On 07/09/2013 01:29 AM, Kumita Bruce wrote:
>
> > Agree.
>
> >
>
> > Sir, this mailing list is for Python discussion. :)
>
> >
>
>
>
> Save your breath. saadharana and saishreemathi are spambots, and are
>
> undoubtedly not "l
I definitely prefer the 'fool' style.
--
http://mail.python.org/mailman/listinfo/python-list
It's not just the number of characters, it's the size and the font. Even
fixed-width fonts differ greatly in their readability.
I can handle different line widths just fine up til about 120 or so without
losing the flow of the program, but some fonts simply make it more difficult at
any widt
I'll second this. Javascript is pretty comparable to Python in ease of
learning, so that should be no obstacle. As for keeping the code from being
accessible, you can put the javascript in a separate file that's called from
the guest's web page, but that's far from a foolproof method. If you
I'm trying to get an application working in Python 2.7 and wx.Python which
contains an embedded sqlite3 file. There are a few tables with foreign keys
defined. In looking at the sqlite3 documentation, it says
"Assuming the library is compiled with foreign key constraints enabled, it must
sti
On Tuesday, January 15, 2013 6:36:51 AM UTC-8, Rob Day wrote:
> On 15 January 2013 07:09, llanitedave wrote:
>
>
>
> > So I put the following test code in my initialization method:
>
> >
>
> > # open database file
>
> > self.
On Tuesday, January 15, 2013 9:13:13 AM UTC-8, Rob Day wrote:
> On 15 January 2013 15:51, llanitedave wrote:
>
> > Thanks for the suggestion, Rob, but that didn't make any difference. I've
> > never had an issue with putting the execute object into a variable and
;
> diff yesterday's-version today's-version` and see exactly what the
>
> changes were.
>
>
>
>
>
> On 15 January 2013 20:29, llanitedave wrote:
>
> > On Tuesday, January 15, 2013 9:13:13 AM UTC-8, Rob Day wrote:
>
> >> On 15 January 201
On Thursday, January 24, 2013 7:54:55 AM UTC-8, rusi wrote:
>
> [I personally use emacs. It would be sadistic to make that into a
>
> recommendation]
Lol! That's just too true. It's also true for Eclipse, which I use very
comfortably on Windows 7, but has proven to be a nightmare to set up o
Several questions here, but they're related.
I'm trying to incorporate an sqlite3 database that was created using
Sqliteman1.2.2. I don't know what version of sqlite3 that one uses,
but it seems to have ignored any attempts to create foreign keys for
its tables.
I'm using Python 2.7.2, and I kno
And not one mention of Unicode. I consider this progress.
On Sunday, September 10, 2017 at 7:46:54 AM UTC-7, Rick Johnson wrote:
> Chris Angelico wrote:
> > Marko Rauhamaa wrote:
>
> [...]
>
> > > The clouds I see looming over Python's head are:
> > >
> > > * 2-to-3 migration
> >
> > If t
I'm building an application that contains some long-running operations in a
separate thread from the user interface. I've been using the logging module
writing logging.info() statements to a .log file to keep track of the data
interactions while it runs.
In the midst of a recent run, the loggi
Those are some good suggestions, I've found that I won't be able to work on it
today, but I'll definitely follow up tomorrow. As for not showing all the
code, the main window and its associated code are definitely there and working.
I didn't post it because of all the setup code for fields and
On Monday, October 16, 2017 at 11:58:12 PM UTC-7, Steve D'Aprano wrote:
> On Tue, 17 Oct 2017 03:06 pm, llanitedave wrote:
>
> [...]
> > I set up the logging code at the very beginning of the app, before any other
> > work is done. Here's the relevant code:
On Sunday, June 26, 2016 at 2:45:18 PM UTC-7, Michael Torrie wrote:
> I'm starting to question the advice I gave not long ago to for new users
> to consider the Qt toolkit with Python.
>
> I just did a little project porting a simple graphical user interface
> from GTK+ to Qt (PyQt4 for now as tha
On Sunday, June 26, 2016 at 11:16:01 PM UTC-7, John Ladasky wrote:
> On Sunday, June 26, 2016 at 7:41:17 PM UTC-7, Michael Torrie wrote:
> > If GTK+ had first-class support on Windows and Mac, including native
> > themes and seamless UI integration (file and print dialogs), I'd say
> > GTK+ would b
I've built a database in SQLite3 to be embedded into a python application using
wxPython 2.8.12 and Python 2.7.6. I'm using Sqliteman to manage the database
directly and make changes to the structure when necessary.
One item that's been bugging me is when I'm inserting records into one
particu
On Saturday, November 22, 2014 6:22:32 PM UTC-8, Chris Angelico wrote:
> On Sun, Nov 23, 2014 at 1:11 PM, llanitedave wrote:
> > logging.info("Related borehole_id is %s, of_borehole is %s", relatedbh,
> > runfields[1])
> >
> > In this case, the displayed data
On Saturday, November 22, 2014 9:41:55 PM UTC-8, Chris Angelico wrote:
> On Sun, Nov 23, 2014 at 3:58 PM, Michael Torrie wrote:
> > On 11/22/2014 08:54 PM, llanitedave wrote:
> > Well that DID make a difference! I used the %r marker, and the logger
> > line gave me bac
On Saturday, November 22, 2014 10:32:30 PM UTC-8, Chris Angelico wrote:
> On Sun, Nov 23, 2014 at 5:08 PM, llanitedave wrote:
> > The application was working "correctly" earlier (meaning that I could enter
> > and retrieve data with it; being a strictly user applica
On Sunday, November 23, 2014 12:22:30 AM UTC-8, Frank Millman wrote:
> "Chris Angelico" wrote in message
> news:captjjmp4y5zowwn5yftjutko4h5jvtqlantwqepa6b35xnd...@mail.gmail.com...
> >
> > Entirely possible. I never did track down the actual cause of the
> > SQLite3 issues my students were havin
On Saturday, November 22, 2014 6:11:22 PM UTC-8, llanitedave wrote:
> I've built a database in SQLite3 to be embedded into a python application
> using wxPython 2.8.12 and Python 2.7.6. I'm using Sqliteman to manage the
> database directly and make changes to the struc
On Sunday, November 23, 2014 5:49:05 PM UTC-8, Skip Montanaro wrote:
> I want to add one more thing to the other responses. People new to Python
> often seem unaware that being an interpreted language, often the best way to
> figure something out is to simply try it at the interpreter prompt. The
I capitalize "Free" to avoid confusing it with "free as in beer".
On Sunday, September 8, 2013 3:01:58 AM UTC, Ben Finney wrote:
> Aaron Martin writes:
>
>
>
> > Hi, I am thinking about getting a software but it requires python, so
>
> > that brought up a few questions. Is it safe do download
On Friday, September 13, 2013 10:31:17 AM UTC-7, Eamonn Rea wrote:
> I don't like the idea of being able to drag and drop anything in the
> programming world. Outside of that, I use D&D programs a lot. I got into GUI
> programming because I thought that I could get away from them, but I guess
>
Seems the ultimate in irony when a language invented by a Dutchman and named
after a British comedy troupe gets bogged down in an argument about whether its
users are sufficiently "American".
--
https://mail.python.org/mailman/listinfo/python-list
On Friday, March 6, 2015 at 2:03:42 AM UTC-8, Marko Rauhamaa wrote:
> Rustom Mody :
>
> > I really dont understand what we are communicating (or not) about...
> >
> > Can you hear my accent?
>
> If we met at a Python conference, I would hear it and hopefully even
> understand it.
>
> > But more
On Wednesday, March 4, 2015 at 6:50:32 PM UTC-8, sohca...@gmail.com wrote:
> On Wednesday, March 4, 2015 at 5:34:16 PM UTC-8, Xrrific wrote:
> > Guys, please Help!!!
> >
> > I am trying to impress a girl who is learning python and want ask her out
> > at the same time.
> >
> > Could you please c
On Sunday, April 19, 2015 at 7:09:02 PM UTC-7, Rustom Mody wrote:
>
>
> let me spell it out:
> Prestige of Aristotle stymies progress of physics of 2 millennia
> likewise
> Prestige of Unix development environment keeps us stuck with text files when
> the world has moved on
Difference is, Aristo
On Tuesday, April 21, 2015 at 10:49:34 AM UTC-7, Rustom Mody wrote:
> On Tuesday, April 21, 2015 at 9:01:08 PM UTC+5:30, llanitedave wrote:
> > On Sunday, April 19, 2015 at 7:09:02 PM UTC-7, Rustom Mody wrote:
> > >
> > >
> > > let me spell it out:
> > &
On Tuesday, April 21, 2015 at 8:12:07 PM UTC-7, Rustom Mody wrote:
> On Wednesday, April 22, 2015 at 3:05:57 AM UTC+5:30, llanitedave wrote:
> > On Tuesday, April 21, 2015 at 10:49:34 AM UTC-7, Rustom Mody wrote:
> > > If only Galileo had had you as lawyer...
> >
>
On Friday, July 24, 2015 at 4:16:19 PM UTC-7, Mark Lawrence wrote:
> On 24/07/2015 23:20, Frank Miles wrote:
> > On Fri, 24 Jul 2015 19:31:36 +0100, Paulo da Silva wrote:
> >
> > [snip]
> >
> >
> >> Which technology is better?
> >> matplotlib?
> >> tkinter?
> >> wxwidgets?
> >> qt?
> >
> > Sadly -
The news is featured as an article on Groklaw now.
Those folks are on it...
http://www.groklaw.net/article.php?story=20130215074839583
--
http://mail.python.org/mailman/listinfo/python-list
I created an html help page for my Python 2.7.3 application and put it in a
documentation folder. I used webbrowser.open() to fetch the page.
On linux -- KDE specifically, the command opens the local file on my default
browser with no issues. However, on Windows 7, it opens Internet Explorer,
On Sunday, February 24, 2013 1:35:31 AM UTC-8, Chris Rebert wrote:
> On Feb 24, 2013 1:21 AM, "llanitedave" wrote:
>
> >
>
> > I created an html help page for my Python 2.7.3 application and put it in a
> > documentation folder. I used webbrowser.open(
On Sunday, February 24, 2013 12:48:40 PM UTC-8, Chris Rebert wrote:
> On Sun, Feb 24, 2013 at 12:28 PM, llanitedave wrote:
>
> > On Sunday, February 24, 2013 1:35:31 AM UTC-8, Chris Rebert wrote:
>
> >> On Feb 24, 2013 1:21 AM, "llanitedave" wrote:
>
>
On Sunday, February 24, 2013 12:50:02 PM UTC-8, Mark Lawrence wrote:
> On 24/02/2013 20:28, llanitedave wrote:
>
> > On Sunday, February 24, 2013 1:35:31 AM UTC-8, Chris Rebert wrote:
>
> >> On Feb 24, 2013 1:21 AM, "llanitedave" wrote:
>
> >>
&g
On Sunday, February 24, 2013 2:15:10 PM UTC-8, MRAB wrote:
> On 2013-02-24 20:28, llanitedave wrote:
>
> > On Sunday, February 24, 2013 1:35:31 AM UTC-8, Chris Rebert wrote:
>
> [snip]
>
> >> Sounds like this might be your problem:
>
> >>
her than using a relative path, try using
>
> > webbrowser.open('{}/documentation/help.html'.format(os.path.dirname(__file__))).
>
> >
>
> > On Sun, Feb 24, 2013 at 1:17 AM, llanitedave wrote:
>
> >> I created an html help page for my Python 2.7.3
Well, we can mark this one as solved.
Simple enough, actually -- thanks to Chris and Demian for leading me to water.
The following code works on both Linux and Windows 7:
def OnDocs(self, event):
"""Opens the User's Guide in the default web browser"""
fullpath = os.path.abspath('
On Sunday, February 24, 2013 9:35:17 PM UTC-8, Terry Reedy wrote:
> On 2/24/2013 4:35 AM, Chris Rebert wrote:
>
>
>
> > Sounds like this might be your problem:
>
> > http://bugs.python.org/issue8936
>
>
>
> I just closed that issue an invalid. Here is most of what I wrote.
>
> '''
>
> Afte
I just completed my first Python app for public consumption, and I was learning
as I was coding. I've played on the outskirts of the language for a few years,
but until this project I'd never really immersed myself in it. I ended up
being confused a lot. So, I DO have some relevant thoughts:
On Wednesday, February 27, 2013 12:31:11 AM UTC-8, Alvin Ghouas wrote:
> Hi everyone!
>
>
>
> First of all: Im new to this group and i dont know if there are any "rules"
> or jargon around her. If so; pleas fill me in.
>
>
>
> So, I desided to start learning programming a few months ago and
On Wednesday, February 27, 2013 4:40:41 PM UTC-8, Rick Johnson wrote:
>
> Before you decide to start participating in outside projects may we have a
> list of some of the software you've written for yourself? (With all due
> respect) I very seriously doubt that someone with only a "few months" o
On Wednesday, February 27, 2013 7:43:58 PM UTC-8, Rick Johnson wrote:
>
> Python is a great language, but we need diverse ideas to keep the cogs of
> evolution turning. Guido can start the ball rolling 10 minutes from now, all
> it will take is for him to make a public announcement...
Geez, dud
On Tuesday, March 12, 2013 10:47:25 AM UTC-7, Maarten wrote:
> On Tuesday, March 12, 2013 6:11:10 PM UTC+1, Norah Jones wrote:
>
> > I want to create a random float array of size 100, with the values in the
> > array ranging from 0 to 5. I have tried random.sample(range(5),100) but
> > that does
On Tuesday, March 12, 2013 2:59:29 PM UTC-7, Oscar Benjamin wrote:
> On 12 March 2013 20:21, llanitedave wrote:
>
> > On Tuesday, March 12, 2013 10:47:25 AM UTC-7, Maarten wrote:
>
> >> On Tuesday, March 12, 2013 6:11:10 PM UTC+1, Norah Jones wrote:
>
> >>
Another detail about the new language: the Btrees used in Python's persistent
object data structures have been replaced by...
A SHRUBBERY!
--
http://mail.python.org/mailman/listinfo/python-list
On Monday, April 1, 2013 12:59:04 PM UTC-7, Tim Daneliuk wrote:
> On 04/01/2013 01:32 PM, llanitedave wrote:
>
> > Another detail about the new language: the Btrees used in Python's
> > persistent object data structures have been replaced by...
>
> >
>
&
I also tend to prefer a maximum between 110 and 120 characters. I find
continuation lines confusing, and when you use some third-party tools, such as
wxPython, for example, the boilerplate code leads to some long lines.
I would hate to have to break up this line, for instance:
self.mainLabel.S
On Thursday, April 4, 2013 4:52:38 AM UTC-7, Roy Smith wrote:
> In article ,
>
> llanitedave wrote:
>
>
>
> > I would hate to have to break up this line, for instance:
>
> >
>
> > self.mainLabel.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL,
Given that
s = some static value
i = a value incremented during a loop
I'm used to comparing them as
if i == s:
# some code
But for some unknown reason I did a switch
if s == i:
# same code
It didn't seem to make any difference at first glance, so I just got to
wondering --
Is ther
On Wednesday, April 24, 2013 10:57:49 PM UTC-7, Chris Angelico wrote:
> On Thu, Apr 25, 2013 at 3:49 PM, llanitedave wrote:
>
> > Given that
>
> >
>
> > s = some static value
>
> > i = a value incremented during a loop
>
> >
>
> &
On Thursday, April 25, 2013 11:31:04 AM UTC-7, Steve Simmons wrote:
> Chris Angelico wrote:
>
>
>
> With the sort of thinking you're demonstrating here, you
>
> should consider a job working with Spike Milligna (the well known typing
> error).
>
>
>
> Errr , I think you'll find that he's
On Sunday, May 5, 2013 12:10:47 PM UTC-7, Steven D'Aprano wrote:
>
>
> Also, Perl programmers are an unprincipled, devious bunch, always looking
>
> for an opportunity to blackmail their employers into paying them extra.
>
> Python programmers are a decent, law-abiding people with a strong m
On Sunday, June 11, 2017 at 2:42:41 AM UTC-7, Lawrence D’Oliveiro wrote:
> I tried the following very simple script under both versions 3.5.3 and 3.6.1
> of Python:
>
> import sys
> import asyncio
>
> loop = asyncio.get_event_loop()
>
> async def idle() :
> while True :
63 matches
Mail list logo