tal 65% python2.7
Python 2.7.1 (r271:86832, May 21 2011, 22:52:14)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
py> class C(object):
... def __init__(self):
... self.data = []
... def doit(self, count=0):
...
Chris Rebert wrote:
WTF?
Assuming your question is "Why is 1024 there twice?", the answer is
The question is "Why is 1024 there at all?" It should be 10.
James
--
http://mail.python.org/mailman/listinfo/python-list
Peter Otten wrote:
James Stroud wrote:
WTF?
Put the code into a file, run it -- and be enlightened ;)
tal 72% python2.7 eraseme.py
1
2
4
8tal 73% cat eraseme.py
#! /usr/bin/env python
class C:
def __init__(self):
self.data = []
def doit(self, count=0):
for c in self.data
James Stroud wrote:
Chris Rebert wrote:
WTF?
Assuming your question is "Why is 1024 there twice?", the answer is
The question is "Why is 1024 there at all?" It should be 10.
James
I mean 11, not 10--but you get the point.
James
--
http://mail.python.org/mailman/listinfo/python-list
Peter Otten wrote:
James Stroud wrote:
WTF?
Put the code into a file, run it -- and be enlightened ;)
Compare the follower to the last.
tal 77% cat eraseme.py
#! /usr/bin/env python
class C:
def __init__(self):
self.data = []
def doit(self, count=[0]):
for c in self.data
Chris Rebert wrote:
On Sat, May 21, 2011 at 11:32 PM, James Stroud wrote:
Chris Rebert wrote:
WTF?
Assuming your question is "Why is 1024 there twice?", the answer is
The question is "Why is 1024 there at all?" It should be 10.
Ah. This is why it's better to be
8C4871E4013
> for <[EMAIL PROTECTED]>; Fri, 23 Sep 2005 01:50:10 +0200 (CEST)
> _
> ...
>
>
> Regards,
> Bengt Richter
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list
ay 22 September 2005 18:36, Wayne Sutton wrote:
> OK, I'm a newbie...
> I'm trying to learn Python & have had fun with it so far. But I'm having
> trouble following the many code examples with the object "self." Can
> someone explain this usage in plain engl
: MsgBox() and InputBox()
> EasyGui seemed perfect, but a "Hello World" application takes nearly a
> minute to execute after the program has been compiled by py2exe.
>
> There appear to be dozens of windowing toolkits avilable for Python,
> could someone point me in the dire
t.c = self.b * other.b + self.c * other.c
> return result
>
> def Square( self ):
> self *= self
>
>
> A = FibonacciMatrix()
> A.Square()
>
> print A.a #prints '1'
>
> A = FibonacciMatrix()
> B = A * A
>
> print B.a #prints '
t; result.a = self.a * other.a + self.b * other.b
> result.b = self.a * other.b + self.b * other.c
> result.c = self.b * other.b + self.c * other.c
> return result
>
> def Square( self ):
> self *= self
>
>
> A = FibonacciMatrix()
> A.Squa
Shoot, Square() should be:
def Square(self):
self.Multiply(self)
Forgot to proofread before hitting send.
James
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman
tending
to help a neophyte:
py> 1*1
1
See what I mean?
James
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list
just stating your proposal didn't really solve anything. A good
> editor/template and .pythonrc already save you the typing of 'import
> sys' in scripts for the former and shell command for the latter.
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box
ReStructureText is pretty cool. Try it out.
http://docutils.sourceforge.net/rst.html
On Monday 26 September 2005 20:24, Kenneth McDonald wrote:
> I have a module I'd like to document using the same style...
>
> Thanks,
> Ken
--
James Stroud
UCLA-DOE Institute for Genomics a
window-size to make sure the canvas fits?
>
> regards tores
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list
* Xah Lee post as spam, he still
> manages to get most of his posts classified as 0% or 1% spam.
>
> It's very annoying - I've maxxed out the rules I can use in Outlook (my
> work account) so I can't afford to add a specific one to trash his
> emails...
>
> T
spam bayes can't
figure this out, then either it is not properly implemented or Bayes himself
was out to lunch.
James
On Thursday 29 September 2005 16:39, Tony Meyer wrote:
>
> To fight this sort of message, I think spambayes would have to be
> able to understand the context more
men would just not be
greedy. If there could just be a rapper v. country & western
gangster-style-everybody-dies-shootout, then music might return to MTV.
I vote for the filter I described instead, seems more grounded in reality.
James
--
James Stroud
UCLA-DOE Institute for Genomics and
py> b[0][0][0]
'\xb6'
py> b[0][0][0][0]
'\xb6'
py> b[0][0][0][0][0]
'\xb6'
James
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list
it, and write it
> back out. As far as I know there's no way to edit a file "in place" which
> I'm assuming is what you're asking?
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list
not help...unless, of course, he marks it up with "Rich Backspace
Formatting" (RBF). Ideally, he would backspace once for every character.
James
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list
: 1, 'third': 2, 'first': 0}
>
> regards
> Steve
> --
> Steve Holden +44 150 684 7255 +1 800 494 3119
> Holden Web LLC www.holdenweb.com
> PyCon TX 2006 www.python.org/pycon/
--
James Stroud
UCLA
personal opinion that such a modification to the set type would
make it vastly more flexible, if it does not already have this ability.
Any thoughts on how I might accomplish either technique or any thoughts on how
to make my code more straightforward would be greatly appreciated.
James
--
Jam
e types of operating
systems enough and is basing conclusions on limited information...Or is a
troll. The OP probably works for microsoft.
James
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.o
'll be a
> little while before
> I start using it :-) ). End of matter, except for those who wish to
> discuss further
> Pythonish/shell related issues. Why this demands an OS comparison and an
> insult is beyond my understanding.
>
> Ken
>
> On 19-Oct-05, at 2:22 PM,
frame = wxFrame(NULL, -1, "winApp", size = (800,640))
> frame.Show(true)
> self.SetTopWindow(frame)
> return true
>
> app = MyApp(0)
> app.MainLoop()
>
> Everything is explained nicely except the zero parameter in MyApp(0).
> Anybody k
:16, MBW wrote:
> class optWin:
>
> def __init__(self):
> return None
>
> def __call__(self):
> self.root = tk()
> self.root.title("My title")
> self.root.mainloop()
> return None
--
James Stroud
UCLA-DOE Instit
def __init__(self):
> return None
>
> def __call__(self):
> self.root = tk()
> self.root.title("My title")
> self.root.mainloop()
> return None
>
> 1)Why doesn't this work when I go to call optWin
> 2)What i
thought out
dependencies, but in my defense, have you seen just about anything else in
this world (California Freeways, Tax Forms, A Flow-Chart of Human Metabolic
Pathways, umm...whatever)?
James
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
L
t using items/keys etc. ?
>
> An example:
>
> a=dict(a=dict(), c=dict(), h=dict())
> prefer=['e','h', 'a']
>
> for x in a.values: print x
>
> would give me
> {h:dict()}, {a:dict()}, then the rest which I don't care about the
> order
uot;the complex numbers are a two
dimensional field"? If you mean real numbers, please do explain.
James
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list
, kwds.shape etc
>
> foo( color='red', size='large', shape='ball', etc..)
>
>
> It just seems awkward to have to use "string keys" in this situation.
> This is easy and still retains the dictionary so it can be modified and
&
e is how can I import the code in all of the .py
> files without knowing the file names in advance.
>
> Can this be done ??
>
> TIA
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list
Oops. Answered before I finished reading the question.
James
On Monday 24 October 2005 19:53, Ron Adam wrote:
> James Stroud wrote:
> > Here it goes with a little less overhead:
> >
> >
> > py> class namespace:
> > ... def __init__(self, adict):
&g
they may even be strong enough to legitimize the
practice:
http://alpage.ath.cx/toppost/toppost.htm
In light of these arguments, I hereby reserve the right to revert to
top-posting if the compulsion overwhelms me.
James
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Bo
On Tuesday 25 October 2005 14:27, Mike Meyer wrote:
> That's your right. Be aware that people will ignore, correct and/or
> complain about you doing so.
If I may be a complete ass: That should be "correct and/or complain about
*your* doing so."
James
--
James Stroud
U
your windows machine probably wont get zombified. Or you could just
do the reasonable thing and erase the hard drive and install Linux.
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list
for an_el in alist:
try_something(an_el)
See also <http://www.artima.com/intv/dry.html>.
James
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list
ate command that I saw to use, but made the window even
> smaller... What can I do? Thanks!
Here is a very simple way:
from Tkinter import *
app = Tk()
app.geometry("%dx%d%+d%+d" % (600, 400, 0, 0))
f = Frame(app)
f.pack()
app.mainloop()
--
James Stroud
UCLA-DOE Institute for Gen
ount
>
> That's a lot of lines. This is a bit off topic, but I just can't stand
> unnecessary local variables.
>
> print file("filename", "rb").read().count("\x00\x00\x01\x00")
The "f" is not terribly unnecessary, because the part o
the frame then pack the frame in the Tk(). However do
not mix grid and pack in the same frame or it will lock up your app. E.g.
*dont* do this:
L1 = Label(f, text="Bob & Carol & Ted & Alice")
L1.grid(row=0, column=0, columnspan=2)
L2 = Label(f, text="Barney&
. return None
... else:
... return object.__getattribute__(self, key)
...
py> t = T(name="test123",port=443)
py> dir(t)
['__class__', '__delattr__', '__dict__', '__doc__', '__getattribute__'
Why do my posts get held for suspcious headers and troll Xha Lee gets to post
all sorts of profanity and ranting without any problem?
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman
On Tuesday 01 November 2005 14:26, Grant Edwards wrote:
> On 2005-11-01, James Stroud <[EMAIL PROTECTED]> wrote:
> > Why do my posts get held for suspcious headers
...
> Held? It's not a moderated group...
And I quoteth (that's King James for "cuteth-and-pastet
the php logo looks better. For a real cool logo, check biopython.org.
James
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list
as you
can, but it will take some time. You will also do well to avoid typos and
grammatical errors in your communications.
Also, you need to answer Fredrik's question. Let me restate it. What do you
mean by ''? This encodes in hex to '2e2e2e2e'. Is this the
for classic macs. Very easy to program in, if you can
find a quadra.
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list
;t even
> tried to get it to read the value of the label, but I think that it
> will be a similar type problem. Any nice ways around this problem? I do
> want these values only to be called when the function is called. Thanks!
Looks like you are reinventing the wheel. Check out the tkMess
x
... x = 2
...
py> class carol(object):
... def __new__(cls):
... return b
...
py> b=bob()
py> b.x
2
py> c = carol() # should print "2"
py> c
<__main__.bob object at 0x404333cc>
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Lo
work. It outputs the
results and return values of commands as it goes. Try this:
def printlines():
print "firstline"
makeline()
print "secondline"
printlines()
Again, idle may work more like you want. Play with it for a few hours.
> Anybody help here?? thanks -xra
activeforeground='blue',
command=atext.set_from_file)
open_button.pack()
tk.mainloop()
if __name__ == "__main__":
main()
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list
7;00 noise1 01 noise2 00 target 01 target_mark 00 dowhat 01']
py> rgx = re.compile(r"(00.*?01) target_mark")
py> rgx.findall('00 noise1 01 noise2 00 target 01 target_mark 00 dowhat 01')
['00 noise1 01 noise2 00 target 01', '00 dowhat 01']
My understandi
On Monday 07 November 2005 16:56, python wrote:
>
> so how can i use python to debug code and change that code without having
> to restart the code.
look into reload()
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90
On Monday 07 November 2005 17:31, Kent Johnson wrote:
> James Stroud wrote:
> > On Monday 07 November 2005 16:18, [EMAIL PROTECTED] wrote:
> >>Ya, for some reason your non-greedy "?" doesn't seem to be taking.
> >>This works:
> >>
> &g
, how about the "**something" operator?
James
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list
On Monday 07 November 2005 20:21, Robert Kern wrote:
> James Stroud wrote:
> > Hello All,
> >
> > How does one make an arbitrary class (e.g. class myclass(object)) behave
> > like a list in method calls with the "*something" operator? What I mean
> >
.. print args
...
py> doit(*n)
(1, 2, 3)
py> for x in iter(n):
... print x
...
8
9
10
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list
On Monday 07 November 2005 20:36, Alex Martelli wrote:
> Ron Adam <[EMAIL PROTECTED]> wrote:
> > James Stroud wrote:
> > > Hello All,
> > >
> > > How does one make an arbitrary class (e.g. class myclass(object))
> > > behave like a list in method
On Tuesday 08 November 2005 22:54, Robert Kern wrote:
> James Stroud wrote:
> > Does anyone else find the following annoying:
> >
> > py> from UserDict import UserDict
> > py> aud = UserDict({"a":1, "b":2})
> > py> def doit(**kwargs):
On Wednesday 09 November 2005 07:00, Yves Glodt wrote:
>
> I will never mention any p-language except python in this list anymore...
+1 QOTW
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.pyth
Cameron Laird wrote:
> In article <[EMAIL PROTECTED]>,
> Mike C. Fletcher <[EMAIL PROTECTED]> wrote:
>
>>Python iterates over "things" (objects), of which integer numbers are
>>just one possible choice. The range built-in command produces ranges of
>>integers which are useful for tasks such as
Cameron Laird wrote:
> In article <[EMAIL PROTECTED]>,
> Mike C. Fletcher <[EMAIL PROTECTED]> wrote:
>
>>Python iterates over "things" (objects), of which integer numbers are
>>just one possible choice. The range built-in command produces ranges of
>>integers which are useful for tasks such as
Thomas Liesner wrote:
> Hi all,
>
> i am having a textfile which contains a single string with names.
> I want to split this string into its records an put them into a list.
> In "normal" cases i would do something like:
>
>
>>#!/usr/bin/python
>>inp = open("file")
>>data = inp.read()
>>names =
This was my answer to the thread "new in programing":
def do_something(*args):
print args
def do_deeply(first, depth, lim, doit=True, *args):
if depth < lim:
do_deeply(first+1, depth+1, lim, False, *args)
if first <= depth:
do_deeply(first+1, depth, lim, True, *args + (first,))
Brian van den Broek wrote:
> Hi all,
>
> I've the following code snippet that puzzles me:
>
> class Base(object):
> __v, u = "Base v", "Base u"
> def __init__(self):
> print self.__v, self.u
>
> class Derived(Base):
> __v, u = "Derived v", "Derived u"
> def __init__(self)
Alex Martelli wrote:
> James Stroud <[EMAIL PROTECTED]> wrote:
>...
>
>>This was my answer to the thread "new in programing":
>>
>>def do_something(*args):
>> print args
>>
>>def do_deeply(first, depth, lim, doit=True, *args)
Kent Johnson wrote:
> James Stroud wrote:
>
>> The one I like best goes like this:
>>
>> py> data = "Guido van Rossum Tim Peters Thomas Liesner"
>> py> names = [n for n in data.split() if n]
>> py> names
>> ['Guido',
Steven D'Aprano wrote:
> On Fri, 09 Dec 2005 18:02:02 -0800, James Stroud wrote:
>
>
>>Thomas Liesner wrote:
>>
>>>Hi all,
>>>
>>>i am having a textfile which contains a single string with names.
>>>I want to split this string in
and
gIvEnThAtwEiNcLuDEsOmEhElPfUlfORmaTtInGInOuRcOdEFroMtImEtOtiME.
So I think that being fearful of new additions to the language (read "more
ability for expression") is mainly fear of abuse by poor programmers--and
that is akin to being afraid of the dark.
James
--
James S
at? It certainly isn't Perl.
Very dry humor indeed!
bob = [1,2,3,4]
carol = [bob,bob]
# not inane dereferencing
print carol[1][3]
$bob = [1,2,3,4] ;
$carol = [ $bob, $bob ] ;
# inane dereferencing
print "$carol->[1][3]\n" ;
--
James Stroud, Ph.D.
UCLA-DOE Institute
Don't fight it, lite it!
You should parse the fasta and put it into a database:
http://www.sqlite.org/index.html
Then index by name and it will be superfast.
James
--
http://mail.python.org/mailman/listinfo/python-list
Martin v. Löwi said
> Hmm. Most applications don't have any crypto needs.
Any program where one stores data would have crypto needs.
Here are some examples: Database, wordprocessor, spreadsheet, address
book, mail program, (should I go on?). What would be the alternative to
encryption to satisfy
lsely
reason that "if I don't need it, the user doesn't", which is up there
with "if I can't see them, then they can't see me" in terms of bad
logic.
James
On Mon, 2005-01-24 at 17:17, James Stroud wrote:
> I was purposefully making an illogical statement
py> e = MyErr(sometup)
py> print e
Error with 1-2
James
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list
ay 20 June 2005 07:47 am, Aziz McTang wrote:
> What I'm looking for is more to learn one good, comprehensive
> programming language well than several approximately on an ad hoc
> basis. What I also failed to mention is the desire to develop my
> presently limited computer skill
t; ...
> py> raise E, ((1, 2),)
> Traceback (most recent call last):
>File "", line 1, in ?
> E: Error with 1-2
>
> But that seems a lot less elegant than simply using the one argument
> version.
>
> [1] http://docs.python.org/ref/raise.html
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list
iss it and it
> would be nice to have in Python.
class color:# americanized
red = 0
blue = 255
green = 0
Less typing than pascal. Also avoids those stupid little colons.
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
h
ons are absolutely unecessary. I thought they were
pointless 18 years ago when I learned pascal in highschool and after 20
years, I still think they are still pointless.
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list
On Saturday 25 June 2005 06:44 pm, James Stroud wrote:
> I thought they were
> pointless 18 years ago when I learned pascal in highschool and after 20
> years, I still think they are still pointless.
I think that fails "==".
--
James Stroud
UCLA-DOE Institute for Genomics
need to know. Should we try to change the way we
> speak? Are there certain words that sound particularly goofy? Please
> help us with your advice on this awkward matter.
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list
On Thursday 30 June 2005 01:46 pm, Bill wrote:
> James Stroud wrote:
> > Frankly, I can't watch Shakespeare or movies like "the full monty" or
> > "trainspotting" because I can't understand a damn word they say. British
> > talk sounds like gibbe
x27;that(\D*)this'
> where the middle part of the strings remains
> unmodified.
>
> Any suggestions?
>
> Peace.
> Vibha
>
> PS. How do I avoid getting my email ID web-published
> for this mailing list.?
>
>
>
> _
that they remember the frustration of being new to programming.
Those "wasted" 1.5 hr sessions getting nowhere add up pretty fast and then
the explicatives begin to flow.
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list
eckbutton(self.frame2, variable =
self.InUse[t]).grid(row= i, column = t)
should this last line read "self.InUse[i]" ?
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list
eckbutton(self.frame2, variable =
self.InUse[t]).grid(row= i, column = t)
should this last line read "self.InUse[i]" ?
What I mean to say is that t is always 0 when you assign variable.
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://
this practice will make me a lot better. but if anybody
> else has any ideas than that would be good too .
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list
er is
just pain. I think this is a developer trick, to keep you at war with
yourself. The more you have internal conflict the more you will be looking
for an App framework to solve your inner problems, and that keeps these guys
in business--the business of wrecking souls.
Go with yourself.
James
import editwindow
File
"/data10/users/jstroud/Programs/lib/python2.3/site-packages/wx-2.6-gtk2-ansi/wx/py/editwindow.py",
line 8, in ?
from wx import stc
File
"/data10/users/jstroud/Programs/lib/python2.3/site-packages/wx-2.6-gtk2-ansi/wx/stc.py",
On Sunday 31 July 2005 05:14 pm, Robert Kern wrote:
> You can't blame Dabo for this one. Your wxPython install is broken.
Yes, but my Tkinter install works just fine.
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesst
On Monday 01 August 2005 05:30 am, Ed Leafe wrote:
> Should we have defensive code for every possible broken installation? We
> use a lot of the Python standard library modules, many dbapi-compliant
> modules, and, of course, wxPython. If someone mis-installs one of the
> pre-requisites, do you ex
s in mind,
and we kind of keep that mentality when evaluating modules our code uses. Do
your end-users really want to figure out that the need to and how to install
stylized text controls, whatever that is?
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Ange
es of the www documentation. It is probably there, hidden in a
very obvious place that someone would be expected to read if they wanted to
use it enough to dig for something they don't know there looking for.
James
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
L
point me in the
right direction? I have discovered httplib and read the documentation and
looked at the examples, but they don't seem helpful for this.
James
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
Thank you Fuzzy, I will look into these things. Maybe the site is setting a
cookie, as you have suggested. I have never delved into the ways of http
except to configure apache and write some very bare-bones web pages, so I
have to say that some very obvious things do not occur to me.
James
On
ous. But that's my goal for Python.
> Sowhat's the easiest way to get there? What steps should I take?
> I'm not in any rush, I just want some help along the way...
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list
rial from any system and destroy any copies. Please note
> that the views or opinions expressed in this message may be those of the
> individual and not necessarily those of Tegel Foods Ltd.
>
> This email was scanned and cleared by NetIQ MailMarshal.
> #
Xah Lee is a known troll. You are retarded to reply to his drivel.
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list
thon
> application such as
>a1 = [1,5,3,2,5,...], the len(a1) varies. Same to b1, c1,
>
>With python, I would like to reorganize them into a tuple like
>
>t1 = ((a1[0],b1[0],c1[0],...),(a1[1],b1[1],c1[1],...),...)
>
> Anybody knows how to do that. Tha
http://www.crummy.com/software/BeautifulSoup/
On Monday 15 August 2005 03:33 pm, BRA_MIK wrote:
> I'm looking for a good and robust html parser that could parse complex
> html/xhtml document without crashing (possibly free)
>
> Could you help me please ?
>
> TIA
> MB
1 - 100 of 1138 matches
Mail list logo