Can you process seismographic signals in Python or should I switch to Matlab ?

2023-03-11 Thread a a
My project https://www.mathworks.com/help/matlab/matlab_prog/loma-prieta-earthquake.html -- https://mail.python.org/mailman/listinfo/python-list

Re: Can you process seismographic signals in Python or should I switch to Matlab ?

2023-03-13 Thread a a
On Sunday, 12 March 2023 at 06:17:54 UTC+1, avi.e...@gmail.com wrote: > I have used GNU Octave as a sort of replacement for MATLAB as a free > resource. I have no idea if it might meet your needs. > > Although Python is a good environment for many things, if you have no > know

Re: Can you process seismographic signals in Python or should I switch to Matlab ?

2023-03-13 Thread a a
On Monday, 13 March 2023 at 16:16:28 UTC+1, Thomas Passin wrote: > On 3/13/2023 12:39 AM, a a wrote: > > But what I need is analysis of seismograms from 4,000 seismographs world > > wide to detect P-wave energy distribution underground around the earthquake > > to verify

Re: Can you process seismographic signals in Python or should I switch to Matlab ?

2023-03-13 Thread a a
On Monday, 13 March 2023 at 16:12:04 UTC+1, Thomas Passin wrote: > On 3/13/2023 12:39 AM, a a wrote: > > But some unknown reasons Matplotlib and numpy crash my Python 3.8 for > > Windows , 32-bit and no support is offered > It is possible, using pip, to downgrade versions (e

Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-17 Thread a a
Crash report: Problem Caption: Problem Event Name: APPCRASH Application name: python.exe Application version: 3.8.7150.1013 Application time signature: 5fe0df5a Error module name:_multiarray_umath.cp38-win32.pyd Version of the module with the error: 0.0.0.0 Time signature of

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-18 Thread a a
On Friday, 17 March 2023 at 16:32:53 UTC+1, a a wrote: > On Friday, 17 March 2023 at 16:03:14 UTC+1, Thomas Passin wrote: > > On 3/16/2023 8:07 PM, a a wrote: > > > Crash report: > > > > > > Problem Caption: > > > Problem Event Name:

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-18 Thread a a
On Friday, 17 March 2023 at 16:03:14 UTC+1, Thomas Passin wrote: > On 3/16/2023 8:07 PM, a a wrote: > > Crash report: > > > > Problem Caption: > > Problem Event Name: APPCRASH > > Application name: python.exe > > Application version: 3.8.7150.1013 &

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-18 Thread a a
On Friday, 17 March 2023 at 16:03:14 UTC+1, Thomas Passin wrote: > On 3/16/2023 8:07 PM, a a wrote: > > Crash report: > > > > Problem Caption: > > Problem Event Name: APPCRASH > > Application name: python.exe > > Application version: 3.8.7150.1013 &

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-22 Thread a a
On Saturday, 18 March 2023 at 20:12:22 UTC+1, Thomas Passin wrote: > On 3/17/2023 11:52 AM, a a wrote: > > On Friday, 17 March 2023 at 16:32:53 UTC+1, a a wrote: > >> On Friday, 17 March 2023 at 16:03:14 UTC+1, Thomas Passin wrote: > >>> On 3/16/2023 8:07 PM, a

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-27 Thread a a
he the last-changed stuff stopped working, it's in a static state: > > > > by Christoph Gohlke. Updated on 26 June 2022 at 07:27 UTC > I did see that. The OP needs a version that would work with Windows 7 > and an older version of Python (3.7 or 3.8, IIRC), so things may w

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-27 Thread a a
On Monday, 27 March 2023 at 19:19:41 UTC+2, Thomas Passin wrote: > On 3/27/2023 10:07 AM, a a wrote: > > Ok, I know, I need to switch to Windows 10 run on another PC next to me. > > > > I need to learn how to copy and move every web page opened in Firefox as a > > ref

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-27 Thread a a
On Tuesday, 28 March 2023 at 02:07:43 UTC+2, Thomas Passin wrote: > On 3/27/2023 4:02 PM, Thomas Passin wrote: > > On 3/27/2023 3:07 PM, a a wrote: > >> On Monday, 27 March 2023 at 19:19:41 UTC+2, Thomas Passin wrote: > >>> On 3/27/2023 10:07 AM, a a wrote: >

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-28 Thread a a
On Tuesday, 28 March 2023 at 06:33:44 UTC+2, Thomas Passin wrote: > On 3/27/2023 8:37 PM, a a wrote: > >> To save the tabs, right click any one of them and select the "Select All > >> Tabs" item. They will all highlight. Right click on one of them and > >

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-28 Thread a a
On Tuesday, 28 March 2023 at 06:33:44 UTC+2, Thomas Passin wrote: > On 3/27/2023 8:37 PM, a a wrote: > >> To save the tabs, right click any one of them and select the "Select All > >> Tabs" item. They will all highlight. Right click on one of them and > >

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-28 Thread a a
On Tuesday, 28 March 2023 at 18:12:40 UTC+2, Thomas Passin wrote: > On 3/28/2023 8:47 AM, a a wrote: > > Ok, I can export bookmarks to html file and open it in Firefox to get > > a long list of clickable urls but icon of the bookmarked web page is > > missing. > > &

Re: How to add clickable url links to 3D Matplotlib chart ?

2023-03-29 Thread a a
On Wednesday, 29 March 2023 at 22:51:15 UTC+2, Greg Ewing wrote: > On 30/03/23 8:39 am, a a wrote: > > How to add clickable url links to the following 3D Matplotlib chart to make > > it knowledge representation 3D chart, make of 1,000+ open Tabs in Firefox ? > It seems that

Re: How to add clickable url links to 3D Matplotlib chart ?

2023-03-30 Thread a a
On Thursday, 30 March 2023 at 07:55:13 UTC+2, Christian Gollwitzer wrote: > Am 30.03.23 um 01:11 schrieb a a: > > On Wednesday, 29 March 2023 at 22:51:15 UTC+2, Greg Ewing wrote: > >> On 30/03/23 8:39 am, a a wrote: > >>> How to add clickable url links to the fo

Re: How to add clickable url links to 3D Matplotlib chart ?

2023-03-30 Thread a a
On Thursday, 30 March 2023 at 13:14:33 UTC+2, a a wrote: > On Thursday, 30 March 2023 at 07:55:13 UTC+2, Christian Gollwitzer wrote: > > Am 30.03.23 um 01:11 schrieb a a: > > > On Wednesday, 29 March 2023 at 22:51:15 UTC+2, Greg Ewing wrote: > > >> On 30/03/23 8:

Re: How to add clickable url links to 3D Matplotlib chart ?

2023-03-30 Thread a a
On Thursday, 30 March 2023 at 13:19:51 UTC+2, a a wrote: > On Thursday, 30 March 2023 at 13:14:33 UTC+2, a a wrote: > > On Thursday, 30 March 2023 at 07:55:13 UTC+2, Christian Gollwitzer wrote: > > > Am 30.03.23 um 01:11 schrieb a a: > > > > On Wednesday, 29 Marc

Python 2.4 decompiler

2005-09-01 Thread a a
A brand new python 2.4 bytecode decompiler has been released. The compiling service is now available and includes features to check the correctness of the output. Those who need the service can contact us at [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Alessandra Ambrosio

2007-04-13 Thread A - A
Alessandra Ambrosio www.alphasearch.gr-- http://mail.python.org/mailman/listinfo/python-list

spam magnet

2007-02-15 Thread a a
Hello, I hear (from google) that people get a lot of spam after posting to this list. That's nice, because I, [EMAIL PROTECTED] , happen to want a lot of spam :) Anyone who would like to send me their spam is welcome to as well (full headers please, I'm trying to track & corellate

Re: when the new version of XPN py2 newsreader src-tarball hits alt.binaries, the world will hold it's breath

2018-01-03 Thread a
py2 now, gotta fix that one -- https://mail.python.org/mailman/listinfo/python-list

Best way to construct an email - attach a html file and send

2006-08-09 Thread a
What is the best way to construct an email in python and also attach a html file the html file to be attached is not on disk, but should be dynamically constructed in the python script I want to attach the django debug error to an email and mail it to myself whenever there is an error in the

Re: Best way to construct an email - attach a html file and send

2006-08-12 Thread a
where is the link thanks a lot for your kind help Larry Bates wrote: > a wrote: > > What is the best way to construct an email in python and also attach a > > html file > > > > the html file to be attached is not on disk, but should be dynamically > > construct

keep a list of read and unread items

2006-08-13 Thread a
keep a list of read and unread items hi guys i m building an rss reader and i want you suggestions for datastructure for keeping read and unread list for each use i m assuming it will be very sparse thanks -- http://mail.python.org/mailman/listinfo/python-list

help parsing this

2006-08-14 Thread a
mx.DateTime.RangeError at /podcasts Failed to parse "31 Apr 2006 20:19:00 -0400": day out of range: 31 Python /usr/lib/python2.4/site-packages/mx/DateTime/Parser.py in DateTimeFromString, line 608 how to parse this date thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: Best way to construct an email - attach a html file and send

2006-08-23 Thread a
hey larry thanks Larry Bates wrote: > a wrote: > > What is the best way to construct an email in python and also attach a > > html file > > > > the html file to be attached is not on disk, but should be dynamically > > constructed in the python script > >

any subway experiences

2006-06-17 Thread a
thanks for reading -- http://mail.python.org/mailman/listinfo/python-list

any subway web dev experiences

2006-06-18 Thread a
subway is pythons ruby on rails competitor pls tell me if u hav any expereinces thanks -- http://mail.python.org/mailman/listinfo/python-list

templating languages for webdev

2006-06-23 Thread a
cheetah vs django vs kid Any of you have experience using kid templates please let us know what you feel about it thanks sincerely jason -- http://mail.python.org/mailman/listinfo/python-list

psyco+webpy

2006-06-26 Thread a
hi i tried psyco+webpy here is the error that i got please let me know if any of you has success run psyco+webpy thanks import web, psyco urls = ( '/', 'view', '/add','add' ) psyco.full() psyco.log() psyco.profile() Launching server: http://0.0.0.0:8080/ Traceback (most recent call last):

Re: psyco+webpy

2006-06-26 Thread a
> psyco.cannotcompile(??.GET) this gives an error message invalid syntax Amaury Forgeot d'Arc wrote: > a a écrit : > > hi i tried psyco+webpy > > > > here is the error that i got > > please let me know if any of you has success run psyco+webpy > >

global name is not defined - error

2006-06-27 Thread a
What I want --- I want to create a list of items from a function operating on an array of strings What I did - list=["s0","s1","s2"] l=len(list) for i in range(l): d_list[i]=f.do(list[i])

how do i make an array global

2006-06-27 Thread a
def fn(): for i in range(l) global count count[i]= how do i declare count to be global if it is an array subsequently i should access or define count as an array error: global name 'count' is not defined thanks -a -- http://mail.python.org/mailma

global name is not defined - error - but for array

2006-06-27 Thread a
def fn(): for i in range(l) global count count[i]= how do i declare count to be global if it is an array subsequently i should access or define count as an array error: global name 'count' is not defined thanks -a -- http://mail.python.org/mailma

Re: global name is not defined - error

2006-06-28 Thread a
i changed it to append and it started working but once in a while i m getting l_code.append( len(d_list_code[i]['entries']) ) IndexError: list index out of range but it is not permanent if i refresh, it goes away! Marco Wahl wrote: > "a" <[EMAIL PROTECTED]&

Re: how do i make an array global

2006-06-28 Thread a
hi bruno georg and erik you are right i m a newbie, i just want to do some stuff read out some stuff from a feed and display it in a page, so my py code, builds this list and when it goes to cheetah it gives me an error and hence i posted global has fixed the error but i keep getting this again

how do i use refreshCache with cheetah

2006-06-28 Thread a
how do i use refreshCache with cheetah -- http://mail.python.org/mailman/listinfo/python-list

Re: how do i make an array global

2006-06-28 Thread a
please tell me how to do it if i should not make it global like you guys worry i m not comfortable making it global and mutating it in every subblock thanks for reading and helping out -- http://mail.python.org/mailman/listinfo/python-list

cheetah - how do i use .refreshcaceh() in cheetah

2006-06-28 Thread a
cheetah - how do i use .refreshcaceh() in cheetah the doc is skimpy and doesnt tell more than you can use refreshcache with id to refresh a cache my code in html has #cache 30m, id =cachei #end cache -- http://mail.python.org/mailman/listinfo/python-list

what do you guys prefer for ajax?

2006-06-29 Thread a
what do you guys prefer for ajax? dojo mochikit prototype or somehting else/ -- http://mail.python.org/mailman/listinfo/python-list

list comprehension

2006-06-29 Thread a
can someone tell me how to use them thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: how do i make an array global

2006-06-29 Thread a
i understand index error but there is no index error in my code that is the problem! Marc 'BlackJack' Rintsch wrote: > In <[EMAIL PROTECTED]>, a wrote: > > > Traceback (most recent call last): > > File "C:\Python24\lib\site-packages\web.py", l

Re: list comprehension

2006-06-30 Thread a
) feeds_id.append(ix.id) ie not one variable but more variables thanks Simon Forman wrote: > a wrote: > > can someone tell me how to use them > > thanks > > basically, a list comprehension is just like a for loop, if you wrote > it out the "long way&quo

Re: list comprehension

2006-07-01 Thread a
if i remove the global i get an undefined error! it was suggested as a solution in this group below http://groups.google.com/group/comp.lang.python/browse_thread/thread/b7b2dcdc3e109f3e?hide_quotes=no#msg_8130543f82c6 thanks Simon Forman wrote: > a wrote: > > hi simon thanks for y

Re: list comprehension

2006-07-02 Thread a
hey guys this is gr8 but in cheetah i use for test in $ix $test.url end for to iterate thru loop now how do i iterate feed_list and feed_id along with i, thanks a lot N = [(ix.url, ix.id) for ix in feeds_list_select] feed_list, feed_id = zip(*N) or just feed_list, feed_id = zip(*[(ix.url

Python plugin for Netbeans

2008-12-15 Thread a
Netbeans added a python plugin to its plugin repository. Do you tried it? What do you think about this plugin? -- http://mail.python.org/mailman/listinfo/python-list

python gui

2010-05-04 Thread a
where's the best online resource for teaching about GUI building? Thanks Paul C -- http://mail.python.org/mailman/listinfo/python-list

indexing lists/arrays question

2010-05-13 Thread a
this must be easy but its taken me a couple of hours already i have a=[2,3,3,4,5,6] i want to know the indices where a==3 (ie 1 and 2) then i want to reference these in a ie what i would do in IDL is b=where(a eq 3) a1=a(b) any ideas? Thanks -- http://mail.python.org/mailman/listinfo

Re: indexing lists/arrays question

2010-05-13 Thread a
On 13 May, 15:47, Stefan Behnel wrote: > a, 13.05.2010 16:36: > > > this must be easy but its taken me a couple of hours already > > > i have > > > a=[2,3,3,4,5,6] > > > i want to know the indices where a==3 (ie 1 and 2) > >    indices = [ i for i,ite

Re: indexing lists/arrays question

2010-05-13 Thread a
On 13 May, 16:19, Tim Chase wrote: > On 05/13/2010 09:36 AM, a wrote: > > > this must be easy but its taken me a couple of hours already > > > i have > > > a=[2,3,3,4,5,6] > > > i want to know the indices where a==3 (ie 1 and 2) > > indexes = [i for (i

Re: indexing lists/arrays question

2010-05-13 Thread a
On 13 May, 17:41, Carey Tilden wrote: > On Thu, May 13, 2010 at 8:45 AM, a > wrote: > > On 13 May, 16:19, Tim Chase wrote: > >> On 05/13/2010 09:36 AM, a wrote: > > >> > this must be easy but its taken me a couple of hours already > > >> >

Re: indexing lists/arrays question

2010-05-13 Thread a
On 13 May, 18:18, Tim Chase wrote: > On 05/13/2010 10:45 AM, a wrote: > > > > > > >>> a=[2,3,3,4,5,6] > > >>> i want to know the indices where a==3 (ie 1 and 2) > > >> indexes = [i for (i, v) in enumerate(a) where v==3] > > >>&g

stopping execution window on error - newbie

2010-05-13 Thread a
I'm coding on an old windows laptop i write the code and double click the icon. it runs the program and writes results to a window. when the code finishes, the window closes, i do a time.sleep(10) to see what has happened. unfortunately when there is an error it just closes the window. a

Re: stopping execution window on error - newbie

2010-05-14 Thread a
On 14 May, 00:14, Mensanator wrote: > On May 13, 4:00 pm, a wrote: > > > I'm coding on an old windows laptop > > > i write the code and double click the icon.   > > Don't do that. > > > it runs the program and > > writes results to a window. &

python application question

2010-05-17 Thread a
this application, do they have to install matplotlib themselves or is there a better way? ps someone helped me with enumerate(), which works on the linux but not on the windows? thanks -- http://mail.python.org/mailman/listinfo/python-list

problem in event handling on change of variable value.

2012-05-07 Thread Nadhiya A
Hi, I want know how can I control Canoe tool from Python. I want to use Python as the mediator for linking CANoe and Matlab. Please give me some inputs regarding this. Thanks & Regards Nadhiya.A Larsen & Toubro Limited www.larsentoubro.com This Email may contain confidential or privileged in

Re: Unit testing beginner question

2011-05-23 Thread Andrius A
ne[:1]) > > TypeError: 'NoneType' object is unsubscriptable > > > > I thought that assertRaises will pass since TypeError exception will > > be raised? > > The second argument to assertRaises must be a function that > assertRaises will call. assertRa

getting rid of the recursion in __getattribute__

2023-05-24 Thread A KR
, I wrote a code following what the standard says: class Sample(): def __init__(self): self.a = -10 def __getattribute__(self, name): if name == 'a': return object.__getattribute__(self, name) raise AttributeError()

Help is needed!

2016-04-01 Thread A. ElKader
Hi, I am trying to do the following : I am trying to show the changes in the command line in real time in my Tkinter GUI, I managed to create the GUI and integrate the terminal into it, but I cant bind the buttons with the terminal, my code is : import Tkinterfrom Tkinter import *import subproce

writing to command line thru python gui

2016-04-01 Thread A. ElKader
I posted this question, no reply : Any advice : http://unix.stackexchange.com/questions/273573/write-to-terminal-in-tkinter-gui -- https://mail.python.org/mailman/listinfo/python-list

How to only read words within brackets/ parentheses (in .txt file) using Python

2019-09-04 Thread A S
I understand that reading lines in .txt files would look something like this in Python: with open('filename','r') as fd: lines = fd.readlines() However, how do I run my code to only read the words in my .txt files that are within each balanced parenthesis? I am not sure how to go about it

Finding lines in .txt file that contain keywords from two different set()

2019-09-08 Thread A S
My problem is seemingly profound but I hope to make it sound as simplified as possible.Let me unpack the details..: 1. I have one folder of Excel (.xlsx) files that serve as a data dictionary. -In Cell A1, the data source name is written in between brackets -In Cols C:D, it contains the

Extract sentences in nested parentheses using Python

2019-12-02 Thread A S
codes but none of them seems to be able to extract all the nested parentheses. They can only extract a portion of the nested parentheses. Any advice on what I've done wrong could really help! Here are the three codes I have done so far: 1st attempt: import re from os.path import join

Re: Extract sentences in nested parentheses using Python

2019-12-03 Thread A S
On Tuesday, 3 December 2019 01:01:25 UTC+8, Peter Otten wrote: > A S wrote: > > I think I've seen this question before ;) > > > I am trying to extract all strings in nested parentheses (along with the > > parentheses itself) in my .txt file. Please see the sample .

Re: Extract sentences in nested parentheses using Python

2019-12-05 Thread A S
On Tuesday, 3 December 2019 06:22:52 UTC+8, DL Neil wrote: > On 3/12/19 6:00 AM, Peter Otten wrote: > > A S wrote: > > I think I've seen this question before ;) > > In addition to 'other reasons' for @Peter's comment, it is a common > ComSc worked

Re: Extract sentences in nested parentheses using Python

2019-12-05 Thread A S
On Tuesday, 3 December 2019 23:48:21 UTC+8, Peter Otten wrote: > A S wrote: > > > On Tuesday, 3 December 2019 01:01:25 UTC+8, Peter Otten wrote: > >> A S wrote: > >> > >> I think I've seen this question before ;) > >> > >> > I a

Extract all words between two keywords in .txt file (Python)

2019-12-11 Thread A S
I would like to extract all words within specific keywords in a .txt file. For the keywords, there is a starting keyword of "PROC SQL;" (I need this to be case insensitive) and the ending keyword could be either "RUN;", "quit;" or "QUIT;". This is my samp

Re: Extract all words between two keywords in .txt file (Python)

2019-12-11 Thread A S
On Thursday, 12 December 2019 02:28:09 UTC+8, Ben Bacarisse wrote: > A S writes: > > > I would like to extract all words within specific keywords in a .txt > > file. For the keywords, there is a starting keyword of "PROC SQL;" (I > > need this to be case i

Re: Extract all words between two keywords in .txt file (Python)

2019-12-11 Thread A S
On Thursday, 12 December 2019 04:55:46 UTC+8, Joel Goldstick wrote: > On Wed, Dec 11, 2019 at 1:31 PM Ben Bacarisse wrote: > > > > A S writes: > > > > > I would like to extract all words within specific keywords in a .txt > > > file. For the keywords, t

Pkg iter_module for different versions of python

2020-02-09 Thread J A
as a sysadmin I've written several small tools as python command line apps that get installed with python setup.py install. I would now like to create another tool that would quickly list out all of my custom tools that may be installed on the system. so that others can get a quick menu of

Fwd: Pkg iter_module for different versions of python

2020-02-09 Thread J A
Might anyone know of a root place where python modules get saved to for both python2 and 3. I assume I'm looking for all of the places where "site-packages" can be written to. J -- Forwarded message ----- From: J A Date: Sun, 9 Feb 2020 at 17:56 Subject: Re: Pkg

Application setup like windows msi

2020-03-04 Thread J A
I was wondering g if there was a way to distribute an application that took advantage of user input like a windows .msi does. On linux of course. -- https://mail.python.org/mailman/listinfo/python-list

How to copy paragraphs (with number formatting) and images from Words (.docx) and paste into Excel (.xlsx) using Python

2020-03-22 Thread A S
I have contract clauses in Words (.docx) format that needs to be frequently copy and pasted into Excel (.xlsx) to be sent to the third party. The clauses are often updated hence there's always a need to copy and paste these clauses over. I only need to copy and paste all the paragraph

Re: How to copy paragraphs (with number formatting) and images from Words (.docx) and paste into Excel (.xlsx) using Python

2020-03-22 Thread A S
On Monday, 23 March 2020 01:58:38 UTC+8, Beverly Pope wrote: > > On Mar 22, 2020, at 9:47 AM, A S wrote: > > > > I can't seem to paste pictures into this discussion so please see both my > > current and desired Excel output here: > > > > https://st

Re: RAW_INPUT

2005-11-07 Thread A D
On Mon, 2005-11-07 at 07:57 -0800, john boy wrote: > I am having trouble with the following example used in a tutorial: > > print "Halt !" > s = raw_input ("Who Goes there? ") > print "You may pass,", s at this print line you need to do print &

first post: new to pythong. some questions.

2005-12-07 Thread shawn a
Hello. Im brand new to this list and to python.  Ive recently started reading about it  and am now in the tinkering stage.  I have a script im working on that i need some asistance debugging. Its super small and should be a snap for you gurus =) I have 2 files in a dir off my home dir

Native widgets for Python

2005-01-17 Thread A. Klingenstein
Which other GUI library for Python other than wxpython has native widgets for MS Windows ? I know there is MFC and GDI, but I want something easier to use than wx, not harder :) wxpython has to problem that it handles much more like a C++ library than a Python one sometimes. Alex -- http

help for conversion of NUMARRAY to PIL object

2005-09-15 Thread A. L.
hi, everybody here, I am a newbie to python. I encounter a problem that how to convert an array of numarray to pil object. For example, the data in an image is extracted using Image.getdata, then the data are converted into an array in numarray. But when the array is needed to convert to the

Re: help for conversion of NUMARRAY to PIL object

2005-09-15 Thread A. L.
[14]: img = Image.frombuffer('RGBA', (256,256), a) ", but it seems that "a" cannot work in "frombuffer". -- http://mail.python.org/mailman/listinfo/python-list

How to clear screen in Python interactive shell mode?

2005-09-15 Thread A. L.
In Python interactive mode, is there some function acting like 'clear' command in bash? Could somebody here give some advice? Thanks in advance. -- http://mail.python.org/mailman/listinfo/python-list

Re: help for conversion of NUMARRAY to PIL object

2005-09-16 Thread A. L.
Sorry, I make the mistakes. I have known how to use to/fromstring method to interface between PIL and Numarray. And your code does work. Another question. Just like the code you provide, is it possible to directly load image data from PIL to Numarray array without use of to/fromstring method?

Re: How to clear screen in Python interactive shell mode?

2005-09-16 Thread A. L.
Thank you very much. I have tested it under Cygwin, and that works. But it fails under Windows Python Shell Mode. -- http://mail.python.org/mailman/listinfo/python-list

Is There the Equivalent of FLT_EPS of C In Python?

2005-09-16 Thread A. L.
I am writing the code involved in numerical computation. When I need a float epsilon similar to FLT_EPS in C, eps in matlab, I fail to find the equivalent in python. Could somebody here can give me some advices? -- http://mail.python.org/mailman/listinfo/python-list

Re: How to clear screen in Python interactive shell mode?

2005-09-16 Thread A. L.
I have tested it under windows python console, and it works. Thank you very much. -- http://mail.python.org/mailman/listinfo/python-list

Re: Is There the Equivalent of FLT_EPS of C In Python?

2005-09-16 Thread A. L.
Thank you very much. I have searched in python's documentation, and I am sure that python doesn't provide an epsilon. -- http://mail.python.org/mailman/listinfo/python-list

Re: Is There the Equivalent of FLT_EPS of C In Python?

2005-09-16 Thread A. L.
According to pp 134 of "C: A Reference Manual", it's better to use eps*2 in your code. -- http://mail.python.org/mailman/listinfo/python-list

Debugging Python Scripts inside other processes

2005-03-12 Thread A. Klingenstein
I embedded Python in a Windows C++ program. Now I want to debug my embedded scripts which of course won't run in any IDE process. Commercial IDEs like WingIDE can attach to external processes by importing a module in the scripts. Is there a debugger capable of this which is Free or Open S

Re: Debugging Python Scripts inside other processes

2005-03-12 Thread A. Klingenstein
Robin Becker wrote: A. Klingenstein wrote: I embedded Python in a Windows C++ program. Now I want to debug my embedded scripts which of course won't run in any IDE process. Commercial IDEs like WingIDE can attach to external processes by importing a module in the scripts. Is there a deb

install questions

2004-12-28 Thread A Chan
r: No module named SOAPpy = Python script: import SOAPpy WSDL_URI = "http://www.xmethods.net/sd/2001/TemperatureService.wsdl"; service = SOAPpy.WSDL.Proxy(WSDL_URI) # if you are behind a proxy server, you need to set this service.soapproxy.http_proxy = 'PROXY_H

Problem installing Python in Win98se

2005-03-21 Thread Prescott, A.
Hi, I want to install Python on my Windows 98se system, but although I followed the instructions carefully, it won't run. Here's a copy of the Web instructions I followed, from Python.org: "Starting with the Python 2.4 releases the Windows Python installer is being d

no module named fcntl

2005-03-31 Thread Prakash A
Hello All,           I new user to python. I am using a product called FSH, some of its parts are implemented in Python. This is like a ssh to run a command on remote machine. First time while running the fsh there was on.       # fshd         Traceback (most recent call last

some sort of permutations...

2005-04-11 Thread Bernard A.
hello, i'm looking for a way to have all possible length fixed n-uples from a list, i think generators can help, but was not able to do it myself, maybe some one could point me out to an idea to do it ? for example, from : l = [0, 1, 2, 3, 4] and searching for n-uples of 3, i should pr

inner sublist positions ?

2005-04-20 Thread Bernard A.
hello, while trying to play with generator, i was looking for an idea to get the position of a inner list inside another one, here is my first idea : - first find position of first inner element, - and then see if the slice starting from here is equal to the inner -> >>> def subPos

Re: Addendum to Strategy/ Advice for How to Best Attack this Problem?

2015-03-29 Thread Saran A
assumption that this could be cross-platform. "Records" refers to > >> contents in a file. What are some suggestions from the Pythonistas? > >> > >> * Monitors a folder for files that are dropped throughout the day > >> > >> * When a file is drop

Re: Strategy/ Advice for How to Best Attack this Problem?

2015-03-30 Thread Saran A
On Sunday, March 29, 2015 at 10:04:45 PM UTC-4, Chris Angelico wrote: > On Mon, Mar 30, 2015 at 12:08 PM, Paul Rubin wrote: > > Saran Ahluwalia writes: > >> cross-platform... > >> * Monitors a folder for files that are dropped throughout the day > > > >

Re: Strategy/ Advice for How to Best Attack this Problem?

2015-03-31 Thread Saran A
On Monday, March 30, 2015 at 2:36:02 PM UTC-4, Dave Angel wrote: > On 03/30/2015 12:45 PM, Saran A wrote: > > On Sunday, March 29, 2015 at 10:04:45 PM UTC-4, Chris Angelico wrote: > >> On Mon, Mar 30, 2015 at 12:08 PM, Paul Rubin > >> wrote: > >>> Saran A

Re: Strategy/ Advice for How to Best Attack this Problem?

2015-04-01 Thread Saran A
On Tuesday, March 31, 2015 at 9:19:37 AM UTC-4, Dave Angel wrote: > On 03/31/2015 07:00 AM, Saran A wrote: > > > @DaveA: This is a homework assignment. Is it possible that you > could provide me with some snippets or guidance on where to place your > suggestions (for y

Re: Addendum to Strategy/ Advice for How to Best Attack this Problem?

2015-04-01 Thread Saran A
me other quick and dirty module. In addition, my ideal > >> assumption that this could be cross-platform. "Records" refers to > >> contents in a file. What are some suggestions from the Pythonistas? > >> > >> * Monitors a folder for files that are dropped

  1   2   3   4   5   6   7   8   9   10   >