My project
https://www.mathworks.com/help/matlab/matlab_prog/loma-prieta-earthquake.html
--
https://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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:
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
&
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
&
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
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
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
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:
>
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
> >
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
> >
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.
> >
&
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
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
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:
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
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
www.alphasearch.gr--
http://mail.python.org/mailman/listinfo/python-list
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
py2 now, gotta fix that one
--
https://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
> >
thanks for reading
--
http://mail.python.org/mailman/listinfo/python-list
subway is pythons ruby on rails competitor
pls tell me if u hav any expereinces
thanks
--
http://mail.python.org/mailman/listinfo/python-list
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
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):
> 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
> >
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])
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
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
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]&
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
--
http://mail.python.org/mailman/listinfo/python-list
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
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?
dojo
mochikit
prototype
or somehting else/
--
http://mail.python.org/mailman/listinfo/python-list
can someone tell me how to use them
thanks
--
http://mail.python.org/mailman/listinfo/python-list
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
)
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
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
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
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
where's the best online resource for teaching about GUI building?
Thanks
Paul C
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
>
> >> >
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
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
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.
&
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
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
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
, 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()
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
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
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
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
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
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 .
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
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
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
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
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
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
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
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
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
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
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 &
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
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
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
[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
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
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?
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
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
I have tested it under windows python console, and it works.
Thank you very much.
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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
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
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
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
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
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
> >
> >
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
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
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 - 100 of 1193 matches
Mail list logo