Does anyone know why we get so much spam to this group? It's starting to
get embarrasing to read at work and that's just not how it should be.
Cheers!
/Joel
--
http://mail.python.org/mailman/listinfo/python-list
On May 21, 11:17 pm, dmitrey <[EMAIL PROTECTED]> wrote:
> howto check does module 'asdf' exist (is available for import) or no?
try :
import asdf
del asdf
except ImportError :
#do stuff ...
> (without try/cache of course)
Oops sorry, you didn't want it the obvious way ... but why ever not?
[EMAIL PROTECTED] wrote:
>
>ok i am able to trace the error ...It says:
>Traceback (most recent call last):
> File "C:\Projects\ODX Import\code_ini\odxparse_mod.py", line 294, in
>
>input_xml_sec = open(output_file,'r')
>TypeError: coercing to Unicode: need string or buffer, file found
>
"Hamilton, William " <[EMAIL PROTECTED]> wrote:
> > From: Eric Brunel
> On Thu, 17 May 2007 09:30:57 +0200, Hendrik van Rooyen
> > <[EMAIL PROTECTED]> wrote:
> > > "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
> > >> En Wed, 16 May 2007 03:22:17 -0300, Hendrik van Rooyen
> > >>> I have never
"Szabolcs" <[EMAIL PROTECTED]> wrote:
>
> I was wondering about why are there both tuples and lists? Is there
> anything I can do with a tuple that I cannot do with a list?
>
> In what circumstances is it advantageous to use tuples instead of lists?
> Is there a difference in performance?
>
>
I have some text and a list of Element objects and their offsets, e.g.::
>>> text = 'aaa aaa aaabbb bbbaaa'
>>> spans = [
... (etree.Element('a'), 0, 21),
... (etree.Element('b'), 11, 18),
... (etree.Element('c'), 18, 18),
... ]
I'd like to produce the co
http://stentorinternet.info - Animated Flash on Ron jeremies dick
stuffin a young 19yr old chick.
--
http://mail.python.org/mailman/listinfo/python-list
On May 21, 9:49 pm, "wang frank" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to write a python class with a new data type such as:
> class Cc14:
>def __init__(self, realpart, imagpart):
> self.r=realart
> self.i=imagpart
>
>def __saturator(x):
On May 22, 10:28 am, Ben Finney <[EMAIL PROTECTED]>
wrote:
> "Jorgen Bodde" <[EMAIL PROTECTED]> writes:
> > Right now i have a list in a class that I export as a member
> > variable to the outside world, it is a standard list (e.g. [] ) but
> > I wish to have a stronger type checking when adding ob
jay wrote:
>
> Anyway, I had one more quick question... in order to run wxPython apps,
> do I have to have MacPython, etc. loaded on each Mac (or PC) in order
> for it to run any apps I write? Or is there a way to compile the code
> to where I can distribute an app I write and the other user
> After this I went to the tutorial and started trying out some of the
> examples. I pasted the code to separate text files and then ran them
> through a Terminal window. This stuff is freaking cool!!! Now I
> just have to figure out how this all works!
>
"wxPython in Action" is a decent book fo
On May 22, 10:28 am, Ben Finney <[EMAIL PROTECTED]>
wrote:
> "Jorgen Bodde" <[EMAIL PROTECTED]> writes:
> > Right now i have a list in a class that I export as a member
> > variable to the outside world, it is a standard list (e.g. [] ) but
> > I wish to have a stronger type checking when adding ob
Wow!! Thanks so much for your quick and helpful replies! I really
appreciate it!! :-)
I tried installing off 'wxPython2.8-osx-ansi-2.8.4.0-universal10.4-
py2.5.dmg' on my OS 10.4.9 system which wouldn't install. So I
installed off 'python-2.5-macosx.dmg' and then installed off
'wxPython
> 2. Is there a good book to start with while learning Python? I'm
> currently reading 'Python Essential Reference' by David M. Beazley.
> So far it looks like a pretty good book, but would like more
> tutorials to work with (I've also been reading through the tutorials
> at 'python.org' which ha
Hi,
I am trying to write a python class with a new data type such as:
class Cc14:
def __init__(self, realpart, imagpart):
self.r=realart
self.i=imagpart
def __saturator(x):
return x+1
def out(self,x):
return
On May 21, 10:50 am, brad <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Just wondering on what peoples opinions are of the GUIs avaiable for
> > Python?
>
> We have used wxPython with great results. It's cross platform. Can use
> native OS widgets and is easy to program. Compiles easi
Christopher Arndt wrote:
> I have a few quibles with your summary of Python's properties:
> On 21 Mai, 08:16, John Nagle <[EMAIL PROTECTED]> wrote:
>> Memory management
>> is safe and managed by reference counts backed by a garbage collector.
>> Weak references are supported. Built in data types a
Gabriel Genellina wrote:
> En Sun, 20 May 2007 23:54:15 -0300, Jim Kleckner <[EMAIL PROTECTED]>
> escribió:
>
>> I understand from the documentation that types with a finalizer method
>> that participate in cycles can't be collected.
>
> Yes; older Python versions could not manage any kind of c
Samuel wrote:
> On Mon, 21 May 2007 12:06:50 +0200, Diez B. Roggisch wrote:
>
>> I'm not sure which configuration you want to change how often. But I'm
>> not convinced that the python threading limitations really do make a
>> difference here. Do you really benefit from multi-core capabilities in
En Mon, 21 May 2007 16:24:55 -0300, Berthold Höllmann
<[EMAIL PROTECTED]> escribió:
> Jeffrey Barish <[EMAIL PROTECTED]> writes:
>
>> I have a class derived from string that is used in a pickle. In the new
>> version of my program, I moved the module containing the definition of
>> the class.
"Jorgen Bodde" <[EMAIL PROTECTED]> writes:
> I still have to get used to the lack of (strong) types,
Python does not have weak types, it has strong types. An object knows
its type, and the rules on coercion to other types are minimal and
well-defined.
Python does not have static typing, it has d
In article <[EMAIL PROTECTED]>,
Paddy <[EMAIL PROTECTED]> wrote:
.
.
.
>Sometimes you have to mess with the case of letters in wiki pages
>which is the case here, but I did actually cut-n-paste the address
>from Wikipedia as I
Thanks all for the help.
It solves my problem. I want to build a class type for fixed point
operation for a specifc chip. I could not use the build in complex data
type. It is a daunting job for me since I has not use python before.
Frank
>From: Dan Bishop <[EMAIL PROTECTED]>
>To: python-list
On Sunday 20 May 2007 10:55, Daniel Nogradi wrote:
> Are there other options I overlooked?
>
> Daniel
There is a CRUD template for TG:
http://docs.turbogears.org/1.0/CRUDTemplate
Might be what you're looking for.
j
--
Joshua Kugler
Lead System Admin -- Senior Programmer
http://www.eeinternet.
On May 21, 6:04 pm, "wang frank" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to write a python class with a new data type such as:
> class Cc14:
>def __init__(self, realpart, imagpart):
> self.r=realart
> self.i=imagpart
>
>def __add__(self,x):
How about this:
[code]
def __add__(self,x):
return Cc14(self.r+x.r, self.i+x.i)
[/code]
However... Are you aware that Python has built in support for complex
numbers already?
>>> x = 4+5j
>>> y = 4+5j
>>> x+y
(8+10j)
>>>
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I am trying to write a python class with a new data type such as:
class Cc14:
def __init__(self, realpart, imagpart):
self.r=realart
self.i=imagpart
def __add__(self,x):
return self.r+x,r, self.i+x.i
If I have
x=Cc14(4,5)
y=Cc1
py_genetic wrote:
> Using a baysian method were my inital thoughts as well. The key to
> this method, I feel is getting a solid random sample of the entire
> file without having to load the whole beast into memory.
If you feel only the first 1000 rows are representative, then you can
take a rand
Grant Edwards:
> To quantify things for curiosity's sake, I just scanned through
> the last 1000 postings in c.l.p. There was exactly 1 spam
> message and two replies to spam messages complaining about
> them.
Looking at all my cached messages, I saw 9 including replies. Only
one reply went
On 5/21/07, John Machin <[EMAIL PROTECTED]> wrote:
> Is there not a similar trick on MacOS X?
It's called a symlink:
ln -s /Users/gdonald /foo
--
Greg Donald
http://destiney.com/
--
http://mail.python.org/mailman/listinfo/python-list
On 21/05/2007 11:30 PM, Konrad Hinsen wrote:
> I am trying to install Python from sources in my home directory on a Mac
> cluster (running MacOS X 10.4.8). The path to my home directory contains
> a blank, and since the installation procedure insists on getting an
> absolute path for the prefix,
On Sat, 19 May 2007 17:00:01 + (UTC), Martin Maney <[EMAIL PROTECTED]>
wrote:
...
> posted here and had so much fun.
Apparently I don't speak for most readers here, but I had fun too.
Smart, reasonable people write braindead code all the time. I think
it's fine when people whine about that o
Jorgen Bodde schrieb:
> Hi Bruno,
>
> Thanks for your answer.
>
> Well what I am after is a list of relations to some class type. And in
> that list I do not wish to have accidentally put ints, strings, only
> one type of object, or interface. Now I can make the list interface
> safe, but it is o
On May 21, 9:21 am, mosscliffe <[EMAIL PROTECTED]> wrote:
> On 21 May, 15:02, [EMAIL PROTECTED] wrote:
>
> > mosscliffe:
>
> > > if key in xrange (60,69) or key == 3:
>
> > I keep seeing again and again code like this, mostly from people not
> > much expert of Python, but the PEP 260 shows the fast
On 22/05/2007 12:02 AM, Paul McGuire wrote:
> On May 21, 8:46 am, brad <[EMAIL PROTECTED]> wrote:
>> The goal of the list is to have enough strings to identify files that
>> may contain the names of people. Missing a name in a file is unacceptable.
>>
Seems to me the OP is looking for people-name
On 22/05/2007 12:09 AM, brad wrote:
> Marc 'BlackJack' Rintsch wrote:
>
>> What about names with letters not in the ASCII range?
>
> Like Asian names? The names we encounter are spelled out in English...
> like Xu, Zu, Li-Cheng, Matsumoto, Wantanabee, etc.
"spelled out in English"? "English" h
[Bruno Desthuilliers]> John, I'm really getting tired of your systemic and
totally > unconstructive criticism. If *you* are not happy with Python, by all
> means use another language.
You are saying bad things about my darling! Python is my baby!
Shame on you John Nagle, if you do it again I'll r
Please have a look at Plone and Zope.
"During the month of January 2006, we've had approx. 167 million hits"
plone.org
On 2007-05-16 23:04:17 +0200, Victor Kryukov <[EMAIL PROTECTED]> said:
> Hello list,
>
> our team is going to rewrite our existing web-site, which has a lot of
> dynamic cont
Hello,
I was wondering if anyone is successfully using using
Python(2.5)+DB2+pydb2. I get an error in all situations. It seems that
this problem might be limited to python 2.5. A quick Google search
suggests that with Python 2.5, memory model has become more stringent
and mixing various types of m
Hello,
I was wondering if anyone is successfully using using
Python(2.5)+DB2+pydb2. I get an error in all situations. It seems that
this problem might be limited to python 2.5. A quick Google search
suggests that with Python 2.5, memory model has become more stringent
and mixing various types of m
Hi Bruno,
Thanks for your answer.
Well what I am after is a list of relations to some class type. And in
that list I do not wish to have accidentally put ints, strings, only
one type of object, or interface. Now I can make the list interface
safe, but it is only meant for relational purposes only
Jeffrey Barish wrote:
> I have a class derived from string that is used in a pickle. In the new
> version of my program, I moved the module containing the definition of the
> class. Now the unpickle fails because it doesn't find the module. I was
> thinking that I could make the unpickle work b
On 21/05/2007 11:46 PM, brad wrote:
> I am developing a list of 3 character strings like this:
>
> and
> bra
> cam
> dom
> emi
> mar
> smi
> ...
>
> The goal of the list is to have enough strings to identify files that
> may contain the names of people. Missing a name in a file is unacceptable.
On 5/21/07, Paul McNett <[EMAIL PROTECTED]> wrote:
> Shameless plug: consider using Dabo on top of wxPython - we feel it
> makes wxPython even easier and more pythonic, but admittedly there's a
> bit of a learning curve there too. Even though Dabo is a full
> application framework originally meant
John Nagle a écrit :
(snip)
>YouTube's home page is PHP. Try "www.youtube.com/index.php".
> That works, while the obvious alternatives don't.
> If you look at the page HTML, you'll see things like
>
>onclick="_hbLink('LogIn','UtilityLinks');">Log In
>
> So there's definitely PHP
tag wrote:
> On 21 May, 18:53, Peter Otten <[EMAIL PROTECTED]> wrote:
>> The doctest code is executed in a module without a __name__, it seems.
>> Unfortunately (in this case) the builtin module serves as a fallback
>> helping out with its own name:
>>
>> >>> __name__
>> '__main__'
>> >>> del __na
Ivan Tikhonov a écrit :
> Use php. I am lead programmer/maintainer of big website with a lot of
> interactive stuff in user's backoffice and with a lot of interraction
> to our non-web apps.
>
> PHP is a crap, but programming for web in python is a pain in the ass.
Strange enough, MVHO on this is
On May 16, 4:04 pm, Victor Kryukov <[EMAIL PROTECTED]> wrote:
> Hello list,
>
> our team is going to rewrite our existing web-site, which has a lot of
> dynamic content and was quickly prototyped some time ago.
See #3 below
> Our main requirement for tools we're going to use is rock-solid
> stabil
On May 21, 7:05 am, Asun Friere <[EMAIL PROTECTED]> wrote:
> On May 20, 10:49 pm, Michael Bentley <[EMAIL PROTECTED]>
> wrote:
>
> > On May 20, 2007, at 7:41 AM, Michael Bentley wrote:
>
> > > (upload.strip())
>
> > Oops: (upload.strip(),) or upload.strip()
>
> Superfluous though the braces around
(snip - I suppose I'm answering to Jorgen, but being another idiot
myself I may be wrong... anyway:)
> Thanks for the answer. I did make something myself after i could not
> find anything, just because it was fun to do :-) I did saw array but
> it was not for object, only for small types like int
http://nudepicks.blogspot.com - Download these girls for free boobies!
--
http://mail.python.org/mailman/listinfo/python-list
I just started using flex (flex.org) from Adobe for the front end and am
quite amazed at what it can do. Good docs. Clean client/server api if you
like xml. It's relatively new so you still have to turn over some rocks and
kiss some frogs to figure out how to get exactly the behavior you want in
On Mon, 21 May 2007 12:06:50 +0200, Diez B. Roggisch wrote:
> I'm not sure which configuration you want to change how often. But I'm
> not convinced that the python threading limitations really do make a
> difference here. Do you really benefit from multi-core capabilities in
> this scenario?
The
Well wxPython offers all of the above. They use XRC which is a XML
file which can be loaded inside the GUI, that auto-creates the
components + layout for you. It also supports creating the gui
programatically, which might be very handy when your layout is
undetermined or changes when users select o
If all you are doing is testing that run() works correctly, you could
probably also get away with just calling run() directly instead of
also implicitly testing the Thread class as well.
-Kathy
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, 2007-05-21 at 18:23 +0200, Petr Muller wrote:
> There's PyQt thingy, imho very good and easy to learn/use, but still
> powerful. I've used it for a small gui-oriented project with almost no
> problems and it worked like a charm. However, sometimes I had troubles
> finding useful document
I answered off list (because besically I'm an idiot). So if you like,
read up the current news. :)
Original Message
Subject:Re: managed lists?
Date: Mon, 21 May 2007 21:30:37 +0200
From: Jorgen Bodde <[EMAIL PROTECTED]>
To: Wildemar Wildenburger <[EMAIL PROTECTED
Hello,
I have just finished my script and am ready to distrabute it. I am having a
little trouble using py2exe though.
here is what i have at the top of my file for imports:
import string, array, sgmllib, re, sys, cookielib, urllib2, random,
ConfigParser, time
from urllib2 import urlopen
from C
Jeffrey Barish <[EMAIL PROTECTED]> writes:
> I have a class derived from string that is used in a pickle. In the new
> version of my program, I moved the module containing the definition of the
> class. Now the unpickle fails because it doesn't find the module. I was
> thinking that I could mak
On 21 May, 18:53, Peter Otten <[EMAIL PROTECTED]> wrote:
> The doctest code is executed in a module without a __name__, it seems.
> Unfortunately (in this case) the builtin module serves as a fallback
> helping out with its own name:
>
> >>> __name__
> '__main__'
> >>> del __name__
> >>> __name__
>
cbmeeks a écrit :
> If you guys where going to do a simple web-app (as in, 4-5 tables with
> 99% being simple CRUD), would you use a framework (Django,
> CodeIgniter, whatever...) or would you do it using maybe mod_python
> and Python code?
pylons + SQLAlchemy
http://pylonshq.com
--
http://mail.
Konrad Hinsen schrieb:
> I am trying to install Python from sources in my home directory on a
> Mac cluster (running MacOS X 10.4.8). The path to my home directory
> contains a blank, and since the installation procedure insists on
> getting an absolute path for the prefix, I cannot avoid ins
> > Perhaps you meant that second one to be:
> > (key, mydict[key] for key in mydict if key in xrange(60, 69) or key ==
> > 3)
> >
> Clearly not! Its called *list*-comprehension, not tuple-comprehension. ;)
With () instead of [], it is a generator expression.
http://docs.python.org/ref/genexpr.html
Hello,
My 2 cents contribution:
To me all toolkits offer nice features. It's just a matter of choice
depending on your needs.
I've personally chosen pyGTK and I use it successfully on
Linux/windows/MacOsX for my home grown softs.
The reasons of my choice:
- It looks the same on all platform (actu
as you said, I re-installed java properly and it solved the problem.
thanks.
thanks for everybody else for responding
yomgui
Nathan Harmston wrote:
> I have had very few problems with eclipse on ubuntu with pydev
> installed. Is it still running under the gnu jvm, not the sun one? It
> was cras
Kevin Walzer wrote:
> 2. wxPython is big, harder to learn than Tkinter, but looks good on Mac,
> Windows, and *Nix. It will require users to install a lot of extra stuff
> (or you'll have to bundle the extra stuff).
PyInstaller builds binaries beautifully from raw py source. No need to
bundle
[EMAIL PROTECTED] wrote:
> Ultimately, is it worth downloading and learning some of the packages
> avaiable for Python, or should I just stick to the Tkinter stuff that
> is included.
It depends. Are you selling your application commercially/closed-source
or is it freeware/open-source? Are you d
On May 21, 1:48 pm, "Gabriel Genelli" <[EMAIL PROTECTED]> wrote:
> John Nagle captures Python in a single taxonomic paragraph, and
> Alex Martelli details his GUI preferences, in a thread valuable
> for more than just the beginners its original poster might have
> imagined:
>
[EMAIL PROTECTED] wrote:
> I'm not making progress with the following and would appreciate any
> help.
>
> Here's an interpreted Python session.
>
import sys
def f(): pass
> ...
this_module = sys.modules[__name__]
delattr(this_module, 'f')
f()
> Traceback (most recent ca
John,
I'd be delighted to try xlwt (does it work under Python 2.4 and 2.5?)
I followed the link to ...svn/xlwt/trunk and found a collection of
files, but no Windows installer. How do I install xlwt?
Thanks in advance
Thomas Philips
--
http://mail.python.org/mailman/listinfo/python-list
Use php. I am lead programmer/maintainer of big website with a lot of
interactive stuff in user's backoffice and with a lot of interraction
to our non-web apps.
PHP is a crap, but programming for web in python is a pain in the ass.
And php programmers are cheaper. Especialy avoid mod_python.
IMHO
jay wrote:
> 3. Currently, I write most of my code with Xcode (on the Mac platform)
> using Applescript. This gives me GUI capabilities. Is there anything
> you'd recommend that I could use for Python that would give me a GUI
> interface?
PyObjC allows you to write Cocoa GUI's from Python
I have a few quibles with your summary of Python's properties:
On 21 Mai, 08:16, John Nagle <[EMAIL PROTECTED]> wrote:
> If you have a computer science background, here's all you need
> to know: Python is a byte-code interpreted untyped
Python is strongly but dynamically typed. The fact that
On 2007-05-21, Cameron Laird <[EMAIL PROTECTED]> wrote:
> While PyQt is plenty wonderful, Tkinter's more than adequate,
> given the requirements you've described.
Tkinter is easier to use for simple things. You just have to
try not to think about the fact that it's pulling a complete
Tcl interpr
Hi all,
I have been slowly progressing with my application written in
wxPython. I love the freedom, speed and lack of the compiling run. I
still have to get used to the lack of (strong) types, and it sometimes
frustates me to no end that a wrongly given argument explodes
somewhere deep inside my a
[EMAIL PROTECTED] wrote:
> Just wondering on what peoples opinions are of the GUIs avaiable for
> Python?
Python has, I believe, 4 compelling choices for GUI library: Tkinter,
wxPython, PyQt, and PyGTK. Like everything in life, each has their
relative merits and downsides. Briefly, here are my f
On 15 Mai, 02:55, [EMAIL PROTECTED] wrote:
> My issues have been with keeping a ~/pylib directory for extra
> modules, and reconciling that with setuptools / Easy Install. I'm
> curious to hear how other folks manage their own local module
> directory.
For Python libraries, I use the workingenv.py
In article <[EMAIL PROTECTED]>,
<[EMAIL PROTECTED]> wrote:
>
>Just wondering on what peoples opinions are of the GUIs avaiable for
>Python?
>
>All I am doing is prompting users for some data (listbox, radio
>buttons, text box, ect...). Then I will have some text output, maybe
>a scrolling text me
quoth the enquiring mind:
> - but now I get a error message 21 saying file or directory doesn't
> exist.
You must be in the same directory (in konsole) as the python script for this
to work, else enter the relative path to the file:
Assuming you are in your home directory (this is where a new k
On May 21, 8:11 pm, Trevor Hennion <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I am producing a Web based database application for a customer and could
> do with some help producing pdf documents from the data.
>
> The project uses Apache. Postgresql and Python CGI scripts on a Linux
> server for a compan
On May 21, 8:11 pm, Trevor Hennion <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I am producing a Web based database application for a customer and could
> do with some help producing pdf documents from the data.
>
> The project uses Apache. Postgresql and Python CGI scripts on a Linux
> server for a compan
Paul McGuire wrote:
> For instance, Seo Sanghyeon (I believe the same one now working on
> IronPython) uses the following technique in the EBNF parser/"compiler"
> that he contributed to the pyparsing examples directory:
>
> # list of all the grammar variable names
> all_names = '''
> integer
> me
[EMAIL PROTECTED] wrote:
> Just wondering on what peoples opinions are of the GUIs avaiable for
> Python?
>
> All I am doing is prompting users for some data (listbox, radio
> buttons, text box, ect...). Then I will have some text output, maybe
> a scrolling text message as things are happening.
This is excellect advise, thank you gentelman.
Paddy:
We can't really, in this arena make assumtions about the data source.
I fully agree with your point, but if we had the luxury of really
knowing the source we wouldn't be having this conversation. Files we
can deal with could be consumer data
On 21 May 2007 08:39:44 -0700, [EMAIL PROTECTED] wrote:
>All I am doing is prompting users for some data (listbox, radio
>buttons, text box, ect...). Then I will have some text output, maybe
>a scrolling text message as things are happening.
>
>I have some minor things I need to do, for example,
I'm not making progress with the following and would appreciate any
help.
Here's an interpreted Python session.
>>> import sys
>>> def f(): pass
...
>>> this_module = sys.modules[__name__]
>>> delattr(this_module, 'f')
>>> f()
Traceback (most recent call last):
File "", line 1, in
NameError: n
[EMAIL PROTECTED] wrote:
> Just wondering on what peoples opinions are of the GUIs avaiable for
> Python?
We have used wxPython with great results. It's cross platform. Can use
native OS widgets and is easy to program. Compiles easily to exe
binaries for Windows users as well.
Best of luck,
B
Alex Martelli wrote:
> Most popular, however, is no doubt wxWindows --
> mostly because you can freely use it to develop SW which you plan to
> distribute under closed-source licenses, while Qt &c force you to choose
> -- either pay, or, if you even distribute your code, it will have to be
> under
Just wondering on what peoples opinions are of the GUIs avaiable for
Python?
All I am doing is prompting users for some data (listbox, radio
buttons, text box, ect...). Then I will have some text output, maybe
a scrolling text message as things are happening.
I have some minor things I need to
On May 21, 8:39 am, myheartinamerica <[EMAIL PROTECTED]>
wrote:
> Hello,
>
> I need to run a particular graphics application over and over again
> with a different command line to get benchmarks on the applications
> performance (frame rates and similar data). I am running the following
> within a
On Mon, 2007-05-21 at 16:00 +0200, Marc 'BlackJack' Rintsch wrote:
> In <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] wrote:
>
> >> Python is a strongly typed but dynamic language ...
> >
> > In the "A few questions" thread, John Nagle's summary of Python begins
> > "Python is a byte-code interpreted
Hi,
I am producing a Web based database application for a customer and could
do with some help producing pdf documents from the data.
The project uses Apache. Postgresql and Python CGI scripts on a Linux
server for a company with 20-25 users.
I have been looking at the http://www.reportlab.org -
On Mon, 2007-05-21 at 14:24 +, Grant Edwards wrote:
>
> To quantify things for curiosity's sake, I just scanned through
> the last 1000 postings in c.l.p. There was exactly 1 spam
> message and two replies to spam messages complaining about
> them.
I'm seeing 2 messages a day, lately, to c.l
On Mon, 2007-05-21 at 06:13 -0700, dmitrey wrote:
> And howto check does module 'asdf' exist (is available for import) or
> no? (without try/cache of course)
Why would you need to do that? What are you planning to do when you have
determined that the module doesn't exist? Surely you're not plannin
Gabriel Genellina said unto the world upon 05/21/2007 10:12 AM:
> En Mon, 21 May 2007 10:53:08 -0300, Brian van den Broek
> <[EMAIL PROTECTED]> escribió:
>
>> Gabriel Genellina said unto the world upon 05/21/2007 07:01 AM:
>>> En Mon, 21 May 2007 07:42:21 -0300, revuesbio <[EMAIL PROTECTED]>
>>>
Leo 4.4.3 beta 1 is available at:
http://sourceforge.net/project/showfiles.php?group_id=3458&package_id=29106
Leo is a text editor, data organizer, project manager and much more. See:
http://webpages.charter.net/edreamleo/intro.html
The highlights of Leo 4.4.3:
- Adde
Dustan wrote:
(key, mydict[key] for key in mydict if key in xrange(60, 69) or key == 3]
> File "", line 1
> (key, mydict[key] for key in mydict if key in xrange(60, 69) or
> key == 3]
> ^
> SyntaxError: invalid syntax
>
> Perhaps you meant that secon
Hello,
I'm trying to write some Java code that will launch a python
interpreter shell and pipe input/output back and forth from the
interpreter's i/o streams and the Java program. The code posted below
seems to work just fine under Mac OS X; however, under Windows XP
(Java 1.6 and Python 2.5 instal
On 2007-05-21, Grant Edwards <[EMAIL PROTECTED]> wrote:
> On 2007-05-20, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
>
>>> It doesn't all go through a central point - users like me who use a news
>>> server to access the list submit articles through a local news server
>>> using NNTP. While ther
On 21 May, 15:02, [EMAIL PROTECTED] wrote:
> mosscliffe:
>
> > if key in xrange (60,69) or key == 3:
>
> I keep seeing again and again code like this, mostly from people not
> much expert of Python, but the PEP 260 shows the fast in was removed,
> so it's O(n). Maybe removing the fast __contains__
1 - 100 of 175 matches
Mail list logo