I'm sorry; I somehow lost a newline in copypasting. At about line #105,
a newline is needed after "#return For loop"
(this has been fixed on the HTML version that was linked before.)
Adam Gomaa wrote:
> Hello, -tutor. I wrote this script in chemistry class, which gets the
> user's input for vari
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello, -tutor. I wrote this script in chemistry class, which gets the
user's input for various parts of the PV=nRT ideal gas law, then
calculates the missing variable, which you indicate by putting in an 'x'.
I've tried to follow 'best practices' per
Em Segunda 23 Outubro 2006 18:03, Asrarahmed Kadri escreveu:
> Folks,
>
> I have written a program which calculates teh frequency of each word that
> appears in a file. I would like to have your feedback.
Sorry, I couldn't resist. Others talked about your code, but here's what I use
(no, it's not
Asrarahmed, I saw this on the matplotlib site, perhaps it pertains to your situation:
The latest matplotlib-0.87.6 for windows was compiled with numpy
1.0rc2. Please do not upgrade matplotlib for windows if you are
running the latest numpy 1.0rc3. Check back soon as we hope to get a
binary build
I have installed numpy but still I am not able to use matplotlib.
the error is same:
>> from pylab import *RuntimeError: module compiled against version 102 of C-API but this versionof numpy is 109
The import of the numpy version of the nxutils module,_nsnxutils, failed. This is is ei
On 23/10/06, Kent Johnson <[EMAIL PROTECTED]> wrote:
> or for that matter
>return range(some_var:some_var+5)
[nit-pick]
That would be
range(some_var, some_var+5)
:-)
--
John.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mail
On 24/10/06, Asrarahmed Kadri <[EMAIL PROTECTED]> wrote:
> I have written a program which calculates teh frequency of each word that
> appears in a file. I would like to have your feedback.
> This program only handles .txt files. I want it to handle word documents
> also. How to accomplish this ..?
> I have written a program which calculates teh frequency of each word that
> appears in a file. I would like to have your feedback.
> This program only handles .txt files. I want it to handle word documents
> also. How to accomplish this ..???
Asrarahmed,
you have made a good start. one area o
Folks,
I have written a program which calculates teh frequency of each word that appears in a file. I would like to have your feedback.
This program only handles .txt files. I want it to handle word documents also. How to accomplish this ..???
Thanks.
Regards.
Asrarahmed
Code is as under:
I have installed numpy module.. Isnt that enough for using matplotlib...??
Or I need both numeric as well as Numpy..
Please reply.
Regards,
Asrar
On 10/23/06, Jason Massey <[EMAIL PROTECTED]> wrote:
Very possible:For gnuplot:
http://gnuplot-py.sourceforge.net/ See the instructions for using o
> > > 7 print 'Please enter values in the
> > > fields '
> > >
> > > When the excption occurs, no message is shown on the browser.
> > > If I run the script with IDLE, the message is printed and then the script
> > > exits.
> >
> >
> > import cgitb; cgitb.enable()
> > That spits errors to the web
Very possible:For gnuplot:http://gnuplot-py.sourceforge.net/ See the instructions for using on Windows.For Matplotlib:
http://matplotlib.sourceforge.net/installing.htmlPossibly what's confusing you is that both versions have external dependencies such as Numpy and Numeric (are those the same? I'l
Is it possible to use these tools on WIndows machine
-- To HIM you shall return.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
On Sun, 22 Oct 2006, Picio wrote:
> I would wonder if anyone knows something about programming Rabbit Core
> Modules, that normally were programmed diretctly with Dynamic C, with
> Python.
> I mean either:
> - something like using python to create code in dynamic suitable for
> the rabbit core
>
* Matt Richardson <[EMAIL PROTECTED]> [2006-10-22 16:56]:
> I just used it a couple of weeks ago to produce a histogram of
> randomly generated numbers. Read the documentation, it's well written
> and has good examples.
I met the current maintainer at the chipy (Chicago Python user group)
http://
>>> from pylab import *
#When i issued the above command, teh following error message is being displayed.
RuntimeError: module compiled against version 102 of C-API but this versionof numpy is 109
The import o
Asrarahmed Kadri wrote:
>
> Folks..
>
> I am trying to install Matplotlib on my windows machine. I have
> ActivePython 2.4.3 Build 12 (ActiveState Software Inc.) based on
> Python 2.4.3 (#69, Apr 11 2006, 15:32:42) [MSC v.1310 32 bit (Intel)] on
> win32.
>
> When I try to install matplotlib-
Folks..
I am trying to install Matplotlib on my windows machine. I have ActivePython 2.4.3 Build 12 (ActiveState Software Inc.) based onPython 2.4.3 (#69, Apr 11 2006, 15:32:42) [MSC v.1310 32 bit (Intel)] on win32.
When I try to install matplotlib-0.87.6, it gives me an error message "Python
Hi folks...
Thanks a lot, Kent for this great resource.
Remain blessed.
Regards,
Asrarahmed Kadri
On 10/23/06, Kent Johnson <[EMAIL PROTECTED]> wrote:
I thought this notice from the python-announce list might be of interesthere.KentSubject:
ANN: Resources for Python Newbies - a 30 minute v
I thought this notice from the python-announce list might be of interest
here.
Kent
Subject:
ANN: Resources for Python Newbies - a 30 minute video tour of the web (2
New ShowMeDo videos)
From:
Ian Ozsvald <[EMAIL PROTECTED]>
Date:
Sun, 22 Oct 2006 16:50:56 +0100
To:
[EMAIL PROTECTED], Kyran Dal
20 matches
Mail list logo