Re: How do you escape % when formatting a string?

2007-04-02 Thread Bill Scherer
erikcw wrote: > Hi, > > I'm trying to format a string like so: > > string = "You have a 75% chance of success with %s, don't use %s" %(a, > b) > > This gives me: > TypeError: not enough arguments for format string > > I've tried 75\%, but that doesn't seem to help. What am I missing? > > Thanks! >

Re: Freetype bindings, finally?

2007-09-20 Thread Bill McClain
the discussion here. I would certainly susbscribe, and contribute as time and talent permit. -Bill -- Sattre Press Tales of War http://sattre-press.com/ by Lord Dunsany [EMAIL PROTECTED] http://sattre-press.com/tow.html -- http://

Fwd: NUCULAR fielded text searchable indexing

2007-10-09 Thread Bill Hamilton
a great tradition of tounge-in-cheek package names, like > >> "Cold fusion", for example. > >>... > > > > I think it's an excellent name :) > > And Bush would probably pronounce it "Nuke-lee-ur". I dislike Bush as much as the next guy, but could we please keep politics off the group? -- -Bill Hamilton -- http://mail.python.org/mailman/listinfo/python-list

Re: pytz has so many timezones!

2007-10-09 Thread Bill Hamilton
... > > Isn't there some law somewhere that says the circumference > of a sphere is 360deg? Doesn't that same law mean that no two > points on a sphere can be seperated by more than 180deg > longitude? Doesn't that make GMT+13 non-sensible? A timezone is an arbitrary geographical designation. It has nothing to do with latitude or longitude. While some time zones may be defined as a geographical region between two longitudes, others may be defined by geographical borders or convienent terrain features. Take a look at the international date line. It doesn't follow a longitudinal line, but instead jogs east around Asia and then west around the Aleutian Islands. -- -Bill Hamilton -- http://mail.python.org/mailman/listinfo/python-list

Re: List loops

2007-10-09 Thread Bill Hamilton
gt; > for jndex, j in enumerate(alist[index:]): > > ... so you need index+1 ... > > > print index, jndex, i, j > > > > > > 0 0 0 0 > > ... to avoid the above unwanted output. > Hey, if I got it right, he'd have no work to do himself. :) -- -Bill Hamilton -- http://mail.python.org/mailman/listinfo/python-list

Python Labs Move

2007-10-17 Thread Bill Garey
What is PYTHON 2.2.1 and what does it do? I see the Program on my list of programs but don't know how to use it , or what it is! [EMAIL PROTECTED]-- http://mail.python.org/mailman/listinfo/python-list

Re: Alarming message when running Python code

2007-10-27 Thread Bill Marcum
["Followup-To:" header set to comp.os.linux.misc.] On 2007-10-27, peter <[EMAIL PROTECTED]> wrote: > I'm not sure if this query should be directed to comp.lang.python or > comp.os.linux.misc so I intend to post it to both with apologies if > it's inappropriate on either. > > I have a small python u

Regex Question

2007-01-10 Thread Bill Mill
*?)\.)") ('beta',) Failed In [132]: test_re(r"(?:item2: (.*?)\.)?") (None,) (None,) Shouldn't the '?' greedily grab the group match? Thanks Bill Mill bill.mill at gmail.com -- http://mail.python.org/mailman/listinfo/python-list

Re: download win32file

2007-01-15 Thread Bill Tydeman
?? Do I have to download pywin32 to get win32ui, or win32file, or win32api Yes -- There is no reason for any individual to have a computer in his home. Ken Olsen, President, Digital Equipment, 1977 US computer engineer & industrialist (1926 - ) -- http://mail.python.org/mailm

Re: Search Queue

2007-01-16 Thread Bill Scherer
abcd wrote: >I have a class such as... > >id = 0 >class Foo: >def __init__(self, data): >self.id = id >id += 1 >self.data = data > >And I am storing them in a Queue.Queue... > >import Queue >q = Queue.Queue() >q.put(Foo('blah')) >q.put(Foo('hello world')) >q.put(Foo('te

Re: Regex Question

2007-01-16 Thread Bill Mill
James Stroud wrote: > Bill Mill wrote: > > Hello all, > > > > I've got a test script: > > > > start python code = > > > > tests2 = ["item1: alpha; item2: beta. item3 - gamma--", > > "item1: alpha; item3 - gamma--&

Re: Regex Question

2007-01-18 Thread Bill Mill
Gabriel Genellina wrote: > At Tuesday 16/1/2007 16:36, Bill Mill wrote: > > > > py> import re > > > py> rgx = re.compile('1?') > > > py> rgx.search('a1').groups() > > > (None,) > > > py> rgx = re.compile('(

Re: electronics and python

2007-02-06 Thread Bill Scherer
rs, etc). It keeps track of the units for you and does the right thing when you divide and multiply. You might find this recipie useful in combination with Unum: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/499350 I'm not aware of anything else in the Python world that fits y

Connecting to SQL database

2007-12-14 Thread bill ramsay
Conn = Dispatch('ADODB.Connection') Conn.ConnectionString = "Provider=SQLNCLI;Server=10.1.1.2; Database=csrctest;Uid=bill;Pwd=bill" print Conn.ConnectionString try: print 'trying to open' Conn.Open() etc. All I ever get to is the try

Re: Connecting to SQL database

2007-12-20 Thread bill ramsay
er I have to move to SQL2005 and SQLEXPRESS databases now. > >> Conn.ConnectionString = "Provider=SQLNCLI;Server=10.1.1.2; >> Database=csrctest;Uid=bill;Pwd=bill" > >Look for the right spelling at http://www.connectionstrings.com/ looks like my spelling is ok, any ot

Re:

2006-04-28 Thread Bill Atkins
John Bokma <[EMAIL PROTECTED]> writes: > > Isn't it crazy that one person is allowed to create such a huge mess > everytime he posts? Isn't it crazy that one person willfully creates such a mess every time Xah posts? Shush! -- This is a song that took me ten years to live and two years to writ

Re: A critic of Guido's blog on Python's lambda

2006-05-06 Thread Bill Atkins
"Kay Schluehr" <[EMAIL PROTECTED]> writes: > And then the 12th vanished Lisper returns and Lispers are not > suppressed anymore and won't be loosers forever. The world will be The mark of a true loser is the inability to spell 'loser.' Zing! > them as zealots, equipped with the character of sui

Re: A critic of Guido's blog on Python's lambda

2006-05-06 Thread Bill Atkins
[EMAIL PROTECTED] (Alex Martelli) writes: > Ken Tilton <[EMAIL PROTECTED]> wrote: >... >> > Absolutely. That's why firms who are interested in building *seriously* >> > large scale systems, like my employer (and supplier of your free mail >... >> > Obviously will not scale. Never. >> >

Re: A critic of Guido's blog on Python's lambda

2006-05-06 Thread Bill Atkins
"Martin P. Hellwig" <[EMAIL PROTECTED]> writes: > Bill Atkins wrote: > >> >> How do you define scalability? >> > http://www.google.com/search?hl=en&q=define%3Ascalability&btnG=Google+Search > > ;-) > > -- > mph OK, my real quest

Re: A critic of Guido's blog on Python's lambda

2006-05-06 Thread Bill Atkins
[EMAIL PROTECTED] (Alex Martelli) writes: > Ken Tilton <[EMAIL PROTECTED]> wrote: >... >> Looks like dictionaries are no match for the ambiguity of natural >> language. :) Let me try again: it is Python itself that cannot scale, as >> in gain "new power and capability", and at least in the ca

Re: A critic of Guido's blog on Python's lambda

2006-05-06 Thread Bill Atkins
[EMAIL PROTECTED] (Alex Martelli) writes: > Bill Atkins <[EMAIL PROTECTED]> wrote: >... >> > ``allow ( as an ordinary single-character identifier'' as for the >> > unneded feature ``allow unnamed functions with all the flexibility of >> > name

Re: A critic of Guido's blog on Python's lambda

2006-05-06 Thread Bill Atkins
[EMAIL PROTECTED] (Alex Martelli) writes: > Ken Tilton <[EMAIL PROTECTED]> wrote: >... >> True but circular, because my very point is that () was a great design >> choice in that it made macros possible and they made CL almost >> infinitely extensible, while indentation-sensitivity was a mist

Re: A critic of Guido's blog on Python's lambda

2006-05-06 Thread Bill Atkins
[EMAIL PROTECTED] (Alex Martelli) writes: > Bill Atkins <[EMAIL PROTECTED]> wrote: >... >> > >> > Read again what I wrote: I very specifically said "ordinary >> > *single-character* identifier" (as opposed to "one of many characters &

Re: A critic of Guido's blog on Python's lambda

2006-05-06 Thread Bill Atkins
[EMAIL PROTECTED] (Alex Martelli) writes: > Yes, we are, because the debate about why it's better for Python (as a > language used in real-world production systems, *SCALABLE* to extremely > large-scale ones) to *NOT* be insanely extensible and mutable is a > separate one -- Python's uniformity of

Re: A critic of Guido's blog on Python's lambda

2006-05-06 Thread Bill Atkins
I V <[EMAIL PROTECTED]> writes: > On Sat, 06 May 2006 21:19:58 -0400, Bill Atkins wrote: >> There are also cases where a function is so trivial that the simplest >> way to describe it is with its source code, where giving it a name and >> putting it at the begi

Re: A critic of Guido's blog on Python's lambda

2006-05-06 Thread Bill Atkins
[EMAIL PROTECTED] (Alex Martelli) writes: > Bill Atkins <[EMAIL PROTECTED]> wrote: >... >> Believe it or not, _you_ got it wrong. > > Acknowledged: Common Lisp is even MORE insane (note that the quote > "INSANELY extensible" is from Tilton) than I believ

Re: wxPython problem

2006-05-06 Thread Bill Maxwell
he Python path. So, this directory in your system: site-packages/wx-2.6-gtk2-unicode is searched automatically. From there, you need to import wx or wxPython, then access using "wx." or "wxPython." Regards, Bill -- http://mail.python.org/mailman/listinfo/python-list

Re: A critic of Guido's blog on Python's lambda

2006-05-07 Thread Bill Atkins
"Serge Orlov" <[EMAIL PROTECTED]> writes: > Ken Tilton wrote: >> It is vastly more disappointing that an alleged tech genius would sniff >> at the chance to take undeserved credit for PyCells, something probably >> better than a similar project on which Adobe (your superiors at >> software, right?

Re: A critic of Guido's blog on Python's lambda

2006-05-07 Thread Bill Atkins
Bill Atkins <[EMAIL PROTECTED]> writes: > Incidentally, is this supposed to be an example of Python's supposed > "aesthetic pleasantness"? I find it a little hideous, even giving you > the benefit of the doubt and pretending there are newlines between > each

Re: A critic of Guido's blog on Python's lambda

2006-05-07 Thread Bill Atkins
"Serge Orlov" <[EMAIL PROTECTED]> writes: > Bill Atkins wrote: >> "Serge Orlov" <[EMAIL PROTECTED]> writes: >> >> > Ken Tilton wrote: >> >> It is vastly more disappointing that an alleged tech genius would sniff >>

Re: A critic of Guido's blog on Python's lambda

2006-05-07 Thread Bill Atkins
[EMAIL PROTECTED] writes: > Bill Atkins wrote: >> Buh? The project doesn't have to be late for Brooks's law to hold; >> adding programmers, so goes Brooks reasoning, will always increase the >> time required to complete the project because of various communicatio

Re: A critic of Guido's blog on Python's lambda

2006-05-07 Thread Bill Atkins
"Chris Uppal" <[EMAIL PROTECTED]> writes: > Bill Atkins wrote: > >> But why should I have to worry about any of this? Why can't I do: >> >> (with-indentation (pdf (+ (indentation pdf) 4)) >> (out-header) >> (out-facts)) >&g

Re: A critic of Guido's blog on Python's lambda

2006-05-07 Thread Bill Atkins
[EMAIL PROTECTED] writes: > Bill Atkins wrote: >> [EMAIL PROTECTED] writes: >> >>> Bill Atkins wrote: >>>> Buh? The project doesn't have to be late for Brooks's law to hold; >>>> adding programmers, so goes Brooks reasoning, will alwa

Re: A critic of Guido's blog on Python's lambda

2006-05-07 Thread Bill Atkins
Bill Atkins <[EMAIL PROTECTED]> writes: > There are still more! _On Lisp_ has a lot of interesting ones, like > an embedded Prolog interpreter and compiler: > > (<-- (father billsr billjr)) > (?- (father billsr ?)) > > ? = billjr Actually, these migh

Re: A critic of Guido's blog on Python's lambda

2006-05-07 Thread Bill Atkins
Alexander Schmolck <[EMAIL PROTECTED]> writes: > [trimmed groups] > > Ken Tilton <[EMAIL PROTECTED]> writes: > >> yes, but do not feel bad, everyone gets confused by the /analogy/ to >> spreadsheets into thinking Cells /is/ a spreadsheet. In fact, for a brief >> period I swore off the analogy beca

Re: A critic of Guido's blog on Python's lambda

2006-05-07 Thread Bill Atkins
Bill Atkins <[EMAIL PROTECTED]> writes: > Alexander Schmolck <[EMAIL PROTECTED]> writes: > >> [trimmed groups] >> >> Ken Tilton <[EMAIL PROTECTED]> writes: >> >>> yes, but do not feel bad, everyone gets confused by the /analogy/ to >>

Re: A critic of Guido's blog on Python's lambda

2006-05-07 Thread Bill Atkins
[EMAIL PROTECTED] writes: > Alex Martelli wrote: >> Steve R. Hastings <[EMAIL PROTECTED]> wrote: >>... >> > > But the key in the whole thread is simply that indentation will not >> > > scale. Nor will Python. >> > >> > This is a curious statement, given that Python is famous for scaling well.

Re: Tabs versus Spaces in Source Code

2006-05-17 Thread Bill Pursell
Xah Lee wrote: > Tabs versus Spaces in Source Code > > Xah Lee, 2006-05-13 > > In coding a computer program, there's often the choices of tabs or > spaces for code indentation. > (2) Due to the first reason, they have created and > propagated a massive none-understanding and mis-use, to the degre

Re: Tabs versus Spaces in Source Code

2006-05-17 Thread Bill Pursell
Peter Decker wrote: > On 17 May 2006 06:51:19 -0700, Bill Pursell <[EMAIL PROTECTED]> wrote: > > > In my experience, the people who complain about the use > > of tabs for indentation are the people who don't know > > how to use their editor, and those peop

Re: number of different lines in a file

2006-05-18 Thread Bill Pursell
r.e.s. wrote: > I have a million-line text file with 100 characters per line, > and simply need to determine how many of the lines are distinct. > > On my PC, this little program just goes to never-never land: > > def number_distinct(fn): > f = file(fn) > x = f.readline().strip() > L =

Re: Guide to using python for bash-style scripting

2006-05-23 Thread Bill Pursell
4zumanga wrote: > Yes, there is a stupid mistake in that script, last line should be: > > diff new_out1 new_out2 > > However, this is hopefully not important, what is important is the > general kind of (very simple) things I'm trying to do. I have been hoping for a good solution to this. An easy

Re: John Bokma harassment

2006-05-24 Thread Bill Atkins
Ken Tilton <[EMAIL PROTECTED]> writes: > C'mon, John Bokma (and everyone else dumb enough to crosspost their > shushing to every group on the crosspost list -- why do they do that? > So Xah will hear them six times? No, they want everyone to see how > witty they are when they tell Xah off. Now /th

Re: John Bokma harassment

2006-05-24 Thread Bill Atkins
John Bokma <[EMAIL PROTECTED]> writes: > Ken Tilton <[EMAIL PROTECTED]> wrote: > >> Ben Bullock wrote: >>> "Xah Lee" <[EMAIL PROTECTED]> wrote in message >>> news:[EMAIL PROTECTED] >>> If you believe this lobbying to my webhosting provider is unjust, please write to my web hosting prov

Re: John Bokma harassment

2006-05-24 Thread Bill Atkins
John Bokma <[EMAIL PROTECTED]> writes: > If Xah posts to just one group, on topic, the problem is gone. But Xah > is spamvertizing his website, and hence posts to 5 groups (since I guess > that's a limit GG sets, not Xah), so he doesn't care that a post on > whitespace in Python ends up in a group

Re: [Tutor] Spaces and tabs messing up code

2008-01-08 Thread Bill Campbell
to 4 spaces? Do that, and in his ~/.vimrc file, add a line ``set expandtab'' (Friends don't let friends use emacs :-). Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX:(206) 232-91

Re: [Tutor] Spaces and tabs messing up code

2008-01-08 Thread Bill Burns
reindent.py. This script lives in your Python distribution. On my Windows box it lives here: C:\Python24\Tools\Scripts\reindent.py HTH, Bill -- http://mail.python.org/mailman/listinfo/python-list

Re: Klik2 Project, Python apps on linux

2008-01-27 Thread Bill Mill
Jason, Can you give a little more detail on the problem? What's the directory structure of a Klik package that's failing look like? What program is trying to import what module from where that's failing? -Bill Mill On Jan 27, 2008 1:49 AM, Jason Taylor <[EMAIL PROTECTED]>

Python equivt of __FILE__ and __LINE__

2008-02-11 Thread Bill Davy
defintion or no references, I can report the file location(s) to be considered. In the example, I would want to report that LoopLable is not referenced, and LoopLabel is not defined. TIA, Bill PS www.SynectixLtd.com is not relevant -- http://mail.python.org/mailman/listinfo/python-list

Re: Python equivt of __FILE__ and __LINE__

2008-02-12 Thread Bill Davy
"thebjorn" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Feb 11, 4:55 pm, Gary Herron <[EMAIL PROTECTED]> wrote: >> Bill Davy wrote: >> > Writing a quick and dirty assembler and want to give the user the >> > location >>

Cannot understand error message

2008-02-13 Thread Bill Davy
the error message pointed me to the start of said single quoted string. The colouring in IDLE does not indicate a bad string. Puzzled. Bill # # The traceback module is used to provide a stack trace to # show the user where the error occured. See Error(). # import traceback # # The mat

Re: Cannot understand error message

2008-02-14 Thread Bill Davy
DLE did not offer a full traceback just a pop-up. If it had, I would either have soved the problem or posted it. I'm not afraid of long (boring) posts. Many thanks for the help. Must get a bigger screen and new eyes. Bill -- http://mail.python.org/mailman/listinfo/python-list

Re: Cannot understand error message

2008-02-14 Thread Bill Davy
"Bruno Desthuilliers" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Bill Davy a écrit : > (snip) >> Doh. > > (snip) > >> Interesting that some colourers work better than others. It must be >> quite a challenge. >> >&g

Re: SAGE for FPGA development

2008-02-14 Thread Bill Hart
SAGE. I mean, can I reasonably afford an FPGA which would be big enough for this and which I can put into my own home computer? Is this the way of the future for mathematicians? Should we all be buying these things? What is performance like on these things? I *might* be interested, but I need to know

Re: Break lines?

2008-02-26 Thread Bill Scherer
saneman wrote: > I have made this string: > > > TITLE = 'Efficiency of set operations: sort model, >(cphstl::set::insert(p,e)^n cphstl::set::insert(e)), integer' > > But I am not allowed to break the line like that: > > IndentationError: unexpected indent > > How do I break

Re: Pycon disappointment

2008-03-16 Thread Bill Mill
, I'm just posting it because I found it thought-provoking.) -Bill Mill http://billmill.org -- http://mail.python.org/mailman/listinfo/python-list

Re: Speaking Text

2008-03-19 Thread Bill Scherer
David C. Ullrich wrote: > Mac OS X has text-to-speech built into the interface. > So there must be a way to access that from the command > line as well - in fact the first thing I tried worked: > > os.system('say hello') > > says 'hello'. > > Is there something similar in Windows and/or Linux? > (I

Finding Will Ware

2008-03-25 Thread Bill Horst
d with you about Sue and the news about her on your website.) Thank you -- Bill Horst ([EMAIL PROTECTED]) -- http://mail.python.org/mailman/listinfo/python-list

Re: Drawing and Displaying an Image with PIL

2009-01-28 Thread Bill McClain
On 2009-01-28, W. eWatson wrote: > Yes, that's true, but the big question is how to "see" the final image? > Either one employees another module or writes the file into a folder, then > displays it with a paint program? Does im.show() not work?

Re: Date Comparison

2009-02-03 Thread Bill McClain
nomy package: http://astrolabe.sourceforge.net/ -Bill -- Sattre PressIn the Quarter http://sattre-press.com/ by Robert W. Chambers i...@sattre-press.com http://sattre-press.com/itq.html -- http://mail.python.org/mailman/listinfo/python-list

StringIO in 2.6 and beyond

2008-12-08 Thread Bill McClain
87, in write s.__class__.__name__) TypeError: can't write str to text stream ...which has me stumped. Why can't it? -Bill -- Sattre Press History of Astronomy http://sattre-press.com/ During the 19th Century [EMAIL PROTECTED]

Re: StringIO in 2.6 and beyond

2008-12-08 Thread Bill McClain
ple? I see that io.StringIO() has an encoding parameter, but I'm unclear what to specify. -Bill -- Sattre Press History of Astronomy http://sattre-press.com/ During the 19th Century [EMAIL PROTECTED] by Agnes M. Clerke

Re: StringIO in 2.6 and beyond

2008-12-09 Thread Bill McClain
On 2008-12-08, Bill McClain <[EMAIL PROTECTED]> wrote: > On 2008-12-08, Christian Heimes <[EMAIL PROTECTED]> wrote: > > In this context 'str' means Python 3.0's str type, which is unicode in > > 2.x. Please report the misleading error message. > So t

Re: StringIO in 2.6 and beyond

2008-12-09 Thread Bill McClain
st line.\n')) > or >output.write(str('First line.\n')) > and see if one of those works. This works: output.write(unicode('First line.\n')) ..but this generates the error: print(unicode('Second line.'), file=output) -Bill -- Sattre

Re: StringIO in 2.6 and beyond

2008-12-09 Thread Bill McClain
e the intended behavior of print(), can it? Insering non-unicode spaces and line terminators? I thought all text was unicode now. Or is that only in 3.0? -Bill -- Sattre Press History of Astronomy http://sattre-press.com/ Du

Re: StringIO in 2.6 and beyond

2008-12-09 Thread Bill McClain
ying to puzzle this out from the docs, which I couldn't do. -Bill -- Sattre Press History of Astronomy http://sattre-press.com/ During the 19th Century [EMAIL PROTECTED] by Agnes M. Clerke http://sattr

Re: StringIO in 2.6 and beyond

2008-12-10 Thread Bill McClain
On 2008-12-10, ajaksu <[EMAIL PROTECTED]> wrote: > On Dec 9, 5:24 pm, Bill McClain <[EMAIL PROTECTED]> > wrote: > > On 2008-12-09, MRAB <[EMAIL PROTECTED]> wrote: > > > > > In Python 2.x unmarked string literals are bytestrings. In Python 3.x > &

Re: StringIO in 2.6 and beyond

2008-12-10 Thread Bill McClain
; import io > print = partial(print, sep=" ", end="\n") > out = io.StringIO() > print("hello", file=out) The example works, but unicode_literals causes problems elsewhere, in optparse for example. I didn't look into it too closely. I'll probably

Re: Code not work - DESPERATE HELP :(

2008-10-30 Thread Bill McClain
red the following commands osm2gml.py < map_01_data.osm > > map_01_data.gml on my dos prompt i get a number of errors, some of which > are bellow: Does this give any better results: python osm2gml.py < map_01_data.osm > map_01_data.gml -Bill -- Sattre Press

Re: Code not work - DESPERATE HELP :(

2008-10-30 Thread Bill McClain
te documenting "this way on Windows, another way everywhere else..." -Bill -- Sattre PressIn the Quarter http://sattre-press.com/ by Robert W. Chambers [EMAIL PROTECTED] http://sattre-press.com/itq.html -- http://mail.python.org/mailman/listinfo/python-list

Windows DOS box redirection (was: Code not work - DESPERATE HELP)

2008-10-31 Thread Bill McClain
s, but what little I knew about Windows is fading into the past. This example: import sys print sys.stdin.read() ...works in the Windows XP dos box if I do: python demo.py < file.txt ...but I get the error 9 for: demo.py < file.txt Is there any way to make the second ver

Re: Windows DOS box redirection

2008-10-31 Thread Bill McClain
On 2008-10-31, Tim Golden <[EMAIL PROTECTED]> wrote: > You've got a few options. Ok, thanks! It is a small hobbyist community. I'll just document it and tell them "life is hard for Windows users." -Bill -- Sattre PressThe King in Y

Re: Windows DOS box redirection

2008-10-31 Thread Bill McClain
and run bash, but that seems like overkill for what should be a simple task. -Bill -- Sattre PressThe King in Yellow http://sattre-press.com/ by Robert W. Chambers [EMAIL PROTECTED] http://sattre-press.com/kiy.html -- http://mail.python.org

Re: Windows DOS box redirection

2008-10-31 Thread Bill McClain
ram. Ok, trying that...works, but the window doesn't stay open, so we can't see the results. Any way to do that? Sorry for the Windows-101 tutorial. DOS box vs Console: I'm sure they use the same icon... -Bill -- Sattre PressThe King in Yellow ht

Re: Windows DOS box redirection

2008-10-31 Thread Bill McClain
On 2008-10-31, Bill McClain <[EMAIL PROTECTED]> wrote: > Ok, trying that...works, but the window doesn't stay open, so we can't see the > results. Any way to do that? Sorry for the Windows-101 tutorial. I received an email solution: prepend the shortcut command with &qu

UpLib 1.7.6 available

2009-05-14 Thread Bill Janssen
s a fairly extensive Java client-side library, including a document reader. Among other things, it includes my Python IMAP server, which allows an UpLib document repository to be used as an IMAP mail server. http://uplib.parc.com/ Bill -- http://mail.python.org/mailman/listinfo/python-list

win32com.client (Howto edit Contacts in Outlook)

2008-07-04 Thread Bill Davy
can I find the API? I downloaded OutlookSpy but it is not clear to me that it can display the structure of the data, nor does it list methods for objects (a Contact, a Folder of Contacts) that I had hoped. TIA, Bill class Folder (object): def __init__ (self, folder): self._folder

Re: win32com.client (Howto edit Contacts in Outlook)

2008-07-04 Thread Bill Davy
"Tim Golden" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Bill Davy wrote: >> I am trying to edit Contacts in Outlook. This is so I can transfer >> numbers from my address book which is an Excel spreadsheet to my mobile >> phone. I came

Re: win32com.client (Howto edit Contacts in Outlook)

2008-07-04 Thread Bill Davy
"Bill Davy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Tim Golden" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> Bill Davy wrote: >>> I am trying to edit Contacts in Outlook. This is so I can transfe

Re: win32com.client (Howto edit Contacts in Outlook)

2008-07-10 Thread Bill Davy
"Tim Roberts" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Bill Davy" <[EMAIL PROTECTED]> wrote: >> >>I am trying to edit Contacts in Outlook. This is so I can transfer >>numbers >>from my address book which is an

Re: win32com.client (Howto edit Contacts in Outlook)

2008-07-11 Thread Bill Davy
"Tim Golden" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Bill Davy wrote: >> I'm not sure OL2003 can read news. I think perhaps some later OL can >> (added tot he View menu, perhaps?). So I use OL Express to read news. >>

Re: win32com.client (Howto edit Contacts in Outlook)

2008-07-11 Thread Bill Davy
"Tim Golden" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Bill Davy wrote: >> and since then have been busy with work, and my other job, and the >> garden. > > Aha! So you're English, are you? Looks like you're in the West Country.

Re: win32com.client (Howto edit Contacts in Outlook)

2008-07-12 Thread Bill Davy
"Tim Golden" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Bill Davy wrote: >> Traceback (most recent call last): >> File "H:/Personal/OutlookIF1/t2.py", line 18, in >> outlook = win32com.client.gencache.EnsureDispatch >&g

..\..\Python-2.5.2\Include\pyport.h(117) : fatal error C1189: #error : "Python needs a typedef for Py_ssize_t in pyport.h."

2008-07-12 Thread Bill Davy
When I try and compile using VS2003 for Release. Compiles fine for Debug. In a hurry (should be gardening). Any solution? TIA Bill -- http://mail.python.org/mailman/listinfo/python-list

Re: Video information

2008-08-09 Thread Bill McClain
On 2008-08-09, dusans <[EMAIL PROTECTED]> wrote: > Is there a py module, which would get me information of a movie file: > - resolution > - fps I don't know of one. I use the transcode utilities for this and parse their output. -Bill -- Sattre Press

SWIG/C++

2008-04-10 Thread Bill Davy
yer using %extend, but I feel sure this should be automagic. Thanks in advance Bill PS This is a very small part of a much larger project so I cannot supply complete source code. -- http://mail.python.org/mailman/listinfo/python-list

Re: How to learn python if I'm very familar with C++

2006-03-26 Thread bill pursell
[EMAIL PROTECTED] wrote: > Hi, > > I've been using C++ for a few years and have developed a few projects > in C++. And I'm familar with OO and template metaprogramming. > > There are some book like "Learning Perl". It is a little bit tedious > for me, because more material in that book seems obviou

Re: Assignment in a while?

2006-04-02 Thread bill pursell
none wrote: > import pgdb; > > dbh = pgdb.connect(database = 'test') > sth = dbh.cursor() > sth.execute("SELECT * FROM capitals") > #while 1: > #results = sth.fetchone() > #if results == None: > #break > #print results > while results = sth.fetchone(): > print results

Re: Programming Tutorial for absolute beginners

2006-04-07 Thread bill pursell
Clodoaldo Pinto wrote: > I'm starting a programming tutorial for absolute beginners using Python > and I would like your opinions. > > http://programming-crash-course.com Very nicely laid out. Overall, a really nice presentation. 2 minor points: 1) in the section on the interactive interpreter

using Python distutils bdist_msi to create installer for large complicated package

2010-03-21 Thread Bill Janssen
purpose packager module. I'll subclass it and play around a bit. Bill -- http://mail.python.org/mailman/listinfo/python-list

Re: using Python distutils bdist_msi to create installer for large complicated package

2010-03-21 Thread Bill Janssen
just a few mods to bdist_msi could go a long way. For instance, you've already pulled out "get_installer_filename". I'd add a similar method, "get_product_name", which would typically just return the user-specific name, but in the default case could prefix the product name with Python 2.6. Bill -- http://mail.python.org/mailman/listinfo/python-list

I have a question about JavaFit

2010-11-18 Thread Bill Fishbaugher
Hello, I was searching online to find more info about JavaFit and I came across your information. Can you tell me, are you still involved with JavaFit? If you are, how are things going for you? Please let me know. Sincerely, Bill -- http://mail.python.org/mailman/listinfo/python-list

Re: Python's equivalent to Main calling program and subprograms

2010-12-01 Thread Bill Allen
Thanks for the explanation of "main". Some tutorials mention it, some don't. I have written some not trial Python programs and have never had a real need to use that convention, but at least I understand it now. --Bill On Wed, Dec 1, 2010 at 1:13 PM, Tim Harig wrote: &g

Re: Python on wikipedia

2010-12-12 Thread Bill Allen
Yeah, I noticed that a while back too. Kinda cool. --Bill On Sun, Dec 12, 2010 at 3:21 PM, DevPlayer wrote: > Snapshot in time, hey look at that; someone used Python as THE example > of what a programming language is on Wikipedia. > http://en.wikipedia.org/wiki/Programming

Can I have both Python 2.7 and Python 3.1 at the same time on the Mac?

2011-01-06 Thread Bill Felton
sled and should only try to have one or the other. OR I'm missing some (probably simple) step that's mucking me up. Help? Thanks, Bill -- http://mail.python.org/mailman/listinfo/python-list

Re: Can I have both Python 2.7 and Python 3.1 at the same time on the Mac?

2011-01-06 Thread Bill Felton
On Jan 6, 2011, at 3:46 PM, Ned Deily wrote: > In article <775a9d45-25b5-4a16-9fe5-6217fd67f...@cagttraining.com>, > Bill Felton wrote: >> I'm new to python, trying to learn it from a variety of resources, including >> references posted recently to th

Re: Tkinter: The good, the bad, and the ugly!

2011-01-20 Thread Bill Felton
x27;s concern, let me assure him Tkinter is a non-issue. MIchael is more in touch with my issues than rr, and appears to be suffering fewer disconnects from the reality of a programming language that ships with a large standard library and offers a plethora of extensions and alternatives, widely available and easy to find. cheers, Bill -- http://mail.python.org/mailman/listinfo/python-list

Re: Tkinter: The good, the bad, and the ugly!

2011-01-20 Thread Bill Felton
On Jan 20, 2011, at 10:11 AM, rantingrick wrote: > On Jan 20, 6:30 am, Bill Felton > wrote: > >> With some hesitation, I feel a need to jump in here. I'm a complete >> newbie to Python. I'm still learning the language. And you know >> what? I've ign

Re: Tkinter: The good, the bad, and the ugly!

2011-01-20 Thread Bill Felton
On Jan 20, 2011, at 12:13 PM, MRAB wrote: > On 20/01/2011 15:11, rantingrick wrote: >> On Jan 20, 6:30 am, Bill Felton >> wrote: >> > [snip] >>> As one of 'the people' who is presumably the focus of rantingrick's >>> concern, let me

Re: Tkinter: The good, the bad, and the ugly!

2011-01-20 Thread Bill Felton
On Jan 20, 2011, at 8:26 AM, Octavian Rasnita wrote: > From: "Bill Felton" >> I'm a complete newbie to Python. > > > To Python, or to programming in general? (Because it is important) Not to rantingrick's point as I understand it. But since you ask, new t

Re: Tkinter: The good, the bad, and the ugly!

2011-01-20 Thread Bill Felton
r? This IS THE VERY DEFINITION OF IGNORANCE MRAB. Ignorance is > defined as the lack of knowledge. Bill has presented just that. > > No, he's refuting your point that newbies are somehow paralyzed and cannot > make a decision about which toolkit they would like to use. >

<    1   2   3   4   5   6   7   >