>> I'd appreciate any feedback on this and good tutorials or books on
>> Python 3 and the IDEs suggested. There are many available and I'm
>> wondering what you as users find effective.
I fiddled a bit with the Eric Python IDE; Eric5 for Python3 and Eric4
for Python2; overall I'd say that Eclipse
Ah, nice! Thank you! Sseeing the formal rules makes it easier:
http://www.diveintopython.net/unit_testing/stage_5.html
A regex is used to test whether the roman numeral is valid. Very elegant!
Regards,
Albert-Jan
~~
All right
On 27/02/12 15:22, John Jensen wrote:
I'm new to programming and wondering about an IDE for Python on Linux.
Linux is an IDE :-)
But, smiley's aside it's true. You can use basic tools like
vim, emacs and terminal windows etc. To cut n paste between
them is trivial (Much more so than in Window
> I wrote a little program that does the conversion (I won't post it because it
> would be a spoiler for the OP). The one thing I don't know, though, is how to
> formalise
> that it is not allowed to write something like X, but instead just
> II. Or not DM but simply D. The rule is to wr
On 27/02/12 16:28, Albert-Jan Roskam wrote:
possible way. Am I wrong or is it really not trivial at all to write an
error class for such lengthy roman numerals?
Its non trivial, you need something like a state machine to detect valid
transitions as you read each character.
Alan G.
Hi,
I wrote a little program that does the conversion (I won't post it because it
would be a spoiler for the OP). The one thing I don't know, though, is how to
formalise
that it is not allowed to write something like X, but instead just II.
Or not DM but simply D. The rule is to write i
On 27/02/12 14:41, Cranky Frankie wrote:
<
That's one option.
The OP also had the option of using a lookup table(dictionary)
or just using elifs instead of nested ifs.
Often a different algorithm helps.
Also functional programming (ie. not just procedural!) can reduce the
numbers of indenta
Hi All,
I'm new to programming and wondering about an IDE for Python on Linux. I'd
appreciate any feedback on this and good tutorials or books on Python 3 and the
IDEs suggested. There are many available and I'm wondering what you as users
find effective.
Thanks,
John_
Walter Prins wrote:
<>
I've always wondered about this quote. I'm thinking it means you might
want to have functions or subroutines, depending on the language, to
do big chunks of logic, so the main control flow is clean and easy to
read, like "structured programming" in COBOL. Still, every lang
An excellent recent article on hn(hacker news) on why python is important
http://blaag.haard.se/Why-Python-is-important-for-you/
(via http://news.ycombinator.com/item?id=3579847 )
cheers
ashish
On Tue, Feb 21, 2012 at 1:13 AM, Mark Lawrence wrote:
> On 20/02/2012 16:43, Sunil Tech wrote:
>
>
10 matches
Mail list logo