Ok, thanks :)
On 5 Feb 2006 13:01:23 -0800, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> os.system("useradd ...")
>
> Its not pretty, but it gets it done.
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
http://mail.python.org/mailman/listinfo/python-list
Hi
Does anybody know from where I can get a copy of the source for Python
V2.4.2. I downloaded what is reckoned to be the source code from
www.python.org, but is turns out to be the MacXOS version with the core
modules missing. The reason I am looking for the source code is so I can
make a debug b
Hi,
I am also considering a switch from Matlab to NumPy/SciPy at some
point.
Note that in the last version of Matlab (7?) you don't have to use
'find', but you now can 'conditional arrays' as an index, so instead
of
idx=find(a>5);
a(idx)=6;
you can do:
cond=a>5;
a(cond) = 6;
or even shor
John Dean wrote:
> Does anybody know from where I can get a copy of the source for Python
> V2.4.2. I downloaded what is reckoned to be the source code from
> www.python.org, but is turns out to be the MacXOS version with the core
> modules missing.
the source archives available here seem to be c
oops...I tried it but i got a bad segmentation fault!!Is really a good threading implementation?2006/2/2, Josiah Carlson <[EMAIL PROTECTED]
>:My response is at the end.Sbaush <
[EMAIL PROTECTED]> wrote:> Hi all.> I've a problem with thread in python.> My applications has a GUI that has some button.
Steve Holden wrote:
>> Add logging to your program:
>> http://www.python.org/doc/2.3.5/lib/module-logging.html
>>
> Probably oiverkill, particularly for a beginner (is it only me that
> thinks the logging module is either way over-complicated or way
> under-documented?).
No, I would agree with
Thank you for a very quick, informative and concise response.
> BTW: don't forget to attach a handler to the window-size-change
> signal (SIGWINCH) so that you know when your terminal changes sizes
Do you mean something like this?
import signal, os
# terminal_info contains the example from my fi
I have written a daemon which should run endlessly. The structure looks
like this:
- start-stop-daemon forks my python program
then:
if __name__=="__main__":
try:
main()
except Exception,e
def main():
# I need a starter to use the program also from the unittests
John Dean wrote:
> Hi
>
> Does anybody know from where I can get a copy of the source for Python
> V2.4.2. I downloaded what is reckoned to be the source code from
> www.python.org, but is turns out to be the MacXOS version with the core
> modules missing. The reason I am looking for the source c
so does your subject line.
Stefan Neumann wrote:
>try:
>main()
>except Exception,e
>
note that "except Exception" doesn't, in today's Python, catch all
possible exceptions.
>>> class MyException:
... pass
...
>>> try:
... raise MyException
... except Exception:
.
I V wrote:
> Nicola Musatti wrote:
[...]
> > Factory functions (or classes) are there to solve this problem and
> > still allow a clean separation of concerns. Although instances of Klass
> > are created uninitialized, they only live in this state within their
> > factory and only reach trhe outsi
--
http://mail.python.org/mailman/listinfo/python-list
Thomas Guettler wrote:
> Hi,
>
> Is there an application like Squirrelmail[1] written in python?
>
> I want to access IMAP folder with a web-browser.
>
> Google shows me some dead projects. Most webmail applications
> seem to be written in PHP. Is there a useable webmailer written
> in python?
Nicola Musatti wrote:
> > def factory(info):
> > k = Klass()
> > data = get_initial_data(info)
> > k.set_data(data)
> > return k
> >
> > to:
> >
> > def factory(info):
> > data = get_initial_data(info)
> > return Klass(data)
> >
> > What would be the value of doing the init
Ivan Voras:
> I mentioned it because, as far as I know the Lua's intepreter doesn't do
> implicit locking on its own, and if I want to run several threads of
> pure Lua code, it's possible if I take care of data sharing and
> synchronization myself.
Lua's interpreter will perform synchroni
Hi
That particular file doesn't include the implementation files for the core
modules. The platform specific directories only include two or three files.
Only the Mac directory contains any C code files
--
Best Regards
John
--
http://mail.python.org/mailman/listinfo/python-list
[John]
> That particular file doesn't include the implementation files for the core
> modules.
*Which* particular file? Give us a URL. The source tarball at
http://www.python.org/2.4.2/ (full URL
http://www.python.org/ftp/python/2.4.2/Python-2.4.2.tgz) contains the full
source.
--
Richie Hind
Hi
I downloaded what I thought was the source code from
http://www.python.org/2.4.2/python-2.4.2.tgz
--
Best Regards
John
--
http://mail.python.org/mailman/listinfo/python-list
Mark Fink wrote:
> one minor issue is still left:
> correct me if I am wrong: result of 2/-3 is 0 (at least this is how it
> is defined in the testcase)
> In Jython 2.1.3:
>
2/-3
>
> -1
CPython gives the same result and the language reference says, "Plain or
long integer division yields an
Ivan Voras wrote:
> Ivan Voras wrote:
>
> > Because "bar and aba happen to be parts of extension library" :)
>
> To end this disussion: I meant "doing it in C" as a colloquial
> expression, not a technical one. The expression holds true for every
> case where a function/class/module/etc is impleme
John Dean wrote:
> I downloaded what I thought was the source code from
> http://www.python.org/2.4.2/python-2.4.2.tgz
that's an error page:
Error 404: File Not Found
--
http://mail.python.org/mailman/listinfo/python-list
John Dean wrote:
> That particular file doesn't include the implementation files for the core
> modules. The platform specific directories only include two or three files.
> Only the Mac directory contains any C code files
$ date -u
Mon Feb 6 11:14:15 UTC 2006
$ wget http://www.python.org/ftp/py
Hello all,
I'm handling some text files where I don't (necessarily) know the
encoding beforehand. Because I use regular expressions to parse the
text I *must* decode UTF16 encoded text (otherwise the regexes split on
byte boundaries).
I can recognise UTF8 and BOM and remove (but not necessarily d
Robert Kern wrote:
> A better place to ask would be [EMAIL PROTECTED] . By the
> way, Numeric has undergone a rewrite and is now known as numpy.
>
thanks for the pointer! it is a bit confusing with all of the different
numerical
modules (Numeric, numpy, scipy, ScientificPython, numarray, etc...
Steven D'Aprano wrote:
>
> It is good to be cautious. Big thumbs up. But what exactly are you worried
> about? Do you think your users might enter something Evil and break their
> own system? I'd suggest that's not your problem, and besides, it is hard
> to think of anything they could do with eva
On Mon, 06 Feb 2006 12:12:43 +0100, Fredrik Lundh wrote:
> John Dean wrote:
>
>> I downloaded what I thought was the source code from
>> http://www.python.org/2.4.2/python-2.4.2.tgz
>
> that's an error page:
>
> Error 404: File Not Found
Ah, that explains why it wouldn't compile...
*wink*
Has anyone recompiled the Scientific Computing package using NumPy instead
of Numeric?
I need a least squares algorithm and a Newton Rhaphson algorithm which is
contained in Numeric but all the documentation out there says that Numeric
is crap and all code should be using NumPy.
Thanks,
Bryan
On 2/6/06, mclaugb <[EMAIL PROTECTED]> wrote:
> Has anyone recompiled the Scientific Computing package using NumPy instead
> of Numeric?
> I need a least squares algorithm and a Newton Rhaphson algorithm which is
> contained in Numeric but all the documentation out there says that Numeric
> is crap
Steve Holden:
>Rene Pijlman:
>> Add logging to your program:
>> http://www.python.org/doc/2.3.5/lib/module-logging.html
>>
>Probably oiverkill, particularly for a beginner (is it only me that
>thinks the logging module is either way over-complicated or way
>under-documented?).
It struck me as s
Hi !
I have a text processor code and I want to put the results to standard
files.
HTML, XML, SQLite - they are ok.
But I want to put these datas to DBF too, because when records are many,
does not fit in Excel table (load from HTML). XML and SQLite need some
development to get datas.
I need
This page documents the differences. It seems that NumPy is supported and
more recent.
http://numeric.scipy.org/
"linda.s" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On 2/6/06, mclaugb <[EMAIL PROTECTED]> wrote:
> Has anyone recompiled the Scientific Computing package using Nu
> 3. Any good ebooks or links to start with. (according to the web this is
the
> best place to start.)
If you get the point of wantig to buy a book, I can recommend Python Visual
Quickstart Guide by Chris Fhris Fehily as a very good text for beginners. I
has helped me a lot.
--
http://mail.py
I agree that python code is usually smaller... but what you did is too
unfair (the code below would be more suitable for the comparrison).
python:
print "%10.2f" % 10
java:
System.out.println(String.format("%10.2f", 10.0));
-- altough for me it would be the same, as I have defined a print
meth
Rene Pijlman wrote:
> But I do think that adding logging to a cgi script is a sensible thing to
> do for a beginner. Getting that to run in a debugger is probably way more
> complicated.
on the other hand, adding
if 1: # set to 0 when deploying
print ""
print cgi.escape(repr(
On 2006-02-05, Piotr Husiatynski <[EMAIL PROTECTED]> wrote:
> I'm new at GUI programming. I've heard about Gazpacho but I couldn't find
> any tutorial about it on Internet (even on the gazpacho page). Becouse of
> that fact, I've installed Glaze, but there's probably no tutorials for
> python too
As of version 0.4.x, Scipy exclusively uses the newer NumPy module
instead of the older Numeric module. The confusion is inevitable in
this time of transition, but their intent is to standardize on one
array package.
Brendan
--
Brendan Simons
mclaugb wrote:
> This page documents the difference
Can anyone provide me with advice on how easy (or otherwise) it is to
drive a Flash animation (stored locally but displaed in a browser) with
a Python application. Basically information is getting streamed to a
Python client and this is expected to update the Flash animation.
It sounds odd, but it
Jorgen Grahn wrote:
>>> [...] developer had
>>> commented out about 50 lines of C++ code by just putting a /* at the top
>>> and a */ at the bottom.
[...]
> ("#if 0" in C and C++ are better choices, but only marginally. Best is to
> remove the code unless you are sure it's needed again soon. Work
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
|> example:
|> unix time inserted at first row: 1138839839.64456
|> unix time as retrieved in psql: 1.13884e+09
|> unix time retrieved by psycopg2: 113884.0
| Note: When timestamp values are stored as double precision
| floating-point numbers (cu
Steven Watanabe wrote:
> I know that the standard idioms for clearing a list are:
>
> (1) mylist[:] = []
> (2) del mylist[:]
>
> I guess I'm not in the "slicing frame of mind", as someone put it, but
> can someone explain what the difference is between these and:
>
> (3) mylist = []
>
> Why a
Fabio Zadrozny wrote:
> I agree that python code is usually smaller... but what you did is too
> unfair (the code below would be more suitable for the comparrison).
>
> python:
> print "%10.2f" % 10
>
> java:
> System.out.println(String.format("%10.2f", 10.0));
Though String.format() is new in
Byte wrote:
> Yes, sorry, didnt realise diffrence between int and input. Since i'm
> such an idiot at this, any links to sites for people who need an
> unessicerily gentle learning curve?
The Python tutor mailing list is for newbies:
http://mail.python.org/mailman/listinfo/tutor
Many beginners' t
Bas wrote:
> I am also considering a switch from Matlab to NumPy/SciPy at some
> point.
>
> Note that in the last version of Matlab (7?) you don't have to use
> 'find', but you now can 'conditional arrays' as an index, so instead
> of
> idx=find(a>5);
> a(idx)=6;
> you can do:
> cond=a>5;
>
Hello,
I am including at the end of this document (is it better as an attachment?)
some code
for a small gui dialog. Since I am quite new to this, if anyone has any
suggestions
for improvements to the code, bad coding practices, poor gui design, etc... I'd
love
to hear it. This list has been
Will McGugan wrote:
> Steven Watanabe wrote:
>
>>I know that the standard idioms for clearing a list are:
>>
>> (1) mylist[:] = []
>> (2) del mylist[:]
>>
>>I guess I'm not in the "slicing frame of mind", as someone put it, but
>>can someone explain what the difference is between these and:
>>
>
John Bauman wrote:
> "Matt Helm" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>
>>However, what is the proper way to recover the actual string? I have
>>been using:
>>
>> r.split("\0", 1)[0]
>>
>
> I'd prefer to use
> r[:-1]
> to strip off the last character of the string.
>
On 5 Feb 2006 01:19:43 -0800, Ravi Teja <[EMAIL PROTECTED]> wrote:
> Why is no one talking about ActiveGrid, which at least on the surface
> seems to be the most polished way to build web applications in Python
> so far. They have a sound financial backing, $10 million when I last
> heard, made n
DO NOT BRING YOUR OWN BOOKS
For inventory security reasons, please do NOT bring your own books to the
bookstore to be signed. Mixing attendee books with store books in a party
atmosphere would be difficult to manage and we need to be considerate of the
store. I mispoke in the original announc
Chason Hayes wrote:
> I am trying to convert raw binary data to data with escaped octets in
> order to store it in a bytea field on postgresql server. I could do this
> easily in c/c++ but I need to do it in python. I am not sure how to read
> and evaluate the binary value of a byte in a long strin
Hi
Thank you very much. It seems the version tar that is embedded in WinRAR is
broken. It gets as far as the Mac directory and then bombs out. The version
of tar that is bundled with CygWin worked just fine
--
Best Regards
John
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, 06 Feb 2006 13:35:10 +, Steve Holden wrote:
>> I'm wondering why there is no 'clear' for lists. It feels like a common
>> operation for mutable containers. :-/
>>
> Because it's just as easy to create and assign a new empty list (and
> have the old unused one garbage collected).
>
>
rodmc wrote:
> Can anyone provide me with advice on how easy (or otherwise) it is to
> drive a Flash animation (stored locally but displaed in a browser) with
> a Python application. Basically information is getting streamed to a
> Python client and this is expected to update the Flash animation.
> It's perfectly good Python, though, so just forget about it or wrap it
> in a "cstring(s)" function do you don't have to look at it!
Thanks for the sanity check. I just wanted to make sure I was correct
as well as right.
Matt
--
http://mail.python.org/mailman/listinfo/python-list
"John Bauman" <[EMAIL PROTECTED]> writes:
> "Matt Helm" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> However, what is the proper way to recover the actual string? I have
>> been using:
>>
>>r.split("\0", 1)[0]
>>
> I'd prefer to use
> r[:-1]
> to strip off the last charact
Kent Johnson wrote:
>Fabio Zadrozny wrote:
>
>
>>I agree that python code is usually smaller... but what you did is too
>>unfair (the code below would be more suitable for the comparrison).
>>
>>python:
>>print "%10.2f" % 10
>>
>>java:
>>System.out.println(String.format("%10.2f", 10.0));
>>
Hello all,
I'm trying to detect line endings used in text files. I *might* be
decoding the files into unicode first (which may be encoded using
multi-byte encodings) - which is why I'm not letting Python handle the
line endings.
Is the following safe and sane :
text = open('test.txt', 'rb').read
On Tue, 07 Feb 2006 01:01:43 +1100,
Steven D'Aprano <[EMAIL PROTECTED]> wrote:
> On Mon, 06 Feb 2006 13:35:10 +, Steve Holden wrote:
>>> I'm wondering why there is no 'clear' for lists. It feels like a common
>>> operation for mutable containers. :-/
>>>
>> Because it's just as easy to create
You have not stated where the Python code needs to reside.
On the server, you can use XML-RPC or SOAP. Flash either supports them
natively or has libraries for those. Your web service servers can be
written in Python. This is the perhaps the best approach.
On the client, Python can be installed a
Is Scipy the same thing as ScientificPython?
I am confused if SciPy is just the new version. they appear to be separate
things.
Bryan
"Brendan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> As of version 0.4.x, Scipy exclusively uses the newer NumPy module
> instead of the older
On 2006-02-06, Joel Hedlund <[EMAIL PROTECTED]> wrote:
> Thank you for a very quick, informative and concise response.
>
>> BTW: don't forget to attach a handler to the window-size-change
>> signal (SIGWINCH) so that you know when your terminal changes sizes
>
> Do you mean something like this?
>
>
Fuzzyman enlightened us with:
> My worry is that if '\n' *doesn't* signify a line break on the Mac,
> then it may exist in the body of the text - and trigger ``ending =
> '\n'`` prematurely ?
I'd count the number of occurences of '\r\n', '\n' without a preceding
'\r' and '\r' without following '\n
Sybren Stuvel wrote:
> Fuzzyman enlightened us with:
> > My worry is that if '\n' *doesn't* signify a line break on the Mac,
> > then it may exist in the body of the text - and trigger ``ending =
> > '\n'`` prematurely ?
>
> I'd count the number of occurences of '\r\n', '\n' without a preceding
>
Durumdara <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]:
> Can anybody known about DBASE handler module for Python ?
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/362715
max
--
http://mail.python.org/mailman/listinfo/python-list
Am Mon, 06 Feb 2006 11:36:37 +0100 schrieb Max M:
> Thomas Guettler wrote:
>> Hi,
>>
>> Is there an application like Squirrelmail[1] written in python?
>>
>> I want to access IMAP folder with a web-browser.
>>
>> Google shows me some dead projects. Most webmail applications
>> seem to be writte
> > So after all, what is a 'factory' or 'factory function'?
>
> A brief explanation in Python terms is at
> http://www.aleax.it/ep03_pydp.pdf -- "pages" (slides) 37-44 (the rest of
> the presentation is about an even more fundamental design pattern,
> "template method"). A far more extensive essa
Giovanni Bajo wrote:
> Martin Biddiscombe wrote:
>
>
>>"parameter=12ab"
>>"parameter=12ab foo bar"
>>"parameter='12ab'"
>>"parameter='12ab' biz boz"
>>"parameter="12ab""
>>"parameter="12ab" junk"
>
>
import shlex
def extract(s):
>
> ... s = s.split("=")[1]
> ... s = shlex.split
I'm just want to read in the contents of a (text) file. The text file
is filled with semiColon delimited floating point strings...
0.456;1.265;99.742;...
For some reason, I can't get the contents back when I call file.read()
Here's my code.
filePath = "C:\\folder\\myFile.txt
fileHandle = open(
Ernesto wrote:
> I'm just want to read in the contents of a (text) file. The text file
> is filled with semiColon delimited floating point strings...
>
> 0.456;1.265;99.742;...
>
> For some reason, I can't get the contents back when I call file.read()
> Here's my code.
>
> filePath = "C:\\folder
Ernesto:
>fileHandle = open(filePath, 'r').read();
Remove this:
open() returns the filehandle, open().read() returns the data read from
the filehandle.
--
René Pijlman
--
http://mail.python.org/mailman/listinfo/python-list
Byte wrote:
> Yes, sorry, didnt realise diffrence between int and input. Since i'm
> such an idiot at this, any links to sites for people who need an
> unessicerily gentle learning curve?
>
I'm new to Python too, here's a few I've found useful:
http://www.greenteapress.com/thinkpython/
http://w
if you want the numbers you can combine it into one-liner
nums = file(r"C:\folder\myFile.txt").read().split(";")
the numbers are in string representation in the list
you can no do
nums = [float(num) for num in nums]
Regards, Daniel
--
http://mail.python.org/mailman/listinfo/python-list
Fredrik Lundh wrote:
> Nicola Musatti wrote:
>> What is important to me is to keep your get_initial_data() function
>> outside Klass if it's task is non trivial, e.g. it has to interact with
>> the OS or a DB.
>
> why ?
In order to simplify testing.
--Scott David Daniels
[EMAIL PROTECTED]
--
ht
for line in PM_File_Handle.readlines():
PM_fields = line.split(';')
# Is there a way to get the size of PM_Fields here ?
# Something like
size = PM_fields.size( )
# I could not find this attribute in the python docs. Thanks
--
http://mail.python.org/mailman/listinfo/python-list
6 Feb 2006 08:32:18 -0800, Ernesto <[EMAIL PROTECTED]>:
> for line in PM_File_Handle.readlines():
> PM_fields = line.split(';')
>
> # Is there a way to get the size of PM_Fields here ?
> # Something like
>
> size = PM_fields.size( )
>
> # I could not find this attribute in the python docs.
On Mon, 06 Feb 2006 13:39:17 +, Steve Holden wrote:
> Chason Hayes wrote:
>> I am trying to convert raw binary data to data with escaped octets in
>> order to store it in a bytea field on postgresql server. I could do this
>> easily in c/c++ but I need to do it in python. I am not sure how to
On Sun, 05 Feb 2006 21:07:23 -0800, Alex Martelli wrote:
> Chason Hayes <[EMAIL PROTECTED]> wrote:
>...
>> easily in c/c++ but I need to do it in python. I am not sure how to read
>> and evaluate the binary value of a byte in a long string when it is a non
>> printable ascii value in python.
>
Thanks !
--
http://mail.python.org/mailman/listinfo/python-list
Fredrik Lundh wrote:
> Nicola Musatti wrote:
[...]
> > What is important to me is to keep your get_initial_data() function
> > outside Klass if it's task is non trivial, e.g. it has to interact with
> > the OS or a DB.
>
> why ?
Separating the internal logic of an application from its interaction
Thanks to all.
--
http://mail.python.org/mailman/listinfo/python-list
Hello there,
i need to write a script that can transfer info back and forth with a
data server at so-and-so ip.
i have Programming Python, which covers socket programming. So thats
cool. But what i need to know how to do is make a message in ascii that
is what the server is looking for.
for examp
I'm still fairly new to python, so I need some guidance here...
I have a text file with lots of data. I only need some of the data. I
want to put the useful data into an [array of] struct-like
mechanism(s). The text file looks something like this:
[BUNCH OF NOT-USEFUL DATA]
Name: David
A
Thanks guys,
No, i did not know about isdigit ?
very helpful. Thanks.
esp liked the "overloaded doohicky' bit.
thanks again.
--
http://mail.python.org/mailman/listinfo/python-list
QOTW: "Excessive cleverness can lead to unmaintainable code. So can
excessive stupidity." -- Alan Morgan
"Also Python code is pretty bare-metal, so that file.write or
socket.write go to the syscall immediately. Try that in Java and you'll
find 30 layers of complex abstractions for doubtful benef
Hi List,
I am trying to write a simple threaded application which will simulate 1000
connections to a remote service in order to "stress test" that the remote
service can handle that many connections.
However, I have encountered the following error after I have started my 381st
thread:
--
>>> lst = [1,2,3]
>>> len(lst)
3
>>> lst.__len__()
3
in genereal all objects which implements __len__
can be passed to built-in function len
>>> len
just to give one example how this can be used
>>> class X(object):
... def __len__(self):
... print "this instance has __len_
Ernesto:
>1. How to search for the keywords "Name:", "Age:", etc. in the file...
You could use regular expression matching:
http://www.python.org/doc/lib/module-re.html
Or plain string searches:
http://www.python.org/dev/doc/devel/lib/string-methods.html
>2. How to implement some organized "li
Tuvas wrote:
> The stuff that it runs aren't heavily processor intensive, but rather
> consistant. It's looking to read incoming data. For some reason when it
> does this, it won't execute other threads until it's done. Hmmm.
> Perhaps I'll just have to work on a custom read function that doesn't
>
Lee Leahu:
>I am trying to write a simple threaded application which will simulate 1000
>connections to a remote service in order to "stress test" that the remote
>service can handle that many connections.
[...]
>Is there a way to accomplish what I am trying to do, perhaps in a more
>memory-frie
> I would like to have an array of "structs." Each struct has
>
> struct Person{
> string Name;
> int Age;
> int Birhtday;
> int SS;
> }
the easiest way would be
class Person:
pass
john = Person()
david = Person()
john.name = "John Brown"
john.age = 35
etc
think of
Hello -
Last night I wrote my first code in Python -- a little
producer/consumer toy to help me begin to understand things. The
"Library" only has a few books. You can choose how many Readers are
trying to check out the books. When no books are available, they have
to wait until some other Reader r
Hi all. I would get this element in xml:I have write this:
date=ET.SubElement(idsreq,"date")
date.set("month",month) date.set("day",day)but i get this:
The attributes are not in my order!!how i can get the attributes in right order???
Thanks all.-- Sbaush
--
http://mail.python.org/m
Hi All,
PyDev - Python IDE (Python Development Enviroment for Eclipse) version
1.0 has been released.
Check the homepage (http://pydev.sourceforge.net/) for more details.
Details for Release: 1.0
Yeap, that's right, Pydev has reached its 'adulthood', so... enjoy it!
Major highlights:
mclaugb wrote:
> Is Scipy the same thing as ScientificPython?
No. They are two separate projects. Scientific Python is still
Numeric-only. SciPy 0.3.x is Numeric-based and SciPy 0.4.x is NumPy-based.
The developers for NumPy are also the developers for SciPy (for the most
part).
There is a
mclaugb wrote:
> Is Scipy the same thing as ScientificPython?
> I am confused if SciPy is just the new version. they appear to be separate
> things.
They are separate projects.
--
Robert Kern
[EMAIL PROTECTED]
"In the fields of hell where the grass grows high
Are the graves of dreams allowed
Hi All,
Pydev Extensions 1.0 has been released
Check the homepage (http://www.fabioz.com/pydev/) for more details.
Pydev Extensions is a commercial product, and works with Eclipse and the
Pydev "Open Source" version, and has features such as:
* Code completion with auto-import
* Code a
The read function used actually is from a library in C, for use over a
CAN interface. The same library appears to work perfectly find over C.
I wrote an extention module for it. The function t_config is the
threaded function that will call a function called config once per
second. Note the time.tim
mclaugb wrote:
> Is Scipy the same thing as ScientificPython?
> I am confused if SciPy is just the new version. they appear to be separate
> things.
> Bryan
No, Scientific Python is "a collection of Python modules that are useful
for scientific computing" written by Konrad Hinsen. I'm not a use
mclaugb wrote:
> Has anyone recompiled the Scientific Computing package using NumPy instead
> of Numeric?
What "Scientific Computing" package? I don't know of any package under that
name. AFAIK, Konrad Hinsen has not yet ported his ScientificPython package to
numpy, yet.
scipy 0.4+ is ported to
In article <[EMAIL PROTECTED]>,
"MackS" <[EMAIL PROTECTED]> wrote:
> I just read that on some systems perl allows you to rename the
> process by assigning to $0:
>
> http://www.linuxquestions.org/questions/showthread.php?t=401299
>
> Is there a way to do the same in python? My trouble is that
Sbaush wrote:
> I would get this element in xml:
>
>
>
> I have write this:
>
> date=ET.SubElement(idsreq,"date")
> date.set("month",month)
> date.set("day",day)
>
> but i get this:
>
>
>
> The attributes are not in my order!!
> how i can get the attributes in right order???
XML
1 - 100 of 189 matches
Mail list logo