border thicker.
>
> How do I get the Label object to look just like the Button object?
>
> --
> http://mail.python.org/mailman/listinfo/python-list
---
Andrew Gwozdziewycz
[EMAIL PROTECTED]
http://23excuses.com | http://ihadagreatview.org | http://and.rovir.us
--
http://mail.python.org/mailman/listinfo/python-list
change the default .py extension to open in an editor rather
> than execute it if I open it?
>
> Thanks:
> Michael Yanowitz
>
> --
> http://mail.python.org/mailman/listinfo/python-list
---
Andrew Gwozdziewycz
[EMAIL PROTECTED]
http://23excuses.com | http://ihadagreatview.o
n toplevel.
On May 9, 2006, at 4:27 AM, N/A wrote:
> Hi all,
> I am learning Python. Just wondering how to clear saved memory in
> Python? Like in Matlab I can simply use "clear all" to clear all saved
> memory.
>
> Thank u!
> --
> http://mail.python.
10)
>>>> b=range(5)
>>>> for x in b:
> ... a.remove(x)
> ...
> it will very slowly. Shall I change to another data structure and
> choos
> a better arithmetic?
> any suggestion is welcome.
> thanks a lot!
>
> --
> http://mail.python.
guments:
def getBook(id=None, name=None):
if id:
# do whatever for id
elif name:
# do whatever for name here
They are nearly identical.
---
Andrew Gwozdziewycz
[EMAIL PROTECTED]
http://www.23excuses.com
http://ihadagreatview.org
http://and.rovir.us
--
http://mail.python
eintopython.org since you know how to
program already. It's free!
---
Andrew Gwozdziewycz
[EMAIL PROTECTED]
http://ihadagreatview.org
http://and.rovir.us
--
http://mail.python.org/mailman/listinfo/python-list
d.
This would fail if (and this too my knowledge is proper CSV):
"Col 1 data 2,000", Col 2 data 3000, "Col 3 data 4,000"
Since the second element doesn't have a comma, it doesn't have to be
quoted.
It's probably best to use the built in CSV parser assuming your
-
> http://mail.python.org/mailman/listinfo/python-list
Surely, this is a task for http://nltk.sourceforge.net/ . Especially
if you want high accuracy.
---
Andrew Gwozdziewycz
[EMAIL PROTECTED]
http://ihadagreatview.org
http://and.rovir.us
--
http://mail.python.org/mailman/listinfo/python-list
easiest way to do that is to just check to see if
the probestring starts a string at the current index of the string...
def count_proper_substrings_equal_to(target, probe):
i = 0
count = 0
while i < len(target):
if target[i:].startswith(probe):
grams( for linux or windows )
---
Andrew Gwozdziewycz
[EMAIL PROTECTED]
http://ihadagreatview.org
http://and.rovir.us
--
http://mail.python.org/mailman/listinfo/python-list
a healthy language. I can read it and write it without going blind
or crazy.
Ok, maybe I'm pushing it here.
>Better eggs.python.org. Would support the spread of the new file
>format, too.
eggs.python.org actually seems quite good to me. It'd be even cooler
if we cou
he main reason I am answering your mail is because you may have
> intended to
> post on c.l.py]
>
> Regarding your enhancement, I don't see any use cases that aren't
> handled by
> random.sample() already.
>
> Regards,
> Peter
I can see a us
s the intended name... If the community then decides on some
standardized automated package management, I'm sure PyPI (cheese shop)
would probably be the definitive repository.
$ pypi install hello
is much better than
$ bluecheese install hello
--
Andrew Gwozdziewycz
g something with Ruby On Rails knows that ruby is the language
behind it. Does
some non programmer care? No. If some non-programmer decided to
create a new web
app, and his friend said, 'I hear django is quick and oh, it use's
this really cool easy to learn
language python,' What's the difference? Is calling it Python on Trees
any different? The
guy doesn't know what python on is, let alone why it's on trees?
---
Andrew Gwozdziewycz
[EMAIL PROTECTED]
http://ihadagreatview.org
http://and.rovir.us
--
http://mail.python.org/mailman/listinfo/python-list
me. Python has a ton of good projects and a ton of users. What we
don't have is
ruby on rails and the web 2.0 crowd, and I say, who the hell cares? We
have everything
else.
--
Andrew Gwozdziewycz <[EMAIL PROTECTED]>
http://ihadagreatview.org
http://plasticandroid.org
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 7, 2006, at 10:00 PM, [EMAIL PROTECTED] wrote:
> ah.. ok.
> gnome it is.
>
> are there py commands for gnome?
>
Since gnome uses gtk, you're best bet would be to check the pygtk
documentation
---
Andrew Gwozdziewycz
[EMAIL PROTECTED]
http://ihadagreatview.org
reeImage :-( .
both freeimagepy and freeimage are released under the GPL, PIL is not.
--
Andrew Gwozdziewycz <[EMAIL PROTECTED]>
http://ihadagreatview.org
http://plasticandroid.org
--
http://mail.python.org/mailman/listinfo/python-list
numerous posts about spiders. One interesting
fact is that google itself starting with their spiders in python.
http://www-db.stanford.edu/~backrub/google.html I'm _sure_ it'll work
for you.
--
Andrew Gwozdziewycz <[EMAIL PROTECTED]>
http://ihadagreatview.org
http://plasticandroid
t; def func(dummy=None, a=1, b=2, c=3):
> ... if dummy is not None:
> ... raise TypeError("invalid call")
> ... print a, b, c
>
> (but this is easier to trick).
>
> hope this helps!
>
>
>
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Andrew Gwozdziewycz <[EMAIL PROTECTED]>
http://ihadagreatview.org
http://plasticandroid.org
--
http://mail.python.org/mailman/listinfo/python-list
leaves off.
I thought the O'Reilly book was pretty decent at describing how to
setup a web application. It's not entirely complete, but I was able to
piece together an application with a somewhat complex web application
on top of it. Twisted made it quite easy.
--
Andrew Gwozdziewycz <[EMAI
n remember when
compiling the PIL on my mac having to create a symbolic link to
libjpeg.so.6 or something. It was bizarre but worked fine afterwards.
--
Andrew Gwozdziewycz <[EMAIL PROTECTED]>
http://ihadagreatview.org
http://plasticandroid.org
--
http://mail.python.org/mailman/listinfo/python-list
ther or
not it'll perform well is another story... Thanks for the help.
--
Andrew Gwozdziewycz <[EMAIL PROTECTED]>
http://ihadagreatview.org
http://plasticandroid.org
--
http://mail.python.org/mailman/listinfo/python-list
ic webcrawler as a google desktop plugin called
Kongulo (http://sourceforge.net/projects/goog-kongulo/) which is
written in python. I would think python would be perfect for this sort
of application. Your bottleneck is always going to be downloading the
page.
--
Andrew Gwozdziewycz <[EMAIL
source of the php function and it manually
parses it (i assume according to the GNU date rules). However, i'd
prefer not to have to port the function to python if someone else has
already done so, or has a more pythonic implementation.
--
Andrew Gwozdziewycz <[EMAIL PROTECTED]>
http:
k the standard
date, datetime and time
modules and also mx.Date* modules. Am I overlooking something here or
does it not exist?
Anyone know of an implementation? Also, I realize that this is
perhaps very English specific
so I apologize to any non-native English speakers.
---
Andrew Gwozdziewycz
[EM
x27;re development time will be fast,
and you will probably see some good results.
--
Andrew Gwozdziewycz <[EMAIL PROTECTED]>
http://ihadagreatview.org
http://plasticandroid.org
--
http://mail.python.org/mailman/listinfo/python-list
Does anyone know of a python module that can read and search the
tiger line data for geolocation?
Currently, I can use xmlrpc to query geocoder.us but I'd rather not
be querying their server if I don't have to.
Thanks
---
Andrew Gwozdziewycz
[EMAIL PROTECTED]
http://ihadagreatvie
between any point within Part I and Point A is
> smaller than to Point B and Point C. And the similar rule applies
> to Part II and Part III.
> Thanks for any idea.
> --
> http://mail.python.org/mailman/listinfo/python-list
---
Andrew Gwozdziewycz
[EMAIL PROTECTE
tension, not an economical question about my programming environment.Well, since I don't use Windows XP, I did not know this fact. I wasn't trying to offend you or argue with you, I was just flat out curious why you had to go out and buy Visual Studio.---Andrew Gwozdziewycz[EMAIL PROTECTED]http
oducing a huge number of inconsistencies.Plus, it's not broken to begin with. ---Andrew Gwozdziewycz[EMAIL PROTECTED]http://ihadagreatview.orghttp://plasticandroid.org --
http://mail.python.org/mailman/listinfo/python-list
mart Mailboxes have made it at least possible to have a small number of actual folders and a large number of smart mailboxes, which is very nice.Anyone know of any good mailing list plugins for mail.app?-Andrew Gwozdziewycz[EMAIL PROTECTED]http://ihadagreatview.orghttp://plasticandroid.org --
Is it just me, or does python-list@python.org not send with a Reply-
To header?
---
Andrew Gwozdziewycz
[EMAIL PROTECTED]
http://ihadagreatview.org
http://plasticandroid.org
--
http://mail.python.org/mailman/listinfo/python-list
ast that's what i got from the question.
There are many PHP implementations on the web, which could be adapted
to python fairly easily. Most of which are probably not the most
ideal solution and
involve alot of stuff like
for n in badwords:
texttofilter.replace(n, '
; Regards
>
> Salvatore
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
---
Andrew Gwozdziewycz
[EMAIL PROTECTED]
http://ihadagreatview.org
http://plasticandroid.org
--
http://mail.python.org/mailman/listinfo/python-list
34 matches
Mail list logo