惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
P
Privacy & Cybersecurity Law Blog
G
GRAHAM CLULEY
T
The Exploit Database - CXSecurity.com
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Project Zero
Project Zero
S
Security @ Cisco Blogs
TaoSecurity Blog
TaoSecurity Blog
A
Arctic Wolf
Webroot Blog
Webroot Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
Security Latest
Security Latest
H
Heimdal Security Blog
N
News and Events Feed by Topic
N
News | PayPal Newsroom
T
Tor Project blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
GbyAI
GbyAI
The Last Watchdog
The Last Watchdog
Y
Y Combinator Blog
宝玉的分享
宝玉的分享
Scott Helme
Scott Helme
A
About on SuperTechFans
M
MIT News - Artificial intelligence
V
V2EX
V
Visual Studio Blog
Recorded Future
Recorded Future
博客园 - 叶小钗
F
Fortinet All Blogs
L
Lohrmann on Cybersecurity
The GitHub Blog
The GitHub Blog
博客园 - Franky
P
Proofpoint News Feed
MyScale Blog
MyScale Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
S
Secure Thoughts
D
DataBreaches.Net
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 三生石上(FineUI控件)
I
InfoQ
SecWiki News
SecWiki News
Blog — PlanetScale
Blog — PlanetScale
Engineering at Meta
Engineering at Meta
J
Java Code Geeks
B
Blog RSS Feed
AWS News Blog
AWS News Blog
Know Your Adversary
Know Your Adversary
V
Vulnerabilities – Threatpost
H
Help Net Security

博客园 - 蛙蛙王子

蛙蛙推荐: TensorFlow Hello World 之平面拟合 [蛙蛙推荐]SICP第一章学习笔记-编程入门 快速学习C语言四: 造轮子,ArrayList 快速学习C语言三: 开发环境, VIM配置, TCP基础,Linux开发基础,Socket开发基础 快速学习C语言二: 编译自动化, 静态分析, 单元测试,coredump调试,性能剖析 快速学习C语言一: Hello World 转:python获取linux系统及性能信息 转帖:Python应用性能分析指南 蛙蛙推荐:快速自定义Boostrap样式 蛙蛙推荐:WEB安全入门 蛙蛙推荐:五分钟搞定网站前端性能优化 蛙蛙推荐:AngularJS学习笔记 蛙蛙推荐:如何实时监控MySql状态 蛙蛙推荐:Backbone和seajs搭配最佳实践探讨 蛙蛙推荐:让SecureCRT好使起来 蛙蛙推荐:笨办法提高代码质量 蛙蛙推荐:一个程序员2012年技术学习总结 时髦的互联网公司都在用什么技术? 蛙蛙推荐:如何编写高质量的python程序
蛙蛙推荐:第一堂编程课提纲
蛙蛙王子 · 2012-08-07 · via 博客园 - 蛙蛙王子

想给不会编程的童鞋介绍编程,列了提纲,大家看看合适不合适?

第一堂编程课

编程介绍

  1. 什么是编程:源码变成程序
  2. 为什么选择python:入门容易
  3. 安装python:2.7

第一个程序

  1. print "hello word"
  2. 输入:raw_input
  3. 输出: print
    1. name = raw_input("what's your name?")
    2. print "hello", name

第二个程序

  1. 四则运算:(100+40)/32-(4*2)

数据类型

  1. 啥叫变量
  2. 数字:1,2.3,-18
  3. 字符串:"浮云","god"
  4. 列表:[1,2,3,4]

第三个程序

  1. 从三国杀里随机选一个角色出来
  2. 有个列表:["关羽","张飞","赵云","吕布"]
  3. random

编程要素

  1. if:逻辑判断
  2. 函数:抽象一段功能
  3. 模块:把函数组织起来
  4. 对象:人有胳膊,腿,人可以走路,吃饭

第四个程序

  1. 根据当前时间向你打招呼
    1. 得到当前时间
    2. 如果当前时间是0-12点,输出Good Moning
    3. 如果当前时间是12-18点,输出Good afternoon
    4. 如果当前时间是18-24点,输出Good evening

学会利用网络解决问题

  1. 先搜索怎么FQ:goagent
  2. 优先google
  3. 博客园博问,CSDN论坛:怎样问问题
  4. 邮件请教问题,尽量不要IM

作业

  1. 随便选一个
    1. 输入每秒多少米,输出每小时多少公里
    2. 给你一个高度,计算出落到地面需要多久,在月球上呢?
    3. 输入一段文字,输出有多少个a,不区分大小写。
    4. 输入一个月份,输出这个月有多少天,不考虑闰年。