On Fri, Jan 23, 2009 at 1:11 PM, Scott Stueben wrote:
> Thanks for the help so far - it seems easy enough. To clarify on the
> points you have asked me about:
>
> A sqlite3 database on my machine would be an excellent idea for
> personal use. I would like to be able to get a functional script fo
On Sat, Jan 24, 2009 at 7:06 AM, Wayne Watson
wrote:
> If you are familiar with vi and C, one could enter a simple keystroke and
> jump from an opening paren to the corresponding closing one.
>
> I've long forgotten most of C, but here's a rough segment of a program:
>
> main()
> (
> while (x ==T
On Sat, Jan 24, 2009 at 9:38 AM, Vicent wrote:
>
>> So, maybe I can adapt the definition of "bool" type, I don't know...
>> Anyway, I want to manage 0's and 1's, not "Falses" and "Trues".
>>
>
Well, I can think of something that might be of some help:
In [18]: bit = {True:1, False:0}
In [19]:
Hi all,
I'm going through "An Introduction to Tkinter" by Fredrik Lundh and came
across (what seems to be) some slightly unexpected behavior. I'm editing the
python file with my favorite text editor, and using the %run magic function
in Ipython to test my program(s). On the second example(pg 4
You know, it probably wouldn't be terribly difficult to write the search in
python. Then you *could* find strings inside rather easily.
HTH,
Wayne
On Wed, Jan 28, 2009 at 9:30 AM, Wayne Watson
wrote:
> Thanks. I'll post a msg to a XP group about this. I suspect Python hashes
> the code somehow.
On Thu, Jan 29, 2009 at 5:06 AM, emmanuel.delaborde <
emmanuel.delabo...@cimex.com> wrote:
> Hello,
>
> I have the following snippet :
>
> lines = csv.reader(open("CATEGORY.csv","r"))
> lines2 = csv.reader(open("CATEGORYLIST.csv","r"))
>
> old_cats = []
> for line in lines:
print line
>
>
On Sat, Jan 31, 2009 at 9:09 AM, David wrote:
> Dear list,
>
> many thanks for all your help - much appreciated.
> Today I have continued reading Harrington, and produced the following code,
> which works flawlessly.
> I wonder, though, how I could join all the supplied words with underscores
> _
On Sat, Jan 31, 2009 at 9:56 AM, Wayne Watson
wrote:
> Hi, sorry, but I have no idea what vim is, let alone how to use any of the
> features. I'd still like to know why pythonwin prints almost completely
> blank pages. vim=vi(m), linux??
>
VIM = Vi IMproved = vim +- vi. Basically, vim is just an
Hi,
I'm running into a problem that's bugging me because I know a program used
it, I just can't find which one it was...
I want my Tkinter program to start with the focus, but I can't remember the
command.
TIA,
Wayne
--
To be considered stupid and to be told so is more painful than being called
On Sat, Jan 31, 2009 at 8:45 AM, Wayne Watson
wrote:
> Did I miss a response here?
>
> Wayne Watson wrote:
>
> vim? I'm looking at the interactive window now. Here are two choices for
> what you say:
> 1.
> alt-tab vim
> Traceback ( File "", line 1
> alt-tab vim
> ^
> SyntaxErr
On Tue, Feb 3, 2009 at 6:25 PM, bob gailer wrote:
> >>> struct.calcsize('s')
> 1
> >>> struct.calcsize('d')
> 8
> >>> struct.calcsize('sd')
> 16
>
> Why? Should not that be 9?
>
>>> struct.calcsize('ds')
9
at least on the current box I'm running. It also gave me this:
>>> struct.calcsize('sd')
On Fri, Feb 6, 2009 at 3:12 AM, Alan Gauld wrote:
> "Wayne Watson" wrote
>
>> Signature.htmlWhen I used VBasic many years ago, it had the ability to
>> design a dialog and then attach it to the code. Is there something like this
>> available for Python?
>>
>
> However most Python programmers stil
On Sat, Feb 7, 2009 at 9:09 AM, Wayne Watson
wrote:
> Yes, amazingly enough, I'm quite familiar with basic file operations. :-)
> I'm certainly no expert at all variations of it.
>
> Now for a related question. I'm using Win XP. One of the arguments is the
> default_path. I would like it to be t
On Mon, Feb 9, 2009 at 3:35 PM, Kayvan Sarikhani wrote:
> Hello Tutors,
> I thought that maybe adding "print random.choice(pool).strip()"
> might work but not having any luck with that. Is the output this way, simply
> because of the nature of the range, or can anyone point my in the right
> dir
201 - 214 of 214 matches
Mail list logo