mycommand = i = 1\nif i = 1:\n\tprint 'Test passed'\nelse:\n\tprint
'test failed'
exec(mycommand)
Test passed
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ori
Sent: Monday, August 13, 2007 5:23 PM
To: users@lists.ironpython.com
Subject: Re:
have mercy!
--Thane
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ori
Sent: Monday, August 13, 2007 5:23 PM
To: users@lists.ironpython.com
Subject: Re: [IronPython] Using blocks separators instead of indentation
Thanks but I did not ask if it is ugly
, 3, 4, 5, 6, 7, 8, 9, 10, 11]
arr.fromlist(l)
arr
array('I', [0L, 1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L, 11L])
type(arr)
type 'array.array'
Thane Plummer
TKP Inc.
Augusta, GA
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus
Thane Plummer
TKP Corp.
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.472 / Virus Database: 269.8.14/845 - Release Date: 6/12/2007
6:39 AM
___
users mailing list
users@lists.ironpython.com
http
the newline
sequence, but this is a new one for me. Is this behavior intended?
--Thane
P.S. I've fixed the behavior so my IDE works nicely, otherwise it doesn't
recognize the newline.
Thane Plummer
TKP Corp.
No virus found in this outgoing message.
Checked by AVG Free
Here's how I implement intellisense in Python. This is very easy for an
interactive command line, and a bit trickier for an editor. The code was
gleaned from an Idle implementation, and I haven't changed it in years. It
works fine with both CPython and IronPython, returning both the stdlib and
The md5 is a known issue; I know Seo has code, but I seem to recall a post
saying that it didn't work (http://sparcs.kaist.ac.kr/~tinuviel/fepy/lib ).
Kevin Chu posted an md5 module to this list - you might give try using that
before spending too much time investigating your sys.path.
--Thane
Here's a link to the Udell video:
http://weblog.infoworld.com/udell/screenroom/ironpython_wmv.html
An excellent overview of ipy by Jim.
At the risk of sounding redundant, thanks to the entire IronPython team for
creating such a great 1.0 release!
import this
_
From:
question makes me wonder if Python can be
all things to all programmers, and my thinking is: no, it can't. Trying to
make it so will just pollute the language.
--Thane
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian Lloyd
Sent: Friday, March 31, 2006
The C++ guys would be glad to provide you with pointers.
The Managed C++ people will give you pointers, but only safe ones.
The C# group will give you pointers, but only if they _really_ have to.
The Python group gives you pointers all the time, but you're never really
aware of it.
But seriously
You can try this: http://www.magna-capital.com/Articles/PythonIDE.html
I wrote it for my personal use, so I can't guarantee anything and there's no
help manual (yet). Feel free to try it out and use it if you like.
--Thane
-Original Message-
From: [EMAIL PROTECTED] [mailto:users
statement completion (this is a BIG plus for
compilers), while the SQL equivalent of select-from-where does not permit
this.
--Thane
-Original Message-
From: Michael Latta [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 20, 2005 12:47 PM
To: 'Discussion of IronPython'; [EMAIL PROTECTED
There are two approaches: 1) wrap the unmanaged API in managed C++, or, 2)
rewrite the library in managed code (IronPython?). Also, I think the
Numeric library would be preferable to Numpy, although I'd bet Numpy has a
larger user base. Option 1 could be done fairly quickly, but option 2 is
the
Correction: the library I was thinking of is called Numarray. See
http://www.stsci.edu/resources/software_hardware/numarray
I think that numpy is the import name for the Numerical library
originally created by Paul Dubois.
_
Also, I think the Numeric library would be preferable
14 matches
Mail list logo