Difference in Setup Between Windows 10 Running Python 3.9 and Windows 11 Running Python 3.10

2022-05-01 Thread Brent Hunter
Hello, I was recently running a Windows 10 machine Python 3.9. I simply created a batch file titled "Start-AIG.bat" which simply contained the following: "pythonw AIG.py". It started a python program titled "AIG.py" and the Python dialog box was displayed on my screen, running all day and

Python Question re Executing a Script

2022-04-30 Thread Brent Hunter
) 1. How do I automatically run a python app at Windows startup? Thank you! Brent Hunter -- https://mail.python.org/mailman/listinfo/python-list

trying to improve my knn algorithm

2020-07-01 Thread hunter . hammond . dev
This is a knn algorithm for articles that I have gotten. Then determines which category it belongs to. I am not getting very good results :/ k = 23 training_folder = './data/training/' minn_folder = training_folder + 'Minnesota/' health_folder = training_folder + 'Health/' def

[issue39642] Behaviour of disabled widgets: widget.bind(func) -vs- w = widget(command=func)

2020-02-15 Thread Clinton Hunter
New submission from Clinton Hunter : Using the bind method, the event will still trigger when the widget is disabled. However, if using "command=" it doesn't. Wondering whether the behaviour between the two ways of setting up event handling should behave the same? Not a major i

[issue36956] Calling "functions" used to implement generators/comps easily cause crash

2019-06-16 Thread Hunter Turcin
Change by Hunter Turcin : -- versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issue36956> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2016-03-23 Thread Rian Hunter
Changes by Rian Hunter <r...@thelig.ht>: -- nosy: -rhunter ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10740> ___ __

[issue9924] sqlite3 SELECT does not BEGIN a transaction, but should according to spec

2016-03-23 Thread Rian Hunter
Rian Hunter added the comment: This bug can also lead to subtle and unintuitive "database is locked" bugs, even when a large timeout is set on the connection. Many, many people are affected by this bug (search the web for "python sqlite database is locked").

[issue9924] sqlite3 SELECT does not BEGIN a transaction, but should according to spec

2016-03-23 Thread Rian Hunter
Changes by Rian Hunter <r...@thelig.ht>: -- versions: +Python 3.2, Python 3.5, Python 3.6 ___ Python tracker <rep...@bugs.python.org> <http://bugs.pytho

[issue26625] SELECT-initiated transactions can cause "database is locked" in sqlite

2016-03-23 Thread Rian Hunter
Rian Hunter added the comment: duplicate of #9924 -- resolution: -> duplicate status: open -> closed ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue26625] SELECT-initiated transactions can cause "database is locked" in sqlite

2016-03-23 Thread Rian Hunter
New submission from Rian Hunter: When a transaction starts with a SELECT statement this can invoke a "database is locked" error if the SELECT statement is not exhausted or explicitly closed. This can lead to subtle "database is locked" bugs, even when a large timeout is s

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2016-03-23 Thread Rian Hunter
Rian Hunter added the comment: @mike Yes you're right, This bug report is different, my mistake. DB-API may require implicit transactions but pysqlite should open a transaction before *any* non-DDL statement, including "SELECT", not just DML statements. Currently one must issue a

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2016-03-23 Thread Rian Hunter
Changes by Rian Hunter <r...@thelig.ht>: Added file: http://bugs.python.org/file42251/test_sqlite.py ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2016-03-23 Thread Rian Hunter
Changes by Rian Hunter <r...@thelig.ht>: Removed file: http://bugs.python.org/file42250/test_sqlite.py ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2016-03-23 Thread Rian Hunter
Changes by Rian Hunter <r...@thelig.ht>: Added file: http://bugs.python.org/file42250/test_sqlite.py ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2016-03-23 Thread Rian Hunter
Changes by Rian Hunter <r...@thelig.ht>: Removed file: http://bugs.python.org/file42249/test_sqlite.py ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2016-03-22 Thread Rian Hunter
Rian Hunter added the comment: Implicit transactions can also cause mysterious "database is locked" bugs, even when a large timeout is set on the connection. Many, many people are affected by this bug (search the web for "python sqlite database is locked"). The attach

Re: Pipes

2015-08-10 Thread Roger Hunter
I agree that some of Python is simple but the description of subprocess is certainly not. I spent much of my working career using Fortran and TrueBasic on mainframes. I'd like programming to be more like holding a discussion to the computer in English instead of Sanscrit. Roger On Sun, Aug 9,

calculating binomial coefficients using itertools

2013-07-05 Thread Robert Hunter
from itertools import count, repeat, izip, starmap def binomial(n): Calculate list of Nth-order binomial coefficients using itertools. l = range(2) for _ in xrange(n): indices = izip(count(-1), count(1), repeat(1, len(l) + 1)) slices = starmap(slice, indices)

nimsg -- the Network Instant MeSsenGer

2013-06-14 Thread Hunter D
can post multiple times in a row. nimsg can be used as an alternative for IRC, for those times that you just want to have a small, local chat room. nimsg was written in Python 2.7.3, and does not require any non-standard libraries or modules. Happy hacking! Hunter D -- http://mail.python.org

Re: nimsg -- the Network Instant MeSsenGer

2013-06-14 Thread Hunter D
If you have any suggestions for features, bugs that you want to report, or just comments on the program in general, feel free to reply here. -- http://mail.python.org/mailman/listinfo/python-list

Re: Multiple threads

2011-11-16 Thread Michael Hunter
On Wed, Nov 16, 2011 at 9:27 AM, Dave Angel d...@davea.name wrote: On 11/16/2011 12:00 PM, Jack Keegan wrote: [...] Processes [...] and the OS is generally better at scheduling them than it is at scheduling threads within a single process.  If you have multiple cores, the processes can really

Re: Learning python reading software source code

2011-08-25 Thread Michael Hunter
On Thu, Aug 25, 2011 at 8:31 PM, Chetan Harjani chetan.harj...@gmail.com wrote: [read book, picked miro to read through] So I am looking for suggestions on how one can understand the code better. Any specific references I should look in as I stumble upon libraries n functions while reading or

Re: Announcing a new podcast: Radio Free Python

2011-08-24 Thread Michael Hunter
On Wed, Aug 24, 2011 at 2:50 PM, Terry Reedy tjre...@udel.edu wrote: [...] You can find it at http://www.radiofreepython.com/ as of this very minute. What a treat. Thank you. Please announce the next one too. No, please don't announce the next one. There should be a RSS feed. But please do

Re: Announcing a new podcast: Radio Free Python

2011-08-24 Thread Michael Hunter
On Wed, Aug 24, 2011 at 3:41 PM, Ethan Furman et...@stoneleaf.us wrote: [...] No, please don't announce the next one.  There should be a RSS feed. But please do announce the feed at regular intervals. Note, I didn't say announce the feed each release. In fact, I didn't even say announce the

Re: Embedding Python: estimate size of dict/list

2011-03-28 Thread Michael Hunter
On Mon, Mar 28, 2011 at 4:18 PM, Chris Angelico ros...@gmail.com wrote: [...] Obviously I could use PyObject_Str() and PyString_Size() to get a decent figure, but that seems like overkill. What I'm hoping for is some simple function that zips through a complex object and sums its approximate

Re: Developing a program to make a family tree.

2011-01-15 Thread Michael Hunter
On Fri, Jan 14, 2011 at 11:39 AM, Ata Jafari a.j.romani...@gmail.com wrote: Hi there. I'm trying to develop a program like family tree maker. I have all information, so there is no need to search on the net. This must be something like trees. Can someone help me? I'm at the beginning. Thanks.

[issue9942] Allow memory sections to be OS MERGEABLE

2010-09-25 Thread Kevin Hunter
Kevin Hunter hunt...@earlham.edu added the comment: Well, first, this would only work for large objects. [...] Why do you think you might have such duplication in your workload? Some of the projects with which I work involve multiple manipulations of large datasets. Often, we use Python

[issue9942] Allow memory sections to be OS MERGEABLE

2010-09-25 Thread Kevin Hunter
Kevin Hunter hunt...@earlham.edu added the comment: Why do you read it into a cStringIO? A cStringIO has the same interface as a file, so you could simply operate on the file directly. In that particular case, because it isn't actually a file. That workflow was my attempt at simplification

[issue9942] Allow memory sections to be OS MERGEABLE

2010-09-24 Thread Kevin Hunter
New submission from Kevin Hunter hunt...@earlham.edu: Should Python enable a way for folks to inform the OS of MADV_MERGEABLE memory? I can't speak for other OSs, but Linux added the ability for processes to inform the kernel that they have memory that will likely not change for a while

[issue9942] Allow memory sections to be OS MERGEABLE

2010-09-24 Thread Kevin Hunter
Kevin Hunter hunt...@earlham.edu added the comment: My first thought is Why is the reference counter stored with the object itself? I imagine there are very good reasons, however, and this is not an area in which I have much mastery. Answering the question as best I can: I don't know how

Re: strange thing after call PyObject_CallMethod

2009-01-03 Thread Bug Hunter
Thank you for so amazing debugging tutorial :). I owe you a beer. I found source of problem: then unhandled in python code exception occurs frame_dealloc() (Objects/frameobject.c:422) not called. Even if I call PyErr_Print(). But! If I call PyErr_Clear() then all okay! Docs says that both this

ElementTree XML Namspace

2008-11-14 Thread Hunter
We are reviewing a vendor who will output some data in an XML format. I will then use python to convert the data to another format for upload to another vendor. I'm having trouble with very basic steps with the sample file they sent me. My very simple test script is: from xml.etree.ElementTree

Re: SMTPlib inside function, extra tab

2008-10-08 Thread Hunter
Thank you Tino. I appreciate the help. Duh! Anything inside is preformatted text. I have tabs inside my preformatted text (without even thinking because it looks more normal because of the indent). I removed them and voila! def send_mail(fromaddress,tolist,msgsubj,messagebody):

SMTPlib inside function, extra tab

2008-10-07 Thread Hunter
I am writing a script that needs to send some emails. And I've used smtplib in the past and it is pretty easy. But I thought, gee it would be easier if I could just call it as a function, passing the from, to, subject, and message text. So I wrote it up as a function and it sort of works, but I

Conditional for...in failing with utf-8, Spanish book translation

2008-04-21 Thread Hunter
() if c in acceptable]) print word_key = + word_key --- Any ideas? I'm really stumped! Thanks, Hunter -- http://mail.python.org/mailman/listinfo/python-list

Re: Is a real C-Python possible?

2007-12-10 Thread hunter . grubbs
On Dec 9, 3:23 pm, [EMAIL PROTECTED] (Aahz) wrote: In article [EMAIL PROTECTED], Jack [EMAIL PROTECTED] wrote: I understand that the standard Python distribution is considered the C-Python. Howerver, the current C-Python is really a combination of C and Python implementation. There are

Re: Custom Tkinter scrollbar

2007-11-24 Thread Hunter . lennon
I ended up giving up on doing the scrollbar as a separate class, which is probably for the best. This is the pertinent code for what I wanted, and it does what I need it to do. I found the canvas-moving-w- mouse.py program helpful in getting started with this; some of the code is directly from

Custom Tkinter scrollbar

2007-11-14 Thread Hunter . lennon
I want to create a custom scrollbar using particular images, which will then be placed on a canvas to control another window on the canvas. Right now I am inheriting from scrollbar, but I do the movement with custom functions. When I create it and put in into the canvas with

Re: Car-ac-systems

2007-09-11 Thread Hunter Gratzner
[top posting fixed] Lew [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm starting to see blogspot as a synonym for spam. On Sep 11, 4:33 pm, John Timney \(MVP\) [EMAIL PROTECTED] wrote: Thats all it is. It may have been a usefully intended resource once, but they have no

Re: memory error with matplot

2006-12-07 Thread John Hunter
lisa == lisa engblom [EMAIL PROTECTED] writes: lisa Hi, I am using matplotlib with python to generate a bunch of lisa charts. My code works fine for a single iteration, which lisa creates and saves 4 different charts. The trouble is that lisa when I try to run it for the entire

Re: Global module variables as default parameters

2006-09-22 Thread John Hunter
Christoph == Christoph Haas [EMAIL PROTECTED] writes: Christoph Hi, list... I wondered if it's possible to use global Christoph (module) variables as default parameters. A simple Christoph working example: Christoph Christoph

urllib question

2006-08-21 Thread [EMAIL PROTECTED] Hunter Rojas
how can I retrieve a web page using an authenticated proxy? -- http://mail.python.org/mailman/listinfo/python-list

Re: newbie graphing recommendations ?

2006-07-17 Thread John Hunter
bearophileHUGS == bearophileHUGS [EMAIL PROTECTED] writes: bearophileHUGS I think MatPlotLib can do this too, if your bearophileHUGS computer is fast enough. i would also like to have the bars and graphs have nice shading if possible to give it a really attractive look.

tk filesave dialog triggers unexpected destroy event

2006-07-09 Thread John Hunter
The following behavior surprised me. I have a Tk window and launch a file save dialog from it. When the filesave dialog is finished, it calls callbacks bound to the destroy event on the main window. Is this expected, and can I avoid this? To expose the problem, run this script and click the

Re: image output in matplotlib

2006-07-03 Thread John Hunter
mart == mart jeeha [EMAIL PROTECTED] writes: mart Hey folks, I got a problem in printing images from a mart matplotlib - FigureCanvas Object (child of a wxFrame, mart library backend_wx) into jpeg-formatted files. (I like to mart create a sequence of images that I can assemble to

Re: numeric/numpy/numarray

2006-06-13 Thread John Hunter
Bryan == Bryan [EMAIL PROTECTED] writes: Bryan hi, what is the difference among numeric, numpy and Bryan numarray? i'm going to start using matplotlib soon and i'm Bryan not sure which one i should use. numpy is the successor to numarray and Numeric. All three do basically the

Re: how not to run out of memory in cursor.execute

2006-06-07 Thread John Hunter
[EMAIL PROTECTED] == [EMAIL PROTECTED] com [EMAIL PROTECTED] writes: [EMAIL PROTECTED] whenever you are using a package that leaks memory. [EMAIL PROTECTED] it can be appropriate to use Rpyc [EMAIL PROTECTED] (http://rpyc.wikispaces.com/) to run the leaking [EMAIL PROTECTED] code

curses event handling

2006-06-07 Thread John Hunter
I have a curses app that is displaying real time data. I would like to bind certain keys to certain functions, but do not want to block waiting for c = screen.getch() Is it possible to register callbacks with curses, something like screen.register('keypress', myfunc) Thanks, JDH --

Re: two of pylab.py

2006-05-09 Thread John Hunter
Diez == Diez B Roggisch [EMAIL PROTECTED] writes: I use debian/testing linux Linux debian/testing 2.6.15-1-686 I found some duplicate files in my system, I don't if the are both needed, should I delete one of the groups below and which one? site-packages/pylab.py is

Re: Non-web-based templating system

2006-05-01 Thread John Hunter
Alex == Alex Martelli [EMAIL PROTECTED] writes: Alex I have a certain fondness for the first over-100-lines Alex module I wrote for Python, which eventually resulted in: As well you should! YAPTU powers the entire matplotlib website (screenshots, FAQ, what's new, etc), as evidenced by

Re: Events in Python?

2006-04-26 Thread John Hunter
redefined == redefined horizons [EMAIL PROTECTED] writes: redefined Here is another non-pythonic question from the Java redefined Developer. (I beg for forgiveness...) redefined Does Python have a mechanism for events/event-driven redefined programming? The enthought traits

Re: Plotting package?

2006-04-25 Thread John Hunter
Andrew == Andrew Koenig [EMAIL PROTECTED] writes: Andrew This may be a foolish question, but what's the most Andrew straightforward way to plot a bunch of data in Python? in matplotlib/pylab from pylab import figure, show x = range(10) y = [val**2 for val in x] fig = figure()

Re: Phython and graphing

2006-04-20 Thread John Hunter
mostro == mostro [EMAIL PROTECTED] writes: mostro Hello, Can someone lead me to an easy way to create a mostro graph in Python. mostro For example, I have a script running that creates a list mostro of dates, times and values. I would like to turn this into mostro a graph.

Re: Using Python To Create An Encrypted Container

2006-04-17 Thread John Hunter
and Flatten - http://yawpycrypto.sourceforge.net/ pycrypto- http://www.amk.ca/python/code/crypto.html The python dependencies are very easy to install; just do the usual python setup.py install PLATFORMS: Tested on linux and win32 AUTHOR: John D. Hunter [EMAIL

Re: Calling Python from Matlab

2006-04-17 Thread John Hunter
AgenteSegreto == AgenteSegreto [EMAIL PROTECTED] writes: AgenteSegreto I've been a Matlab user for years and have recently AgenteSegreto started using Python with matplotlib and NumPy for AgenteSegreto most of my work. The only thing I found that is AgenteSegreto still lacking

Re: can I get the index number in for x in y loop?

2006-04-03 Thread John Hunter
Scott == Scott David Daniels [EMAIL PROTECTED] writes: Scott I cannot find the distance in meters between Paris and Scott London with: for i in range(10): print i Works for me def range(x): yield '332.8 km' for i in range(10): print i ...may not be considered best

Re: Matplotlib: How to set number of ticks on an axis?

2006-03-30 Thread John Hunter
Caleb == Caleb Hattingh [EMAIL PROTECTED] writes: Caleb It seems that the locater() classes are where I should Caleb look, and there seem to be some defaults in ticker.py: Caleb class AutoLocator(MaxNLocator): def __init__(self): Caleb MaxNLocator.__init__(self, nbins=9,

Re: Matplotlib: Histogram with bars inside grid lines...how??

2006-03-29 Thread John Hunter
Enigma == Enigma Curry [EMAIL PROTECTED] writes: Enigma I'm playing around with matplotlib for the first time. I'm Enigma trying to make a very simple histogram of values 1-6 and Enigma how many times they occur in a sequence. However, after Enigma about an hour of searching I

Re: Matplotlib: Histogram with bars inside grid lines...how??

2006-03-29 Thread John Hunter
Enigma == Enigma Curry [EMAIL PROTECTED] writes: Enigma pylab.xlim(0.5,6.5) should be: Enigma pylab.xlim(min_x-(bar_width/2),max_x+(bar_width/2)) Glad it's working better for you -- just a couple more smallish hints. You might prefer to have your grid lines behind, rather than above

Re: Computing correlations with SciPy

2006-03-16 Thread John Hunter
tkpmep == tkpmep [EMAIL PROTECTED] writes: tkpmep I want to compute the correlation between two sequences X tkpmep and Y, and tried using SciPy to do so without success.l tkpmep Here's what I have, how can I correct it? X = [1, 2, 3, 4, 5] Y = [5, 4, 3, 2, 1] import scipy

Re: FIR filtering

2006-03-15 Thread John Hunter
LabWINC == LabWINC [EMAIL PROTECTED] writes: LabWINC Hi all, i'm looking for a module to implement a digital LabWINC FIR filter! Can anyone help me? scipy.org Between scipy and matplotlib, you'll feel quite comfortable with python as a former matlab user help scipy.filter (see FIR

Re: FIR filtering

2006-03-15 Thread John Hunter
Terry == Terry Reedy [EMAIL PROTECTED] writes: Terry LabWINC [EMAIL PROTECTED] wrote in message Terry news:[EMAIL PROTECTED] If i type help scipy.filter it give me an error help scipy.filter File input, line 1 help scipy.filter ^ SyntaxError: invalid syntax

Re: Matplotlib logarithmic scatter plot

2006-03-01 Thread John Hunter
Derek == Derek Basch [EMAIL PROTECTED] writes: Derek formatter = FuncFormatter(log_10_product) Derek ax.xaxis.set_major_formatter(formatter) Derek ax.yaxis.set_major_formatter(formatter) I would caution you against using identical objects for the x and y axis *Locators*. For the

Re: Matplotlib logarithmic scatter plot

2006-02-28 Thread John Hunter
Derek == Derek Basch [EMAIL PROTECTED] writes: Derek Great! That worked fine after I played with it for a Derek bit. One last question though. How do I label the ticks Derek with the product of the exponentiation? For instance: Derek 100 Derek instead of Derek 10**2

Re: Matplotlib logarithmic scatter plot

2006-02-27 Thread John Hunter
Derek == Derek Basch [EMAIL PROTECTED] writes: Derek Thanks for the reply. I need a scatter plot though. Can Derek that be done? You can set the scale of xaxis and yaxis to either log or linear for scatter plots In [33]: ax = subplot(111) In [34]: ax.scatter( 1e6*rand(1000),

Re: matplotlib legend problem

2006-01-27 Thread John Hunter
bwaha == bwaha [EMAIL PROTECTED] writes: bwaha added the location argument. Finally realised it was due to bwaha having a default of 'best' location in my code which meant bwaha it went searching for intersection with lines that don't bwaha exist (outside of the LineCollection).

Re: scipy.plt legend?

2005-10-11 Thread John Hunter
gurkesaft == gurkesaft [EMAIL PROTECTED] writes: gurkesaft Thank you, Robert. I noticed how obsolete it is! gurkesaft There is no documentation. gurkesaft Matplotlib freezes my system if I close a plot and make gurkesaft a new one :(. Bah. Windows :) Have you seen the

Re: Creating Pie Chart from Python

2005-09-16 Thread John Hunter
Thierry == Thierry Lam [EMAIL PROTECTED] writes: Thierry Let's say I have the following data: 500 objects: -100 Thierry are red -300 are blue -the rest are green Thierry Is there some python package which can represen the above Thierry information in a pie chart? It looks like

Re: use SciPy with Python 2.4.1?

2005-08-24 Thread John Hunter
Robert == Robert Kern [EMAIL PROTECTED] writes: Robert [EMAIL PROTECTED] wrote: Is SciPy usable with Python 2.4.1? At http://www.scipy.org/download/ it says that 2.3.3 is recommended, and I don't see a binary for 2.4.1. Robert It is usable with Python 2.4.1 on Linux and

Re: while c = f.read(1)

2005-08-22 Thread John Hunter
Robert == Robert Kern [EMAIL PROTECTED] writes: Robert Greg McIntyre wrote: The 2nd option has real potential for me. Although the total amount of code is greater, it factors out some complexity away from the actual job, so that code is not obscured by unnecessary

Re: GUI tookit for science and education

2005-08-17 Thread John Hunter
James == James Sungjin Kim [EMAIL PROTECTED] writes: James Michele Simionato wrote: My vote is for ipython + matplotlib. Very easy and very powerful. James Is it really easier than to use MATLAB(TM)? Do you find matlab easy to use? What aspects are hard or easy? If you

Re: GUI tookit for science and education

2005-08-17 Thread John Hunter
Robert == Robert Kern [EMAIL PROTECTED] writes: RobertH = U*D*V.T Robert then I'm more than happy with that tradeoff. The small Robert syntactic conveniences MATLAB provides are dwarfed by the Robert intrinsic power of Python. Of course, U*D*V (transpose omitted for

Re: Gotchas in user-space matplotlib install?

2005-08-15 Thread John Hunter
Matt == Matt Feinstein [EMAIL PROTECTED] writes: Matt All in all, not actually excruciating-- and now I have a Matt working version of matplotlib! Matt Feinstein Great! While this is all fresh in your mind, would you be able to add a wiki entry at

Re: Gotchas in user-space matplotlib install?

2005-08-11 Thread John Hunter
Matt == Matt Feinstein [EMAIL PROTECTED] writes: Matt Hi all-- I'm planning to try to do a completely local Matt install of matplotlib (in Fedora Core 1)-- the system Matt administrator isn't going to stop me-- but he isn't going to Matt cooperate either. I've got the tarballs

Re: Passing a variable number of arguments to a wrapped function.

2005-08-05 Thread John Hunter
stephen == stephen [EMAIL PROTECTED] writes: stephen Is there a better way of doing this so that I don't have stephen to go through every permutation of possible arguments stephen (the example here from the matplotlib 'plot' function): You can make linecolor=None and

ANN: matplotlib 0.83.2

2005-08-02 Thread John Hunter
matplotlib is a 2D plotting package for python. This is a summary of recent developments in matplotlib since 0.80. For detailed notes, see http://matplotlib.sf.net/whats_new.html, http://matplotlib.sf.net/CHANGELOG and http://matplotlib.sf.net/API_CHANGES == Whats New == matplotlib wiki: this

ANN: matplotlib 0.83.2

2005-08-02 Thread John Hunter
matplotlib is a 2D plotting package for python. This is a summary of recent developments in matplotlib since 0.80. For detailed notes, see http://matplotlib.sf.net/whats_new.html, http://matplotlib.sf.net/CHANGELOG and http://matplotlib.sf.net/API_CHANGES == Whats New == matplotlib wiki: this

Re: Is there a better interactive plotter then pylab?

2005-04-27 Thread John Hunter
Charles == Charles Krug [EMAIL PROTECTED] writes: Charles List: I'm trying to us pylab to see what I'm doing with Charles some DSP algorithms, in case my posts about convolution Charles and ffts weren't giving it away. Charles I've been using pylab's plot function, but I'm

ANN: matplotlib-0.80

2005-04-14 Thread John Hunter
matplotlib is a 2D graphics package that produces plots from python scripts, the python shell, or embeds them in your favorite python GUI -- wx, gtk, tk, fltk and qt. Unlike many python plotting alternatives is written in python, so it is easy to extend. matplotlib is used in the finance

ANN: matplotlib-0.80

2005-04-14 Thread John Hunter
matplotlib is a 2D graphics package that produces plots from python scripts, the python shell, or embeds them in your favorite python GUI -- wx, gtk, tk, fltk and qt. Unlike many python plotting alternatives it is written in python, so it is easy to extend. matplotlib is used in the finance

Re: Gnuplot.py and, _by far_, the weirdest thing I've ever seen on my computer

2005-04-11 Thread John Hunter
syd == syd [EMAIL PROTECTED] writes: syd As for matplotlib, I checked it out. Looks amazing! I syd really, really like what demos I tried. syd HOWEVER, I could not find a good way to do smoothing. I like syd the gnuplot bezier smoothing. This wouldn't be the hardest syd

Re: Matplotlib question-- Numeric or numarray?

2005-04-08 Thread John Hunter
Matt == Matt Feinstein [EMAIL PROTECTED] writes: Matt I'm working my way through the matplotlib documentation Matt there's a point that's ambiguous-- the pdf file (dated Matt Mar. 1, 2005) warns of dire consequences if I use the Matt 'wrong' array package-- e.g., put numarray in

using distutils.command.config

2005-03-28 Thread John Hunter
I am trying to utilize the config module in distutils to test for certain headers and libraries and fail elegantly if they are not found with a helpful message. The typical gcc error message when a header is missing is inscrutable to many. I have subclassed config and can use my class with

Re: generic text read function

2005-03-17 Thread John Hunter
les == les ander [EMAIL PROTECTED] writes: les Hi, matlab has a useful function called textread which I am les trying to reproduce in python. les two inputs: filename, format (%s for string, %d for integers, les etc and arbitary delimiters) les variable number of outputs

Re: Minor, but annoying legend problem in matplotlib

2005-02-28 Thread John Hunter
Jorl == Jorl Shefner [EMAIL PROTECTED] writes: JorlThe obvious solution is to plot the lines and symbols in Jorl two different commands: ___ You want to explicitly pass the lines you want to legend into the legend command, as in Symb=

Re: MatPlotLib.MatLab troubles (how to install/run matplotlib.PyLab?)

2005-02-23 Thread John Hunter
Colombes == Colombes [EMAIL PROTECTED] writes: ColombesNow I only need to figure out how to install the Colombes correct Numeric module(s). I'm making progress, Colombes almost have my home laptop fully capable with the Colombes MatLab-like (PyLab) graphs, plots. You can

Re: MatPlotLib.MatLab troubles (how to install/run matplotlib.PyLab?)

2005-02-21 Thread John Hunter
Colombes == Colombes [EMAIL PROTECTED] writes: Colombes matplotlib.matlab deprecated, please import Colombes matplotlib.pylab or simply pylab instead. See Colombes http://matplotlib.sf.net/matplotlib_to_pylab.py for a Colombes script which explains this change and will

Re: Matplotlib, py2exe and pytz

2005-02-19 Thread John Hunter
scott == scott [EMAIL PROTECTED] writes: scott I am trying to convert a python app that uses matplotlib to scott a standalone executable using py2exe. scott After running py2exe and executing my app I get the scott following stack trace: scott Traceback (most recent call

Re: Getting milliseconds in Python

2005-02-16 Thread John Hunter
mjs7231 == mjs7231 [EMAIL PROTECTED] writes: mjs7231 This is no good, I am looking for milliseconds, not mjs7231 seconds.. as stated above. Well seconds/1000.0 = millseconds -- or are you worries about floating point error? 7 from datetime import datetime 8 dt = datetime.now() 9

Re: Commerical graphing packages?

2005-02-14 Thread John Hunter
Francis == Francis Girard [EMAIL PROTECTED] writes: Francis PyX might also be interesting, depending on your needs. While pyx is a very nice package, it is probably not a good choice for web app developers simply because it generates postscript, which is not very browser friendly. Once

Re: Variable size plot symbols, variable hue plot colors in Python (MatPlotLib) ?

2005-02-10 Thread John Hunter
Colombes == Colombes [EMAIL PROTECTED] writes: Colombes Using MatPlotLib plot function, is there a way to get Colombes variable size plot symbols? For example, using symbol Colombes strings like 'o' (circle), 's' (square), 'x' (cross), Colombes etc., is there a way to specify

Re: Medical GUI Application With Python

2005-02-05 Thread John Hunter
Evrim == Evrim Ozcelik [EMAIL PROTECTED] writes: Evrim We are developing a medical software about PSG Evrim (PolySomnoGraphy) analysis. The application takes signal Evrim data from an electronic device and we will show this Evrim continious signal function on the interfaces.

Re: exporting mesh from image data

2005-02-04 Thread John Hunter
Fernando == Fernando Perez [EMAIL PROTECTED] writes: Fernando I hope you posted this on the VTK list with a CC to Fernando Prabhu as well... The hopes of a positive reply there Fernando are, I suspect, a fair bit higher. The scipy list would Fernando be a good idea, too. Hey

exporting mesh from image data

2005-02-03 Thread John Hunter
I am trying to generate a mesh for a finite volume solver (gambit, fluent) from 3D image data (CT, MRI). To generate the fluent msh file, you need not only a list of vertices and polygons, much like what is available in the vtk file format, but also the volume elements in the mesh that the

Re: barchart for webpage needed

2005-01-31 Thread John Hunter
dimitri == dimitri pater [EMAIL PROTECTED] writes: dimitri Hello, I am looking for a Python tool to create graphs dimitri and charts on a webpage. Chartdirector is too expensive dimitri for me. A simple script for creating a barchart should be dimitri sufficient as a starting

Re: Python's idiom for function overloads

2005-01-31 Thread John Hunter
Frans == Frans Englich [EMAIL PROTECTED] writes: Frans Hello, Frans Since Python doesn't have static typing, how is the same Frans result as traditional function overloads results in Frans acheived? With function overloads the selection of code Frans path depending on data

python and gpl

2005-01-30 Thread John Hunter
I have a question about what it takes to trigger GPL restrictions in python code which conditionally uses a GPL library. Here is the context of my question. matplotlib, which I develop, is a plotting module which is distributed under a PSF compatible license, and hence we avoid using GPLd code

Re: Installing Numeric with ATLAS and LAPACK

2005-01-28 Thread John Hunter
drife == drife [EMAIL PROTECTED] writes: drife Hello, Could someone please provide instructions for drife install Numeric with ATLAS and LAPACK? Locate libcblas.a and add that dir to the setup.py library_dirs_list. Eg on my system, /usr/local/lib/ATLAS/lib/Linux_P4SSE2_2/libcblas.a

handling xls with pyuno

2005-01-28 Thread John Hunter
Does anyone have any example scripts using the OpenOffince python-bridge module pyuno to load xls, extract the data, and/or save to another format such as xsc or csv. Thanks, JDH -- http://mail.python.org/mailman/listinfo/python-list

Re: Installing Numeric with ATLAS and LAPACK

2005-01-28 Thread John Hunter
drife == drife [EMAIL PROTECTED] writes: drife Thanks John. Those are the steps I followed, and to no drife avail. Make sure you get a clean build by rm -rf ing the build dir before you build again. Then capture the output of your build to a file. When you say to no avail what do

  1   2   >