Today I found a quote from Guido.
wxPython is the best and most mature cross-platform GUI toolkit, given a number
of constraints. The only reason wxPython isn't the standard Python GUI toolkit
is that Tkinter was there first.
-- Guido van Rossum
OK, now. Isn't it maybe time to throw out TK once
Hy guys.
I'd like to ask you for a favour.
I tried several times to implement the otsu threshold filter in
python. but I failed every time. I found the soucre code i n Java from
the ImageJ project but I never worked in Java and there have been used
some built in Java functions which I don't know ho
sults. I'm working on a project for my clases, and the last
thing I need to accomplish my goal is this filter. Is there anyone who
implemented it.
Thanks Hyuga
On Jun 5, 6:02 pm, Hyuga <[EMAIL PROTECTED]> wrote:
> On Jun 5, 10:19 am, azrael <[EMAIL PROTECTED]> wrote:
>
>
That's right. It all depends on your design. When you do a select you
could brute force it to to return the data, but the speed comes from
elegant designing and programing skills. Using C++ or even Better C
would probably boost your database model. Try to sort the data in the
database so you can ef
Try the WingIDE
Great Code Completition, Source Assistant, Debugger, PythonShell,
projects, The codeCompletition is really great.
Give it a try
On Aug 19, 3:37 pm, Buchoux Sébastien <[EMAIL PROTECTED]> wrote:
> Bjoern Schliessmann wrote:
> > Sébastien wrote:
>
> >> I am currently using Eclip
Hy Guys
Did anyone manage to install and use Pivy. I'm trying it and cant come
closer to the goal I get the message:
Please set the COIN3DDIR environment variable to your Coin root
directory! ** Aborting **
Familiar to anyone?
And there is anoher question in my mind.
Is there a way to make a li
Look, what I think about is this.
I'd like to make a multi dimensional list in which evry single element
would represent a function. By looping through the list I would
execute the functions. But not only that, it is possible to experiment
with recoursions.
the return 1 2 and 3 examples are just a
id like to hear your opinion about something.
I just started using Prolog yesterday and i have my doubts about it,
but it seems to me something like object oriented. so i wanted to ask
you how usefull prolog is. Sure this is no prolog newsgroup so my
question is: because it seems object oriented, h
Some time ago I posted a question about the favourite IDE. I finally
found it. WING IDE i the best I've ever seen for python. Code
completition is amazing, automated help, python comand line. evrything
i need. Who didnt try, doesnt know what he is missing.
just one word: Amazing
respect to the de
I think that this would be very silly to do. bad kung foo. The
recoursion technique would be more satisfying. You sholud consider
that this would take about 4 lines to write. Also be avare of the
default recoursion depth in python wich is 1000. you can get and set
the recoursion limit hrough impor
L PROTECTED]> wrote:
> azrael wrote:
> > I think that this would be very silly to do. bad kung foo. The
> > recoursion technique would be more satisfying. You sholud consider
> > that this would take about 4 lines to write. Also be avare of the
> > default recoursion dept
try wing ide. i tried it and i love it. it's available for windows as
well for linux
On Apr 13, 9:11 pm, Christoph Haas <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 13, 2007 at 11:20:23AM -0700, Jack wrote:
> > I wonder what everybody uses for Python editor/IDE on Linux?
> > I use PyScripter on Wind
Are you maybe trying to create a rainbow table, or a very big
dictionary
--
http://mail.python.org/mailman/listinfo/python-list
Meanwhile I tried about 5 different implementations of the otsu
threshold algorithm. I'll go mad.
Please help me. I don't know what to do. I even tried to implement it
from c and java, but no way. nothing.
I've been reading about 5 ppt presentations and 4 pdf's and I failed.
Can someone look at thi
Some time ago I started a thread about the Otsu Threshold. Well I
didn' manage to make any progress to acomplish this task.
I tried to implement it from other Languages including Java and C.
Well, this is the example list.
histogram=[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0
I didn't found this one. Looks interesting and complex because I ran
away from C to Python because of the developing speed and pointers.
Thanks mate, I'll try it.
Other C implementations I found were much shorter, at least this is
going to be a little challenge. :D
--
http://mail.python.org/mail
Can somone look at this
def otsu(hi):
fmax=-1.0
border=len(hi)
for i in range(border):
if hi[i]!=0:break
for j in range(border-1,0-1,-1):
if hi[j] != 0:break
s = sum([k*hi[k] for k in range(border)])
n = sum(hi) # product(im.size)
n1=n2=csum=0.0
for
ECTED]> wrote:
> azrael wrote:
> > Can somone look at this
> > def otsu(hi):
> > fmax=-1.0
> > border=len(hi)
> > for i in range(border):
> > if hi[i]!=0:break
> > for j in range(border-1,0-1,-1):
> > if hi[j] != 0
Thanks Man, I did it. It works fantastic.
On Sep 19, 9:33 pm, azrael <[EMAIL PROTECTED]> wrote:
> I know. The translation is not so important to me, because this is
> going to just a little function that is working in the last step of
> the whole proces. The whole impleme
I'd like to ask you if you know a module that makes it possible to
create a number of images and than to use them as frames and finaly
export them to a video file
--
http://mail.python.org/mailman/listinfo/python-list
One question. I didn't try it, just one idea
Is it possible to put a Vpython window inside a WX frame like it is a
part of the wxframe between sizers or anything els
--
http://mail.python.org/mailman/listinfo/python-list
Maybe you should check the Slax distro. Go to www.slax.org.
There is one special slax distro caled Frodo. I think that it includes
nearly nothing but the core.
There are also several packages for the distro that you can put inside
the distro and create your own distribution. There are also detailed
Hi guys
I tried to install and run pymorph but I am having some problems.
when I want to use mmshow() I get the message
ImportError: DLL load failed: the specified module could not be
found
import morph
import handson
def main ():
arr = mmreadgray("beef.jpg");
mmgshow(arr)
does an
here is the traceback
http://barok.foi.hr/~ikljaic/untitled.jpg
--
http://mail.python.org/mailman/listinfo/python-list
yes, in the PIL directory
Dennis Lee Bieber je napisao/la:
> On 16 Jan 2007 08:07:09 -0800, "azrael" <[EMAIL PROTECTED]>
> declaimed the following in comp.lang.python:
>
>
> >
> > does anyone have any idea how to fix it.
> >
> Well, t
How can I implement a linked list like the implementations in c with
struct-s and arrays (or pointers).
to simbolize the working principe
Gary Herron je napisao/la:
> Dongsheng Ruan wrote:
> > with a cell class like this:
> >
> > #!/usr/bin/python
> >
> > import sys
> >
> > class Cell:
> >
> >
Hy, i am a student and in 2 days I am writing a test in data
structures and algorithms. I've done my homework and understood all
the implementations and structures. My profesor was so kind to allow
us to use any programing language we want, and I'd like to use
pythhon. At the first look it look
I'm not a kid who heard that Python is simple, so he wants to use it
and throw it away. I discovered it about 2 months ago, and I learnt it
better then c in 2 years.
I want to use python for this test because i love it. I am amazed
about what i can do i such little time. My god, I even printed
i'd like to get more control like in c with pointers. I want to loose
the data after disabling:
>>> list=[]
>>> list.append(Node(1))
>>> list.append(Node(2))
>>> list[0].next=list[1]
1, 2
>>> list.append(Node(3))
>>> list[1].next=list[2]
1,2,3
>>> list[0].next=list[2]
1,3
thanks guys. i see that there is no way then to go back to C to
satisfy my prof and get a grade
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 7, 3:13 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi all,
>
> I'm interested in Parallel Python and I learned from the website of
> Parallel Python
> that it can run on SMP and clusters. But can it run on a our muti-CPU
> server ?
> We are running an origin3800 server with 128 CPU
you have to undestand that python is not like other languages. I am
working wih it for 3 months. in this time i learned more than throgh
c, c++, java or php. you take. what the hell is php. a language
developed primary for webaplications. take zope and you have the same.
besides that zope will do f
if you are new to python then this will be easier to understand. if
you change this a liitle bit (depending on syntax) it should work in
any language.
just copy and paste to a .py file
def main():
list, temp = [1, 1, 2, 4, 8, 8, 8, 8, 8, 8, 10], []
for i in range(len(list)):
if Che
hy guys
i've been googling and got several posts, but nothing that is a
satisfaction in my eyes. can someone tell me a nice uml diagram tool
with python export (if possible nice gui), or at least nice uml tool
gpl or freeware (widows) prefered
thanks
--
http://mail.python.org/mailman/listinfo/
tahks guys
--
http://mail.python.org/mailman/listinfo/python-list
Hy guys
last night i was lying in my bed and thinking about something. is
there any linux distro that is primary oriented to python. you know
what i mean. no need for php, java, or something like this. pure
python and containig all the funky modules like scipy, numpy,
boaconstructor (wx of course)
the lik here.
i will look out (if i mange to do it) to use the slax distro and just
add some packages.
thnx
On Feb 8, 5:56 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
> azrael wrote:
> > Hy guys
>
> > last night i was lying in my bed and thinking about something. is
&g
no, not renting. i need such one at home. when you say rent it sounds
like buy a hosting package. i need one to work all the time on max
power. cracking md5 needs power. :-D
--
http://mail.python.org/mailman/listinfo/python-list
but look out for pyqt. there is one thing in the eula i don't like.
there is written that if you use qtWidgets and they like the
aplication, you have to give up all your rights of the aplication.
patent, idea, money everything is gone. i know this is open source,
but maybe one day i will manage to
i hope you know that for this task, if you want it to be successfull,
you need a really big database. it sounds very simple to this. it
sounds like go through all possible permutations. before you start
writing any code take a pencil and a big paper and do some maths. i
sugesst you read and practis
i forgot a query language. something like postgre or mysql
On Feb 9, 7:37 am, "azrael" <[EMAIL PROTECTED]> wrote:
> i hope you know that for this task, if you want it to be successfull,
> you need a really big database. it sounds very simple to this. it
> sounds lik
On Feb 9, 4:06 am, "Reid" <[EMAIL PROTECTED]> wrote:
> Hello All
>
> Thanks for taking the time to answer my question. I do not need 3d stuff.
> Just a couple of buttons and menu's. The reason I am looking at python is it
> is free to download. I cannot afford VB or other commercial languages.
>
>
try something else. im posting the code from a kiosk which has no
python, sooo. no code. only explanation
if my memory works well there is a function in python that takes a
multidimensional list and returns its values as a one-dimension list.
def main():
list =unknownFunction([['a', 'b', '
tra using the firs sublist (list[1]) as cell.then take zhe second
sublist and take a value from it at once and if the value from list[2]
doesnt exist in list[1] then insert it into list[1] at the correct
place. Something like the insertionsort.
--
http://mail.python.org/mailman/listinfo/python-li
no heart feelings. i was just throwing ideas. no time to testing it.
On Feb 9, 3:55 pm, "Tekkaman" <[EMAIL PROTECTED]> wrote:
> Thanks everybody!Azrael: your suggestions involve python-level membership
> testing and
> dummy list construction just like my uniter3 exam
Since i'm new on this forum, and first time meeting a python comunity,
i wanted to ask you for your python editors.
Im looking for some good python editor, with integrated run function,
without having to set it up manualy like komodo.
I found the pyscripter, and it has all i need, but it's unsatbl
does any one have any expirience with mmorph module. At first i was
unable to run it because some file was missing (instalation problem),
but i managed it. but, did anyone manage to save the new mask, or
anything created with it.
--
http://mail.python.org/mailman/listinfo/python-list
well, this sounds funn.
1) dont expect someone to do your homework.
2) dont expect someone to do dirty homework
3) dont expect someone to do your home work especially when it's
something that could make you problems, or the person that is helping
you
4) from your message i can "read" that you need
Hey yo kiddie, I hope that you are using the web for some time. So you
can get the meaning from my post.:
LOL, ROTF, LOL, ROTF, LOL, ROTF, LOL, ROTF, LOL, ROTF, LOL, ROTF, LOL,
ROTF, LOL, ROTF, LOL, ROTF, LOL, ROTF, LOL, ROTF, LOL, ROTF, LOL,
ROTF, LOL, ROTF, LOL, ROTF, LOL, ROTF, LOL, ROTF, LOL,
I expirienced some big craches. tra running some aplication vith using
Vpython. when you close the vpython window, pyscripter also crashes.
sometimes im writing some code and suddenly get about 300 error
messages without running anything. I like pyscripter, but sometimes it
drives me crazy
On Fe
I took a first look on the video. Amazing. I love it. You got a tester
good job, man
// but one thing, why not zope and postgre?
martien friedeman je napisao/la:
> I have written this tool that allows you to look at runtime data and
> code at the same time.
> And now I need people to test it.
>
it would be nice when someone would paste some instructions or
tutorial how to bound it all together. where to paste the file. a
dummy tutorial if possible.
--
http://mail.python.org/mailman/listinfo/python-list
can someone give me good links for pattern matching in images using
python
--
http://mail.python.org/mailman/listinfo/python-list
Hy
did anyone manage to work with imahemagick through python. I've been
googling like a crazy for some instalation instructions, but i cant
find anything. please help.
thnx
--
http://mail.python.org/mailman/listinfo/python-list
Mar 1, 4:12 pm, Terry Hancock <[EMAIL PROTECTED]> wrote:
> azrael wrote:
> > Hy
> > did anyone manage to work with imahemagick through python. I've been
> > googling like a crazy for some instalation instructions, but i cant
> > find anything. please help.
I 'm currenty working on a project for which it would be great to use
a dictionary. At the begining I have a list of strings that should
represent the keys in the dictionary. When I try to create a
dictionary it rearanges the keys. For this dictionary it is realy
important to keep the right order.
thanks, the links where successfull
--
http://mail.python.org/mailman/listinfo/python-list
I'm working on an application and i'm having some questions. I am
working with python 2.5, numpy and PIL. does anyone know if there are
some problems while compiling the source because of the modules.. It
has to be closed source.
I didn't try Py2exe but I heard about it. Is there any other and
bet
lets supose i have a object
>>>class a:
>>> __init__(self,b):
>>>self.b=b
>>>object=a(2)
how can I bind the object with "print". I supose that this should be
possible with a constructor. but I don't know how.
>>>print a
2
>>>
Something like this
Thnx
--
http://mail.python.org/mai
5 days ago I looked at it and didn't take a notice. thnx, this helped
On Jan 22, 12:10 am, TeroV <[EMAIL PROTECTED]> wrote:
> azrael wrote:
> > lets supose i have a object
>
> >>>> class a:
> >>>> __init__(self,b):
> >>>>
A I Understood correctly, pyc files are compiled py scripts. Is it
possible to decomplite them.
I guess it's possible, but how hard is it.
--
http://mail.python.org/mailman/listinfo/python-list
I came across the fromfunc() function in numpy where you pass as an
argument the name of a function as a string and also the atributes for
the desired function.
I find this extremly usefull and sexy. Can someone point me how write
a function of such capabilities
--
http://mail.python.org/mailman/
Thaks guys. this helped
--
http://mail.python.org/mailman/listinfo/python-list
A little problem.
Can I directly show Pil objects "image.open("bla.jpg") in Wx or do I
have to transform them.
If I have to transofm them How can I do it. Pixel by pixel or is there
somethin built in in pil or wx or python.
pilj->wx and wx->pil.
--
http://mail.python.org/mailman/listinfo/python
I thought of using Temp files but I am afraid of the JPG destorsion
while saving because of the compresion.I am looking for a way to
directly transform it.
On Mar 13, 5:09 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> azrael wrote:
> > A little problem.
>
On Mar 13, 6:57 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> azrael wrote:
> > I thought of using Temp files but I am afraid of the JPG destorsion
> > while saving because of the compresion.I am looking for a way to
> > directly transform it.
>
>
You can use wxPython. Take a look on the DemoFiles that you can
download also from the site. I remember that there has been a demo of
capturing mouse coordinates and also one example about capturing Which
key has been pressed at which time.
Just start the time, count the interactions of key strokes
To be honest, in compare to Visual Studio, Gui Builders for wx widgets
are really bad. Also completly for python there is not one good
GuiBuilder. The only one I have seen that would come near VS was
BoaConstructor, But the number of Bugs is just horrific. Too bad that
no one is developing it furth
Sometimes I really get confused when looking out for a modul for some
kind of need. Sometimes I get frightened when I get the resaults. 8
wraper for this, 7 wrapers for that, 10 modules for anything. Between
them are maybe some kind of small differences, but to work with any of
the modules, I have
On Feb 12, 8:25 pm, J Kenneth King wrote:
> azrael writes:
> > To be honest, in compare to Visual Studio, Gui Builders for wx
> > widgets are really bad.
>
> That's because Visual Studio is a Microsoft product to build
> interfaces for Microsoft products.
>
Sometimes I really get confused when looking out for a modul for some
kind of need. Sometimes I get frightened when I get the resaults. 8
wraper for this, 7 wrapers for that, 10 modules for anything. Between
them are maybe some kind of small differences, but to work with any of
the modules, I have
On Feb 12, 9:24 pm, Tim Golden wrote:
> Philip Semanchuk wrote:
>
> > On Feb 12, 2009, at 3:04 PM, azrael wrote:
>
> >> Why will Microsoft's products kick the ass of open source. Because
> >> anyone does what he wants. Let's say There are 5 GUI librari
On Feb 12, 9:40 pm, Christian Heimes wrote:
> azrael wrote:
> > I think that there should be a list on python.org of supported or
> > sugested modules for some need. For example Database access. Or GUI
> > Building. It is a complete pain in the ass. Let's face the t
On Feb 12, 9:42 pm, Christian Heimes wrote:
> azrael wrote:
> > On Feb 12, 8:25 pm, J Kenneth King wrote:
> >> azrael writes:
> >>> To be honest, in compare to Visual Studio, Gui Builders for wx
> >>> widgets are really bad.
> >> That'
There is no need to make it elephant size. Python takes only 14 MB if
I am not wrong. Compare 10 GB of VS package in compare with that.
nothing. Python enthought edition is something really sweet. For
starters, Why does Python not have a build in library to handle
images. I don't get this. Why? PIL
is it possible to save a python object into a sqlite database as an
atribute of type BLOB
--
http://mail.python.org/mailman/listinfo/python-list
It logical that it would be more efficient and logical to use a object
oriented database, but in this case I ask because of the portable
nature of sqlite.
so, if I get it right, this should be possible
>>> class a:
>>> def __init__(self, a, b):
>>> self.c = a+b
>>> self.d = a*b
>>>
>>>
I am working on an application using Python, wxPython and Sqlite
(Pysqlite)
So my problem is that I can connect top the database. When I open a
dialog through a form I am able to make a select, even insert data
into the database. Even if I open again the Dialog.
But as soon as I close the main fr
On Oct 12, 8:26 pm, azrael <[EMAIL PROTECTED]> wrote:
> I am working on an application using Python, wxPython and Sqlite
> (Pysqlite)
>
> So my problem is that I can connect top the database. When I open a
> dialog through a form I am able to make a select, even insert dat
You know, sometimes it annoys me to write a for loop in Python. If we
use a list a=[1,2,3,4], and want to loop through it, Python offers the
next option
>>>for i in a:
>>> print i
>>>
1
2
3
4
I love this. So simple and smooth. But what happens if we need also
the position of an object in a list.
I know that. enumerate is a great function. But this way it always
adds some complexity. I think that it is more better to give a man a
better tool then to let him play with a not so good one. People like
Python because of his simplicity in comparison with c++. Maybe People
would like him even more
case closed
--
http://mail.python.org/mailman/listinfo/python-list
I need to implement a tree which will append a root. Any other node in
the tree will be triggered when a button is pressed.
I created the button, all the needed events, tree and a root. But when
I want to append a node pressing the button I don't know How.
My idea is using the wx.EVT_TREE_SEL_CHAN
Seen it already but looks to complicated. Someone knows a better way?
--
http://mail.python.org/mailman/listinfo/python-list
I am starting to work on a application and need some advice.
I am planing to develop a desktop application which would have some
usage, but also it should be able to comunicate to a web server which
hosts a php web application. So I wanted to ask if someone has some
expirience with connecting PHP
datacapturing, is there a better soulutioon to suggest to
be more secure like shttp if it is implemented in python
On Oct 21, 6:34 pm, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
> azrael a écrit :
>
> > I am starting to work on a application and need some advice.
>
> > I am p
I mean shttp. (secure hyper text transfer protocol)
On Oct 22, 9:48 am, Bruno Desthuilliers wrote:
> azrael a écrit :
>
> > There have been some discutions with my partner about which protocol
> > to use. We agreed to use also http. But we are looking for a
> > possibi
Why don't you give a try to IronPython. I began playin with it
yesterday, and as far as I can see, My worries about selling a python
application are gone, so far.
On Oct 22, 12:08 pm, Paul Boddie <[EMAIL PROTECTED]> wrote:
> On 21 Okt, 19:50, "Paulo J. Matos" <[EMAIL PROTECTED]> wrote:
>
>
>
whoever I ask, everyone tells me when it come to python and GUI-s and
that there is the best way to use WX. I am browsing for the 10th time
during the last year and I can still not bealive that there is not one
project to make gui-building easy as maybe in VB for python. Each I
tried was a pain in
It would be rally great if wingIDE would have integrated controls for
wxPython.This would be really great.
--
http://mail.python.org/mailman/listinfo/python-list
did anyone ply with the google earth python api. this is totaly
awsome. anyone got exampals?
--
http://mail.python.org/mailman/listinfo/python-list
As in Python everythong is an object you could use __name__.
>>> import cPickle
>>> def def1():
...pass
>>> def def2():
...pass
>>> def1.__name__
def1
>>> def2.__name__
def2
in this case you can combine __name__ to get the object name and then
combine it with eval to pickle.
>>> pickleSt
I am currently working on an application and I need a advise.
I am supposed to read data from a device connected to a serial port. I
am reading data using pySerial. The devise is sending signals with a
time between two signals of one second.
The application is supposed to collect the data and pu
lmost every thing, except these related to GUI.
How do you mean WYSIWYG. I know what you mean but Don't know egactly
what you mean.
>
> On Apr 5, 8:31 pm, azrael wrote:
>
> > I am currently working on an application and I need a advise.
>
> > I am supposed to read dat
I guess that this is not an option because of the case that the
calculation of the needed statistics takes not always the same time
nad I am afraid tht using sleep() would after a couple of time periods
skip a meassurement.
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 5, 9:48 pm, Dennis Lee Bieber wrote:
> On Sun, 5 Apr 2009 10:14:08 -0700 (PDT), azrael
> declaimed the following in gmane.comp.python.general:
>
> > DB saving, and anotherone for statistics and other stuff because it is
> > very important to save the signal which c
Hy folks,
I googled, and searched, and can not bealive that I have not found a
built in way to convert the easy and elegant python way a function to
easily convert simple ascii data to binary and back.
I've written some my own but they were pretty slow using binascii
linbrary with hexifly and unh
; On Aug 9, 11:18 pm, azrael <[EMAIL PROTECTED]> wrote:
>
> > Hy folks,
>
> > I googled, and searched, and can not bealive that I have not found a
> > built in way to convert the easy and elegant python way a function to
> > easily convert simple ascii data to b
t;[EMAIL PROTECTED]> wrote:
> azrael wrote:
> > looks nice. is there an oposite function of ord() so I could also
> > bring a binary number also back to ascii.
>
> > the speed matters if you plan to exchange about 10 M ascii chars and
> > don't wont to wait a year f
if you need a good python ide with great code completition, then why
don't you try WingIde.
On 11 kol, 10:49, [EMAIL PROTECTED] wrote:
> On 11 ago, 04:34, "SPE - Stani's Python Editor"
>
>
>
>
>
> <[EMAIL PROTECTED]> wrote:
> > On 10 aug, 20:42, [EMAIL PROTECTED] wrote:
>
> > > Hello,
>
> > > I'
1 - 100 of 111 matches
Mail list logo