教Python [英] Teaching Python

查看:53
本文介绍了教Python的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,经过多年教学12年级学生c ++,我已经决定将b $ b转换为Python。


为什么?


*用于学习的交互模式

*少用编辑 - 编译 - 链接 - 运行 - 调试 - 编辑 -

编译 - 链接 - run -.....

*很多模块

*我厌倦了教c ++!无聊的老师=糟糕的指导。

*想到了tcl / tk,但是在这么多时间之后,语法太过不同

(对我来说,不是我的学生!)语言如

c ++ / ada95 / pascal / BASIC / Fortran等

*它似乎是免费的(在高中环境中是
$来自python.org或activestate.com的b $ b非常重要。我想我好像有活跃的'ide(在Win98下)比闲置好一点,但你的

意见/建议?


我已经决定尝试将约翰·泽尔的新书作为一名学生试用

教科书 - 这是一本很好的CS语言入门书

见过。我和tkinter做了几个小项目,就像我看到的那样,并想向我的学生介绍它,虽然Zelle

不是在他的文本中使用它。


因此,在将Python引入到具有一年Visual Basic的
学生时,我应该注意哪些陷阱? ?


问候,


chackowsky dot nick at portal dot brandonsd dot mb dot ca< - 有

spambots还没知道这个?

Well, after years of teaching grade 12 students c++, I''ve decided to
make a switch to Python.

Why?

* interactive mode for learning
* less fussing with edit - compile - link - run - debug - edit -
compile - link - run -.....
* lots of modules
* I was getting tired of teaching c++! Bored teacher = bad instruction.
* thought about tcl/tk but it''s just too different syntactically
(for me, not my students!) after so much time with languages like
c++/ada95/pascal/BASIC/Fortran, etc.
* it appears to be FREE (which in a high school environment is
mightily important) from both python.org or activestate.com. I think I
like activestate''s ide (under Win98) a bit better than idle, but your
comments/suggestions?

I''ve decided to give John Zelle''s new book a try as a student
textbook--it''s as good an introductory CS book in any language I''ve
seen. I''ve done a couple of small projects with tkinter, like what I
see, and would like to introduct my students to it, although Zelle
doesn''t make use of it in his text.

So, what pitfalls should I look out for in introducing Python to
students who have had a year of Visual BASIC?

Regards,

chackowsky dot nick at portal dot brandonsd dot mb dot ca <-- have the
spambots figured this one out yet?

推荐答案

2004年6月12日星期六03:22:23 +0000,Mediocre Person写道:
On Sat, 12 Jun 2004 03:22:23 +0000, Mediocre Person wrote:
好吧,经过多年的12年级学生c ++教学,我决定改用Python。

为什么?

*交互式学习模式
*少搞乱编辑 - 编译 - 链接 - 运行 - 调试 - 编辑 -
编译 - 链接 - 运行 - .......
*很多模块
*我厌倦了教c ++!无聊的老师=糟糕的教学。
*想到了tcl / tk但是在语法上太过分了(对我来说,不是我的学生!)经过这么长时间的语言,比如
c ++ / ada95 / pascal / BASIC / Fortran等
*它似乎是免费的(在高中环境中非常重要)来自python.org或activestate.com。我想我喜欢activestate'的ide(在Win98下)比闲置好一点,但是你的意见/建议?

我决定给John Zelle作为一名学生的新书 - 这本教科书是一本很好的新书 - 用我所见过的任何一种语言来介绍CS书。我和tkinter一起完成了几个小项目,就像我看到的那样,并希望向我的学生介绍它,尽管Zelle
在他的文本中没有使用它。

那么,在为有一年Visual Basic的学生介绍Python时,我应该注意哪些陷阱?

问候,
<门户网站上的chackowsky点昵称dotonsd dot mb dot ca< - 有没有想过这个问题的spambots?
Well, after years of teaching grade 12 students c++, I''ve decided to
make a switch to Python.

Why?

* interactive mode for learning
* less fussing with edit - compile - link - run - debug - edit -
compile - link - run -.....
* lots of modules
* I was getting tired of teaching c++! Bored teacher = bad instruction.
* thought about tcl/tk but it''s just too different syntactically
(for me, not my students!) after so much time with languages like
c++/ada95/pascal/BASIC/Fortran, etc.
* it appears to be FREE (which in a high school environment is
mightily important) from both python.org or activestate.com. I think I
like activestate''s ide (under Win98) a bit better than idle, but your
comments/suggestions?

I''ve decided to give John Zelle''s new book a try as a student
textbook--it''s as good an introductory CS book in any language I''ve
seen. I''ve done a couple of small projects with tkinter, like what I
see, and would like to introduct my students to it, although Zelle
doesn''t make use of it in his text.

So, what pitfalls should I look out for in introducing Python to
students who have had a year of Visual BASIC?

Regards,

chackowsky dot nick at portal dot brandonsd dot mb dot ca <-- have the
spambots figured this one out yet?




Python真的很棒简单易学。你的担心可能应该是:他们是否会这么快就学会这个,以至于我在一个月内用完了材料?

我见过第6名小学生学会在大约2个月内写出相对令人印象深刻的,b $ b对象导向的python程序。


我可能不是课程专家,但我建议更换你的
较低级别的视觉基础课程有一个python课程,并教授一些东西

远远超过12年级的学生。如果你对

c ++感到厌倦,可能会切换到函数式语言,比如ocaml或haskell。


Python是一种强大的语言,而且简单易用

语法的一致性使开发人员能够在非常短的时间内生成有用的应用程序 - 但我质疑python''挑战''的能力/>
学生已经熟悉另一种面向对象的编程

语言。 Python是面向对象思想和

方法论的优秀入门,但如果学生已经了解VB,他们已经学习了面向对象的编程,对吧?


如果你最终向高级编程学生教授python,那么你可能想看看David Mertz''''迷人的python''文章。他用一些相当复杂和有趣的概念来处理

,这些概念成功地引发了一些有见地的范式转换(至少对我来说):
http://gnosis.cx/publish/tech_index_cp.html


- SegPhault



Python is REALLY easy to learn. Your concern should probably be: "are they
going to learn this so quickly that I run out of material in a month?"
I''ve seen 6th graders learn to write relatively impressive,
object-oriented python programs within about 2 months.

I may not be a curriculum expert, but I would recommend replacing your
lower level visual basic class with a python class, and teaching something
far more advanced to 12th grade students. If you are getting bored with
c++, maybe switch to a functional language, like ocaml or haskell.

Python is a powerful language, and the simplicity and consistency of its
syntax enables developers to produce useful applications in very short
periods of time - but I question python''s capacity to ''challenge'' a
student that is already familiar with another object oriented programming
language. Python is an excellent introduction to object oriented ideas and
methodology, but if the students already know VB, they have already
learned object oriented programming, right?

If you do end up teaching python to advanced programming students, you
might want to look at David Mertz'' ''charming python'' articles. He deals
with a few rather sophisticated and interesting concepts, which managed to
spark a few insightful paradigm shifts (for me at least):
http://gnosis.cx/publish/tech_index_cp.html

-- SegPhault


Ryan Paul写道:
Ryan Paul wrote:
方法论,但如果学生已经知道VB,他们已经学习了面向对象的编程,对吗?
methodology, but if the students already know VB, they have already
learned object oriented programming, right?




现在这是乐观的:-)


Peter



Now that is optimism :-)

Peter


Visual Basic没有继承;但它有一个很好的GUI IDE。


我会把wxPython视为一个免费的GUI IDE。 SPE(斯坦尼的Python

编辑器),它集成了wxPython和Blender(执行视觉魔术)

会给你的学生一些他们没有的能力VB。


对于web内容,有一些非常好的框架可以免费获得,

,例如Webware,它有一个持久层,和Twisted,可以这样做

很多东西都是同名的。您可以轻松地在ZOPE上做一年的网络内容,包括ZOPE(内容管理)和Plone(视觉上可接受的内容

管理和用户友好的内容管理)


后,他们将Python缩减。


Hank Fay


-

普通人 <我************* @ hotmail.com>在消息中写道

新闻:51 ****************************** @ news.teranew s。 com ...
Visual Basic has no inheritance; but it has a nice GUI IDE.

I''d look at wxPython as a freely available GUI IDE. SPE (Stanni''s Python
Editor), which integrates wxPython and Blender (which performs visual magic)
would give your students some capabilties they don''t have in VB.

For web stuff there are some very nice frameworks that are freely available,
such as Webware, which has a persistence layer, and Twisted, which can do so
many things it is eponymous. You would easily do a year of web stuff,
including ZOPE (Content Management) and Plone (visually acceptable Content
Management and user-friendlier Content Management) on top of ZOPE, after
they have Python down.

Hank Fay

--

"Mediocre Person" <me*************@hotmail.com> wrote in message
news:51******************************@news.teranew s.com...
好吧,经过多年的12年级学生c ++教学,我决定改用Python。

为什么?<学习交互模式
*少搞乱编辑 - 编译 - 链接 - 运行 - 调试 - 编辑 -
编译 - 链接 - 运行 - ....... > *很多模块
*我厌倦了教c ++!无聊的老师=坏的
指令。 *考虑过tcl / tk但是在语法上太过不同
(对我来说,不是我的学生!)经过这么多时间使用像c ++ / ada95 / pascal / BASIC / Fortran等语言。
*它似乎是免费的(在高中环境中非常重要)来自python.org或activestate.com。我想我喜欢activestate'的ide(在Win98下)比闲置好一点,但是你的意见/建议?

我决定给John Zelle作为一名学生的新书 - 这本教科书是一本很好的新书 - 用我所见过的任何一种语言来介绍CS书。我和tkinter一起完成了几个小项目,就像我看到的那样,并希望向我的学生介绍它,尽管Zelle
在他的文本中没有使用它。

那么,在为有一年Visual Basic的学生介绍Python时,我应该注意哪些陷阱?

问候,
<门户网站上的chackowsky点昵称dotonsd dot mb dot ca< - 有没有想过这个问题的spambots?
Well, after years of teaching grade 12 students c++, I''ve decided to
make a switch to Python.

Why?

* interactive mode for learning
* less fussing with edit - compile - link - run - debug - edit -
compile - link - run -.....
* lots of modules
* I was getting tired of teaching c++! Bored teacher = bad instruction. * thought about tcl/tk but it''s just too different syntactically
(for me, not my students!) after so much time with languages like
c++/ada95/pascal/BASIC/Fortran, etc.
* it appears to be FREE (which in a high school environment is
mightily important) from both python.org or activestate.com. I think I
like activestate''s ide (under Win98) a bit better than idle, but your
comments/suggestions?

I''ve decided to give John Zelle''s new book a try as a student
textbook--it''s as good an introductory CS book in any language I''ve
seen. I''ve done a couple of small projects with tkinter, like what I
see, and would like to introduct my students to it, although Zelle
doesn''t make use of it in his text.

So, what pitfalls should I look out for in introducing Python to
students who have had a year of Visual BASIC?

Regards,

chackowsky dot nick at portal dot brandonsd dot mb dot ca <-- have the
spambots figured this one out yet?



这篇关于教Python的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆