[EMAIL PROTECTED] wrote:
> I'm sure there must be a way to do this, but I can't figure it out for
> the life of me… I'm writing a program where I would like to use a
> button's text field as part of an if statement. I set up my button like
> this:
>
> i = [ "7", "8","9", "/", "4", "5", "6", "*
Hello all
I am currently developing a new WYSIWYG RAD tool for python.
There are screenshots and a small video demo on the site.
Please visit at http://www.geocities.com/visualfltk
Cheers
JMan
--
http://mail.python.org/mailman/listinfo/python-list
Andrea Griffini wrote:
> A friend of mine however told me that this principle that
> I thought was fundamental for talking about science has
> indeed been sacrified to get unification. I was told that
> in physics there are current theories for which there
> is no hypotetical experiment that could
Peter Hansen wrote:
> Roy Smith wrote:
>
>> Steven D'Aprano <[EMAIL PROTECTED]> wrote:
>>
>>> High and low tides aren't caused by the moon.
>>
>>
>> They're not???
>
>
> Probably he's referring to something like this, from Wikipedia, which
> emphasizes that while tides are caused primarily by t
Roy Smith wrote:
> Steven D'Aprano <[EMAIL PROTECTED]> wrote:
>
> >High and low tides aren't caused by the moon.
>
>
> They're not???
Nope. They are mostly caused by the continents. If the
Earth was completely covered by ocean, the difference
between high and low tide would be about 10-14 inc
Andrea Griffini:
>Wow... I always get surprises from physics. For example I
>thought that no one could drop confutability requirement
>for a theory in an experimental science... I mean that I
>always agreed with the logic principle that unless you
>tell me an experiment whose result could be a conf
Andrew Dalke wrote:
> As someone else pointed out, that problem could be resolved in
> some Python variant by using a different name, like "at end".
> Too late for anything before P3K.
It was pointed out to me the logic of the else is consistant with the if
in reguard to the loop test it self, i
We are a new website providing the Latest software and latest virus and
spyware updates for your computer it will save you lots of time in the
future please take a look
thankyou.
http://www.Filetoad.com team
This is a once only mailing , to remove from future newsgroup emailing please
goto
One other note, the few searches I've made that seem somewhat relevant
talk about turning off something thread-safe? Is this something I can
try even though I have very limited permissions on the server?
On 6/14/05, Gregory Piñero <[EMAIL PROTECTED]> wrote:
> Here's a list of all the files from
Here's a list of all the files from the RPM extraction, maybe that helps too?
[EMAIL PROTECTED] rpmmysql]$ dir -R
.:
usr
./usr:
bin include lib
./usr/bin:
comp_err mysql_config
./usr/include:
mysql
./usr/include/mysql:
chardefs.h m_ctype.hmy_net.h mysql.h sslopt-case.
The closest thing I found was libmysqlclient.a in
/home/gpinero/rpmmysql/usr/lib/mysql/
I added that path to my library_dir in setup.py but I still get the
same error message when I do python2.4 setup.py build
I really appriciate your help. I really want to start web development
in python.
Than
Andrea Griffini wrote:
> Wow... I always get surprises from physics. For example I
> thought that no one could drop confutability requirement
> for a theory in an experimental science...
Some physicists (often mathematical physicists) propose
alternate worlds because the math is interesting.
Ther
On Tue, 14 Jun 2005 12:39:09 -0400, Vero wrote
(in article <[EMAIL PROTECTED]>):
> Hi. My name is Veronica, I am a master student at UNAM. I am working on
> something related to Artificial Inteligence and I have been looking for the
> most appropriated programming language to implement my algo
Patch / Bug Summary
___
Patches : 338 open ( -1) / 2861 closed ( +4) / 3199 total ( +3)
Bugs: 909 open ( +1) / 5047 closed (+11) / 5956 total (+12)
RFE : 188 open ( -1) / 170 closed ( +2) / 358 total ( +1)
New / Reopened Patches
__
byteorder
Toby Dickenson wrote:
> But it might not "show up" until too late.
>
> The consumer thread that called get_data presumably does something with that
> list, such as iterating over its contents. It might only "show up" after that
> iteration has finished, when the consumer has discarded its refere
Attn Satellite tv tester,http://www.nagra2ready.com
It is very urgent that you change your keys on your cards and fta units. The
current keys are as follows.
Dishnetwork Key 1 is active, changed TUE JUNE 14th, 2005
KEY0: 34 12 B8 ED 07 A7 CB C8 KEY1:0C 97 B4 37 5E 3F BE 81
It is also very impor
Irmen de Jong wrote:
> Also, alledgedly the new BattleField II uses Python in a way...
> because I heard that you had to comment out a certain line
> in a certain .py file to remove the time limit of the demo :-)
Silly silly people - they should have at least had the launcher and that
part in Pyr
Hopefully someone can help me out here. It's probably super simple but
how do you select multiple items in a treeview? I have
gtk.SELECTION_MULTIPLE set but of course that was enough. I have tried
catching the ctrl button press but still nothing. Perhaps there is a
better place to ask but I tho
Patrick Down wrote:
> My understanding is that the upcoming Civilization IV will have python
> scripting.
>
Also, alledgedly the new BattleField II uses Python in a way...
because I heard that you had to comment out a certain line
in a certain .py file to remove the time limit of the demo :-)
--
I think you are talking about the following:
from win32com.client import Dispatch
path = raw_input('Type in a path: ')
s=Dispatch('WScript.Shell')
s.Run('Explorer %s'%path)
Chad
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
John Henry
Sent: Tuesday,
You should supply more information:
What operating system?
What do you mean by "drive folder"? Does this mean file dialog?
Or perhaps you mean an Explorer Window?
Larry Bates
John Henry wrote:
> Can somebody please tell me how to pop open a drive folder from a
> Python script?
>
> Thanks.
>
Xavier Décoret a écrit :
> Bruno Desthuilliers a écrit :
>
(snip)
>> I really wonder what it can be ???
>
> It's the ability to develop the equivalent of GeoNext (and much more) in
> Python with a very nice syntax.
This is nice, but this does not explain the why of your code snippet.
>>
>> Y
Can somebody please tell me how to pop open a drive folder from a
Python script?
Thanks.
--
John
--
http://mail.python.org/mailman/listinfo/python-list
John Heasly wrote:
>
>> John Heasly wrote:
>>
>>> Given:
>>> [{"mugshot": "nw_gradspeaker4_0608", "width": 67.0, "height":
>>> 96.0}, \
>>> {"mugshot": "nw_gradspeaker2_0608", "width": 67.0, "height":
>>> 96.0}, \
>>> {"freehand": "b1.developreport.0614", "width": 154.0, "height":
>>
Roy Smith <[EMAIL PROTECTED]> writes:
> Mike Meyer <[EMAIL PROTECTED]> wrote:
>> I've never seen someone explain why, for instance, string addition is
>> O(n^2) beyond the very abstract "it creates a new string with each
>> addition". No concrete details at all.
>
> I took a shot at that very qu
Mike Meyer <[EMAIL PROTECTED]> wrote:
> I've never seen someone explain why, for instance, string addition is
> O(n^2) beyond the very abstract "it creates a new string with each
> addition". No concrete details at all.
I took a shot at that very question a while ago. Elephants never forget,
a
My understanding is that the upcoming Civilization IV will have python
scripting.
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> I am scanning text that has identifiers with a constant prefix string
> followed by alphanumerics and underscores. I can't figure out, using
> pyparsing, how to match for this. The example expression below seems to
> be looking for whitespace between the 'atod' and the re
Kenneth McDonald wrote:
> I'm looking for a Wiki engine to set up for my company, so that we can
> incrementally add user documentation for a fairly complex program, plus
> allow users to add their own comments for the benefit of others. I'd
> strongly prefer a Python-based Wiki, since that
Gregory Piñero wrote:
> building '_mysql' extension
> gcc -pthread -shared build/temp.linux-i686-2.4/_mysql.o -lz
> -lmysqlclient_r -o build/lib.linux-i686-2.4/_mysql.so
> /usr/bin/ld: cannot find -lmysqlclient_r
> collect2: ld returned 1 exit status
> error: command 'gcc' failed with exit status 1
> John Heasly wrote:
>> Given:
>> [{"mugshot": "nw_gradspeaker4_0608", "width": 67.0, "height":
>> 96.0}, \
>> {"mugshot": "nw_gradspeaker2_0608", "width": 67.0, "height":
>> 96.0}, \
>> {"freehand": "b1.developreport.0614", "width": 154.0, "height":
>> 210.0}, \
>> {"graphic": "
app = MyApp(False)
app.MainLoop()
will keep wxWidgets from using its own window.
Grzegorz wrote:
> Hello, I'm using eclipse with pydev plugin, I'm working on a program using
> wxpython .
> When I'm executing that application standard error output does not show in
> eclipse console window - w
John Heasly wrote:
> Given:
> [{"mugshot": "nw_gradspeaker4_0608", "width": 67.0, "height": 96.0}, \
> {"mugshot": "nw_gradspeaker2_0608", "width": 67.0, "height": 96.0}, \
> {"freehand": "b1.developreport.0614", "width": 154.0, "height":
> 210.0}, \
> {"graphic": "bz_cafeparadiso_
Dave LeCompte (really) wrote:
>> Who is using Python in games
>>
>> Python has been used in a number of games, including
>>
>>* ToonTown - http://www.toontown.com/
>>* EveOnline - http://www.eve-online.com/
>>* Blade of Darkness - http://www.codemastersusa.com/blade/
Add to that:
-
Andrea Griffini <[EMAIL PROTECTED]> writes:
> On Mon, 13 Jun 2005 21:33:50 -0500, Mike Meyer <[EMAIL PROTECTED]> wrote:
>
>>But this same logic applies to why you want to teach abstract things
>>before concrete things. Since you like concrete examples, let's look
>>at a simple one:
>>
>> a = b +
Given:
[{"mugshot": "nw_gradspeaker4_0608", "width": 67.0, "height": 96.0}, \
{"mugshot": "nw_gradspeaker2_0608", "width": 67.0, "height": 96.0}, \
{"freehand": "b1.developreport.0614", "width": 154.0, "height":
210.0}, \
{"graphic": "bz_cafeparadiso_0613", "width":
I am scanning text that has identifiers with a constant prefix string
followed by alphanumerics and underscores. I can't figure out, using
pyparsing, how to match for this. The example expression below seems to
be looking for whitespace between the 'atod' and the rest of the
identifier.
identifier
Title: Tkinter question
I'm sure there must be a way to do this, but I can't figure it out for the life of me… I'm writing a program where I would like to use a button's text field as part of an if statement. I set up my button like this:
i = [ "7", "8","9", "/", "4", "5", "6", "*", "1", "2
Thanks for all the feedback, everyone. What a helpfull community this is!
It's actually kinda hard keeping up with y'all..
Cheers,
g
"Guy Lateur" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
> Hi all,
>
> I need a way to get the path where MS Word/Office has been installed. I
In article <[EMAIL PROTECTED]>,
Tomasz Lisowski <[EMAIL PROTECTED]> wrote:
.
.
.
>import win32com.client
>wordCOMID = "Word.Application"
>
>word = win32com.client.Dispatch(wordCOMID)
>
>Then you can use the methods of the word
Theres one problem with the code that I saw off the bat. My PAMIE
script takes IE all the way up the window thats called "File Download".
It has 4 buttons Open, Save, Cancel, More Info. The code u gave to me
is for the next window I reach AFTER I click manually on Save. It
brings up the Save As win
When looking for a pythonic way to convert some Mac codewarrior
projects, I came across some files hidden deap into the
Python.Framework under:
plat-mac/lib-scriptpackages/CodeWarrior
What is this stuff? Would any of this be helpful in my search for an
automated conversions of the exported xml
[Gary Robinson]
> In the application we're writing (http://www.goombah.com) it would be
> helpful for us to give one thread a higher priority than the others. We
> tried the recipe here:
> http://groups-beta.google.com/group/comp.lang.python/msg/6f0e118227a5f5de
> and it didn't seem to work for us.
> No, the subject is a good way to refer to past posts. I just meant
> forcing us to dig back, when the post may no longer even be on our
> servers, is not helpful.
I agree, my bad.
> (Perhaps I should ask why anyone would want to waste time putting
> arbitrary fonts and colours and such aro
Hello, I'm using eclipse with pydev plugin, I'm working on a program using
wxpython .
When I'm executing that application standard error output does not show in
eclipse console window - wxpython seems to redirect standard output to some
another window , and closes that window immediately, so I
On 14 Jun 2005 00:37:00 -0700, "Michele Simionato"
<[EMAIL PROTECTED]> wrote:
>It looks like you do not have a background in Physics research.
>We *do* build the world! ;)
>
> Michele Simionato
Wow... I always get surprises from physics. For example I
thought that no one could drop
"PyPK" <[EMAIL PROTECTED]> wrote:
> I get a decoder error when i do a get pixel on the Image
>
> >>> im.getpixel((12,34))
>
> Traceback (most recent call last):
> File "", line 1, in ?
> File "Image.py", line 858, in getpixel
> self.load()
> File "/usr/local/lib/python2.4/site-packages/P
Sion Arrowsmith wrote:
> Fredrik Lundh <[EMAIL PROTECTED]> wrote:
>>nope. else works in exactly the same way for all statements that
>>support it: if the controlling expression is false, run the else suite
>>and leave the statement.
>
>
> For example, consider the behaviour of:
>
> condition =
Previously, on Jun 14, Peter Hansen said:
# James Tanis wrote:
# > I may be wrong here, but shouldn't you just use a stack, or in other
# > words, use the list as a stack and just pop the data off the top. I
# > believe there is a method pop() already supplied for you.
#
# Just a note on term
I understand that job listings are ok on this board so…
StrataLight Communications, a 40 GB/s
DWDM transport system company, develops innovative fiber transmission
subsystems for use by carriers in building next-generation long-haul optical
networks. We are located in Campbell CA. and a
Peter Maas wrote:
> Yes, but what did you notice first when you were a child - plants
> or molecules? I imagine little Andrew in the kindergarten fascinated
> by molecules and suddenly shouting "Hey, we can make plants out of
> these little thingies!" ;)
One of the first science books that really
In the application we're writing (http://www.goombah.com) it would be
helpful for us to give one thread a higher priority than the others. We
tried the recipe here:
http://groups-beta.google.com/group/comp.lang.python/msg/6f0e118227a5f5de
and it didn't seem to work for us.
We don't need many
rbt a écrit :
> Here's the scenario:
>
> You have many hundred gigabytes of data... possible even a terabyte or
> two. Within this data, you have private, sensitive information (US
> social security numbers) about your company's clients. Your company has
> generated its own unique ID numbers to
harold fellermann wrote:
> ...
> This gives me a pointer to the class I want to use as base class.
> Does anyone know how to assign this to the extension class? I tried
> to build a tuple (BaseClass,) and assign it (after the respective
> PyType_Ready call) ...
I think this is your problem -- call
Peter Maas wrote:
> Learning is investigating. By top-down I mean high level (cat,
> dog, table sun, sky) to low level (molecules, atoms, fields ...).
Aha. So you must learn cosmology first then. I don't think so. ;)
I don't know if you really think that you learn things top
down, but I doubt tha
Version 0.9 of NetEpi Case Manager is now available via
http://www.netepi.org
NetEpi Case Manager is a tool (built using Python, the Albatross Web
application framework for Python, and PostgreSQL) for securely
collecting structured information about cases and contacts of
communicable (and other) d
Hi Saqib,
AFAIU, you want to change the scrollregion, not the size. So try:
def _b1PressEvt(event):
x0,y0,x1,y1 = canvas.config('scrollregion')[4]
print x0,y0,x1,y1
canvas.config(scrollregion=(int(x0),int(y0),int(x1)+100,int(y1)))
First click will show nothing, because first change k
While waiting for answers to the above questions, I went ahead and
tried the following:
1. Downloaded the RPM for the server's version of MySql:
http://downloads.mysql.com/archives/mysql-3.23/MySQL-devel-3.23.57-1.i386.rpm
2. Copy file to server, and extract to a new folder i made called rpmmysql
Qiangning Hong wrote:
> I actually had considered Queue and pop() before I wrote the above code.
> However, because there is a lot of data to get every time I call
> get_data(), I want a more CPU friendly way to avoid the while-loop and
> empty checking, and then the above code comes out. But I a
Scott David Daniels wrote:
> Magnus Lycka wrote:
>
>> It seems to me that *real* computer scientists are very rare.
>
> I suspect the analysis of algorithms people are among that group.
> It is intriguing to me when you can determine a lower and upper
> bound on the time for the best solution to
> "harold fellermann" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> Hi all,
>
> I once read that it is possible to use a python base class for a C
> extension class.
On 14.06.2005, at 09:29, Grigoris Tsolakidis wrote:
> There was good article of how to do this on DDJ home page
On Tuesday 14 June 2005 17:47, Peter Hansen wrote:
> Kent Johnson wrote:
> > Peter Hansen wrote:
> >> That will not work, and you will get data loss, as Jeremy points out.
> >>
> > Can you explain why not? self.data is still bound to the same list as x.
> > At least if the execution sequence is x
Brian wrote:
> Hi Rbt,
>
> To give an example of processing a lot of data, I used Python to read
> and process every word in a single text file that contained the entire
> King James Bible version. It processed it within about one second --
> split the words, etc. Worked quite well.
>
> Hope
On 14.06.2005, at 18:58, harold fellermann wrote:
> Am I stupid or what?
Yes I was ...
> // PhysicsDPD instance structure
> typedef struct {
>PyObject_HEAD
>double cutoff;
>double friction;
>double noise;
>double dt;
> } hyper_PhysicsDPD;
>
>
> //
Peter Hansen wrote:
> James Tanis wrote:
>
>> I may be wrong here, but shouldn't you just use a stack, or in other
>> words, use the list as a stack and just pop the data off the top. I
>> believe there is a method pop() already supplied for you.
>
> Just a note on terminology here. I believe
James Tanis wrote:
> # > > > A class Collector, it spawns several threads to read from serial port.
> # > > > Collector.get_data() will get all the data they have read since last
> # > > > call. Who can tell me whether my implementation correct?
> # > > >
> # Here's the original code:
> #
Kent Johnson wrote:
> Peter Hansen wrote:
>> That will not work, and you will get data loss, as Jeremy points out.
>>
> Can you explain why not? self.data is still bound to the same list as x.
> At least if the execution sequence is x = self.data
>self.data.append(a_piece_of_da
Am I stupid or what?
I want to implement a very simple extension class in C (as I did
it many times before...) The python equivalent of my class whould
look like:
class physics_DPD :
def __init__(self,cutoff,friction,noise,dt) :
self.cutoff = cutoff
self.fr
James Tanis wrote:
> I may be wrong here, but shouldn't you just use a stack, or in other
> words, use the list as a stack and just pop the data off the top. I
> believe there is a method pop() already supplied for you.
Just a note on terminology here. I believe the word "stack" generally
ref
So here is a class that should do what you want. I don't use pamie we
use a in house python ie driver. But it has the same problem. Here is
a class that should do what you want.
import winGuiAuto
import threading
class SaveAsDocDialog (threading.Thread):
'''Some Internet Explorer dialog w
Hi. My name is Veronica, I am a master student at UNAM. I am working on something related to Artificial Inteligence and I have been looking for the most appropriated programming language to implement my algorithms. I found python to be very close to what I need, but there are still a couple of
Thomas Guettler wrote:
> Hi,
Hi,
> There was someone who said that he has ported ZCatalog to "standalone"
> ZODB. Look in the archive of zodb-dev.
Thanks, I'll try.
> AFAIK IndexedCatalog is still in
> development. Maybe the mailing list is calm, but I think it is not
> orphaned.
As devel
On Tue, 14 Jun 2005 16:18:19 +0300,
Christos "TZOTZIOY" Georgiou <[EMAIL PROTECTED]> wrote:
> I believe that the suid bit on scripts (either *sh or python) is
> completely ignored on most *nix systems.
Most *modern* systems, yes. ;-)
I must be getting old. :-(
Regards,
Dan
--
Dan Sommers
Previously, on Jun 14, Jeremy Jones said:
# Kent Johnson wrote:
#
# > Peter Hansen wrote:
# >
# > > Qiangning Hong wrote:
# > >
# > >
# > > > A class Collector, it spawns several threads to read from serial port.
# > > > Collector.get_data() will get all the data they have read since last
"Xavier Décoret" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>> class A( object):
>> def __init__(self, value):
>> self.value = value
>More seriously, try to do this with your simpler approach.
>a = A(4)
>b = A(lambda : a.x+5)
>a.x = 2
>print b.x # I want this to be 7, not
Oyvind Ostlund wrote:
> There is a server called noteme.com and a file called
> index.php on it, but why doesn't it work. If I changed
> it to 'vbforums.com' and 'index.php' then it worked.
server.putrequest('GET', filename)# send request andheaders
+ server.putheader('Host', se
Kent Johnson wrote:
Peter Hansen wrote:
Qiangning Hong wrote:
A class Collector, it spawns several threads to read from serial port.
Collector.get_data() will get all the data they have read since last
call. Who can tell me whether my implementation correct?
Thank you! I had totally forgot about that. It works.
--
http://mail.python.org/mailman/listinfo/python-list
Please take a look at and run the code snippet shown below.
It creates a canvas with vertical & Horizontal scroll-bars.
If you shrink the window to smaller than the area of the canvas, the
scroll-bars work as advertised. That's great.
However, if you click the Left Mouse button, it calls code whi
see below
On 6/10/05, Daniel Dittmar <[EMAIL PROTECTED]> wrote:
> Gregory Piñero wrote:
> > Is that something I can install all to my home directory?
>
> If you have a similar Linux distribution at home, simply build the mysql
> extension on that machine and then copy it to the web server.
I hav
Steven D'Aprano wrote:
> On Mon, 13 Jun 2005 12:18:31 -0400, Ali Razavi wrote:
>
>
>>Is there any reflective facility in python
>>that I can use to define a variable with a
>>name stored in another variable ?
>>like I have :
>>x = "myVarName"
>>
>>what can I do to declare a new variable with the
[Peter Hansen wrote]
> Richard Lewis wrote:
> > If you want to know where a particular directory is (on a Windows
> > 'drive') you could use:
> >
> > for drive_label in ["C", "D"]:
> > if "Program Files" in os.listdir(drive_label + ":/"): return
> > drive_label
>
> This would cause troubl
I am trying to read a file online, and was just testing a bit. This is what I
tried.
--
import sys, httplib
showlines = 6
try:
servername, filename = sys.argv[1:] # cmdline args?
except:
servername, filename = 'noteme.com', '/index.php'
prin
Magnus Lycka wrote:
> It seems to me that *real* computer scientists are very rare.
I suspect the analysis of algorithms people are among that group.
It is intriguing to me when you can determine a lower and upper
bound on the time for the best solution to a problem relatively
independent of the pa
Magnus Lycka:
> While scientists do build and create things,
> the ultimate goal of science is understanding. Scientists build
> so that they can learn. Programmers and engineers learn so that
> they can build.
Well put! I am going to add this to my list of citations :)
Michele Simio
Jeff Epler wrote:
> [sent to python-list and poster]
>
> Did you follow the direction that Python.h be included before any system
> header?
>
> This is mentioned at least in
> http://docs.python.org/ext/simpleExample.html
OK, I'll try to make it work this way. It's not totally trivial, b/c
Peter Hansen wrote:
> Qiangning Hong wrote:
>
>> A class Collector, it spawns several threads to read from serial port.
>> Collector.get_data() will get all the data they have read since last
>> call. Who can tell me whether my implementation correct?
>
> [snip sample with a list]
>
>> I am not
On Tue, 14 Jun 2005 14:24:56 -, Grant Edwards <[EMAIL PROTECTED]>
wrote:
>
>Your example is not using standard alignment. It's using
>native alignment:
>
>By default, C numbers are represented in the machine's native
>format and byte order, and properly aligned by skipping pad
>by
[sent to python-list and poster]
Did you follow the direction that Python.h be included before any system
header?
This is mentioned at least in
http://docs.python.org/ext/simpleExample.html
It's a crummy thing for Python to insist on, but if you can re-organize
your headers to do this it sho
On 6/14/05, Magnus Lycka <[EMAIL PROTECTED]> wrote:
> Andrew Dalke wrote:
> > Andrea Griffini wrote:
> >
> >>This is investigating. Programming is more similar to building
> >>instead (with a very few exceptions). CS is not like physics or
> >>chemistry or biology where you're given a result (the w
I dont see the modaltest.py would u please send me a link to it. I
still have not been able to gets winGuiAuto to work. I have pamie
logging into a site, navigating to the downloads section, and clicking
the link of the file to download and it stops right there.
I am downloading a zip file and the
Am Tue, 14 Jun 2005 11:45:30 +0200 schrieb Almad:
> Hello,
>
> is ZCatalog available for standalone zodb? As far as I read tutorial, the
> relation to zope is obvious.
>
> I knew there is IndexedCatalog, but its not developed any more...and without
> indexing, oodbms are unusable for cms, imo.
On 2005-06-14, Matt Feinstein <[EMAIL PROTECTED]> wrote:
> Using the 'struct' module (Win32, python version 2.4.1)--
>
> The library documentation says that 'no alignment is required
> for any type'.
Right. It says that for Standard alignment, and that's correct.
> However, struct.calcsize('fd'
The Polygon library for Python:
http://www.dezentral.de/warp.html?http://www.dezentral.de/soft/Polygon/index.html
provides some support for dealing with polygons, which seems to be the
only hard thing on this list. The rest you should be able to implement
easily.
Alex
On 6/14/05, Cyril BAZIN <[EM
Jan Danielsson wrote:
> Gary Herron wrote:
>>... a more recent addition to the language is Sets, ...
>from sets import Set
>Set([1,2,3,4,5,6]) - Set([2,3,6])
>>
>>Set([1, 4, 5])
If you are using 2.4 or later, you can simply use "set" without
importing anything.
set(['apple', 'orange'
Using the 'struct' module (Win32, python version 2.4.1)--
The library documentation says that 'no alignment is required for any
type'. However, struct.calcsize('fd') gives 16 while
struct.calcsize('df') gives 12, implying that double precision data
has to start on a double-word boundary.
Matt F
Tom Anderson wrote:
> ... If it's not, try:
> x = "myVarName"
> y = "myVarValue"
> locals()[x] = y
Sorry, this works with globals(), but not with locals().
There isn't a simple way to fiddle the locals (the number
is determined when the function is built).
I do, however, agree with you about what
Andrew Dalke wrote:
> Andrea Griffini wrote:
>
>>This is investigating. Programming is more similar to building
>>instead (with a very few exceptions). CS is not like physics or
>>chemistry or biology where you're given a result (the world)
>>and you're looking for the unknown laws. In programming
> > High and low tides aren't caused by the moon.
> They're not???
I suppose, that the trick here is to state,
that not the moon, but the earth rotation relative
to the moon causes it, so putting the moon at
cause is considered wrong, because its existance
alone were not the cause for high and low
Andrew Dalke schrieb:
> Peter Maas wrote:
>
>>I think Peter is right. Proceeding top-down is the natural way of
>>learning (first learn about plants, then proceed to cells, molecules,
>>atoms and elementary particles).
>
>
> Why in the world is that way "natural"? I could see how biology
> coul
1 - 100 of 196 matches
Mail list logo