By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,768 Members | 1,151 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,768 IT Pros & Developers. It's quick & easy.

Learning Python: Code critique please

P: n/a
Hello all,
I'm trying to learn various programming languages (I did MATLAB at
uni), and have decided to start with Python. The programming exercises
are derived from Larry O'brien's <a href="http://www.knowing.net/
PermaLink,guid,f3b9ba36-848e-43f8-9caa-232ec216192d.aspx">15
Programming Exercises </a>. First one is up with a couple of comments
of my own.

Any suggestions, corrections, things that I have done wrong, could do
better, etc, please feel free to post a comment.

Timbo
Jun 27 '08 #1
Share this Question
Share on Google+
3 Replies

P: n/a
macoovacany wrote:
http://macoovacany.wordpress.com/
When I tried to run it, I got all kinds of syntax errors because of
non-ASCII characters; namely, you have fancy left and right single
and double quotes. Once I replaced these with the ASCII equivalents,
it worked fine. I suggest you use a plain ASCII text editor, like the
one that comes with IDLE.

HTH,
Saul
Jun 27 '08 #3

P: n/a
On Sun, 22 Jun 2008 08:44:25 -0500, Saul Spatz wrote:
macoovacany wrote:
>http://macoovacany.wordpress.com/
When I tried to run it, I got all kinds of syntax errors because of
non-ASCII characters; namely, you have fancy left and right single and
double quotes.
That's probably WordPress' doing.

--
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 -- pass it on
Jun 27 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.