please help...writing set to a file

2009-06-18 Thread yadin
Good day every one! I got this python program that returns me a set like this.. Set ([‘A\n’, B\n’, ‘C\n’, ‘D\n’, ‘E\n’, ‘F\n’, ‘G\n’ ]) And a list pp = [‘100\n’ ‘200\n’ ‘300\n’ ‘400\n’] I was reading this from a file…. How can I transform this to something that looks like this Column1 Column 2

Re: finding repeated data sequences in a column

2009-05-21 Thread yadin
On May 20, 6:53 pm, norseman norse...@hughes.net wrote: bearophileh...@lycos.com wrote: yadin: How can I build up a program that tells me that this sequence 128706 128707 128708 is repeated somewhere in the column, and how can i know where? Can such patterns nest

finding repeated data sequences in a column

2009-05-20 Thread yadin
Good day everyone! I have a a table, from where I can extract a column. I wanna go down trough that column made of numbers examine undetermined chunks of data and see or detect if that sequence of chunk of data has been repeated before and if it has been repeated detect it by giving it a name in

Re: finding repeated data sequences in a column

2009-05-20 Thread yadin
On May 20, 11:16 am, bearophileh...@lycos.com wrote: yadin, understanding what you want is probably 10 times harder than writing down the code :-) I have a a table, from where I can extract a column. You can extract it? Or do you want to extract it? Or do you want to process it? Etc. I

xyz points and magnitude to intensity or colormap or contourmap

2007-09-29 Thread yadin
hi! how do you do contour maps with vtk? i have 3600 points for each point i have a corresponding magnitude. i plane to do contour maps that is i plot each point with a different color (representing its magnitude ) how can i do this with using python, matplotlib or vtk? does any one have a similar

developing an application

2007-09-27 Thread yadin
hi! i was buiding an application using python...a program this was my first one...now that i got it working perfectly how can i put the bunch of files into one package? the user of the appliation will not know where to start? that is which file to click on in oder to start the program? thanks a

building a GUI

2007-09-23 Thread yadin
if i were up to make a GUI chich are the advantages of choosing python over matlab or java? -- http://mail.python.org/mailman/listinfo/python-list

sentance containg the string or symbol Ω

2007-08-23 Thread yadin
how can i print a sentance containg the string or symbol Ω in python and also lambda? -- http://mail.python.org/mailman/listinfo/python-list

3D plot of 50 lines kwing end points using VTK

2007-08-21 Thread yadin
does anyone know how to plot multimple lines like lets say... 50 lines each liine is defined beetween two given points using VTK. a litlle example will be ok please on python and VTK thank you -- http://mail.python.org/mailman/listinfo/python-list

passing variables and values to texboxdisplays

2007-08-17 Thread yadin
hi! Can any one tell me why is it that i can't see my second frame and why is the value of freq not Appended in the First frame ...thanks I know it is wx python but it has to do with passing variables.thanks import wx def create(parent): return Frame1(parent) [wxID_FRAME1, wxID_FRAME1FREQ,

help to make program better

2007-08-17 Thread yadin
hi! Can any one tell me why is it that i can't see my second frame and why is the value of freq not Appended in the First frame ...thanks I know it is wx python but it has to do with passing variables.thanks import wx def create(parent): return Frame1(parent) [wxID_FRAME1, wxID_FRAME1FREQ,

help to make program better

2007-08-17 Thread yadin
hi! Can any one tell me why is it that i can't see my second frame and why is the value of freq not Appended in the First frame ...thanks I know it is wx python but it has to do with passing variables.thanks import wx def create(parent): return Frame1(parent) [wxID_FRAME1, wxID_FRAME1FREQ,

help on object programing

2007-08-17 Thread yadin
class big(self): x = 32 list = [] def inside (self): class small(self): # a new class defined inside the first y = 348 list.append(y) # send the value to first list list.append(x) print list how can i define my variables so that there

ploting issues in program

2007-08-16 Thread yadin
hi every one! can you please help me to fix these polar plot in db's so that the center is at the minimun negative number in voltagedb about [-50] and the maximun is at zero and how can i see values on the axis like showing that the axes start at -50 -40 -30 .and end at zero than you here is

about negative polar plots

2007-08-14 Thread yadin
hi am doing a polar plot of the radiation pattern of an antenna. the polar plots represents the value of the power in dB's and the dB go from -40dB to 0dB as the angle theta changes from 0 to 2*pi rads the polar plot in python goes with positive values how can i solve this problem rough example

about negative polar plots not defined in python not even matlab

2007-08-14 Thread yadin
high i think everybody has seen dB radiation pattern plots... well those are done with negative polar plots ...the values of the magnitude in the axes are NEGATIVE values... but i can find a polar plot command that those negative plots not in python not even in matlab the polar plots represents

negative values on polar plot (decibels polar plots )

2007-08-14 Thread yadin
hi every one can you please can you help me to fix these polar plot in db's so that the center is at the minimun negative number in voltagedb about [-50] and the maximun is at zero how can i see values on the axies like showing that the axes start at -40 -30 .0 than you import wx import os

negative polar axis

2007-08-13 Thread yadin
hi! how can i do polar plot in python with negative axes that is the value of the magnitude is negative -- http://mail.python.org/mailman/listinfo/python-list

create a toolbar + images using wxpython for windows

2007-07-31 Thread yadin Bocuma Rivas
hi everery one I Need help on getting examles of how to create a toolbar with images using wxpython on a windows pc how can i add a toolbar to a GUI all sample codes i could find contain errors. i did the following but it is wrong! what is it with the IMAGES? do i have to create them, load

how to add a toolbar to a Frame using wxpython

2007-07-31 Thread yadin
hi please am learning wxpython and I Need help on getting examles of how to create a toolbar with images that is add a toolbar to a Frame using wxpython using wxpython on a windows pc how can i add a toolbar to a GUI all sample codes i could find contain errors. i did the following but it is

link between python and the windows command prompt

2007-07-23 Thread yadin
hi! i need to know how i can run ussal commands that i ussally type at the windows command prompt from a python file. that is for example from the windows command prompt i ussually type cd D:\folder\ nec2++ - i inputfile.nec -o outputfile.out now how can i execute this command that i ussually