How to Start a Neighbourhood Watch Program

I. If you are concerned about crime in your neighbourhood and wish to implement a
NEIGHBOURHOOD WATCH program in your area, you must first contact the Police
Services Community Relations or Crime Prevention Bureau. If there is a program
already organized in your area, you will be referred to the local program representative
who will assist you in getting involved.

II. If there is not a program ongoing in your area, you should follow these steps:

  1. Canvass your neighbourhood to determine how many of your neighbours are as
    concerned as you, and those who are interested in participating in the program. This
    may be done by contacting them in person, distributing pamphlets door to door or by
    mail delivery.
  2. After this has been completed and you are confident you have neighbours interested
    in participating, arrange for a meeting place large enough to hold your group or arrange
    for a zoom information session.
  3. Contact the Police Liaison (crime prevention officer) to arrange a mutually agreeable
    date and time for the meeting.
  4. Establish a map outlining your NEIGHBOURHOOD WATCH boundaries, dividing your area into blocks,
  5. At the meeting, the Police Liaison will explain the NEIGHBOURHOOD WATCH concept,
    Home Security Audit, Crime Prevention Through Environmental Design (CPTED), and the
    method of reporting incidents to the Police Services. Your purpose of the meeting will not only be to convey this information to your neighbours, but also to identify Block Captains and Assistants for those Blocks not having a volunteer. One volunteer on each block will ensure at least one candidate for Block Captain or Assistant. Once the above steps are completed, check with the local Police Service or local representative of Neighbourhood Watch in your area as to the requirements needed for recognition of the Neighbourhood Watch program.
    Neighbourhood Watch is different in each community, in some the Police Services Liaison will require complete residents list and in others, the names of the Watch Coordinator and Block Captains are sufficient.

III. Time and houses:

We try to get 50% of the houses in the area to participate but that is not a hard and fast rule.

When you think you have enough buy in to cover the desired area the we can look into booking a meeting.

There is a 3 month wait period to ensure the group is going well prior to us contacting the city.

如何开始邻里守望计划

一、如何开始邻里守望计划
I. 如果您担心附近的犯罪并希望实施您所在地区的 NEIGHBORHOOD WATCH 计划,您必须先联系警方服务社区关系或预防犯罪局。如果有程序已经在您所在地区组织,您将被转介给当地的计划代表谁将协助您参与。
二、如果您所在地区没有正在进行的计划,您应该按照以下步骤操作:
1. 调查你的邻居以确定你的邻居有多少像您一样关心,以及那些有兴趣参与该计划的人。这个可以通过亲自与他们联系、挨家挨户分发小册子或通过邮件派送。
2. 完成后,您确信您有邻居感兴趣在参与时,安排一个足够大的聚会场所来容纳您的团队或安排对于缩放信息会话。
3. 联系警察联络员(预防犯罪官)安排双方同意的会议的日期和时间。
4. 建立一张地图勾勒你的邻居WATCH 边界,将您的区域划分为块,
5. 会上,警务联络员会讲解邻里守望概念,家庭安全审计、通过环境设计预防犯罪 (CPTED) 和向警察部门报告事件的方法。

您的会议目的不仅将这些信息传达给您的邻居,同时也用于识别街区队长和那些没有志愿者的街区的助手。

每个街区的一名志愿者将确保至少一名街区队长或助理候选人。

完成上述步骤后,检查与您所在地区的当地警察局或当地邻里守望代表联系,以认可邻里守望计划所需的要求。
每个社区的邻里守望都不同,

在某些社区警察服务联络员会需要完整的居民名单,在其他情况下,需要观察协调员和街区的姓名队长就够了。

三、时间和参与的房屋

该地区 50% 的房屋参与进来,但这并不是一个硬性规定。
当您认为您有足够的支持来覆盖所需区域时,我们可以考虑预订会议联系警察联络员。
在我们联系城市之前,有一个 3 个月的等待期,以确保团队进展顺利。

Markvill小区邻居守望范围

Markvill小区邻居守望范围如图所示。

图Markville小区0230_地产局高亮部分区域, 地产局对Markville小区西边的边界是按河流为界限的,不是Kennedy。 东边的边界是Mccowan。北面的边界是16街。南面的边界是Hwy 7。

图Markville小区_CityofMarkhamMap_Ward3_201501 万锦市第3区高亮部分区域。

我们Markville小区在市政府第3区的东北角。

万锦市第3区的市政府议员现在是Reid McAlpine。他的市政府网站联系方式如下:

Reid McAlpine, Ward 3 Councillor (markham.ca)

Reid on Ward 3 – Reid McAlpine

根据市议员的历史记录,2006-2010年时Markville和 Quanztown是独立的小区,和Unionville以及Downtown Markham是平级的。2010年之后到现在,Markville和 Quanztown是下属Unionville社区。Unionville和Downtown Markham共同组成万锦市第3区。2010-2018年在第3区任议员的Don Hamilton于2018年至今升任万锦市副市长。2018年到现在Reid McAlpine任市第3区议员。

Markham City Council – Wikipedia

省行政区图/议员选举区图Markville小区现在属于Markham_Unionville 安省万锦市第058区。图中红色高亮部分区域是Markville小区

我们区的省议员现在是Billy Pang, 彭锦威议员从2018年到现在两届都是代表我们小区的省议员。他现在也在我们群里。他的网站联系方式如下。

Billy Pang | Legislative Assembly of Ontario (ola.org)

联邦行政区图/议员选举区图和省选举区图范围是一样的。Markville小区现在属于Markham_Unionville 联邦选区号为35056。

我们区的国会议员现在是Paul Chiang 蒋振宇。他从2021年到现在是代表我们小区的国会议员。他的网站联系方式如下。

Markham—Unionville – Constituencies – Members of Parliament – House of Commons of Canada (ourcommons.ca)

Home safety and neighborhood watch

The meeting began, introducing our neighborhood watch group and Officer.

Officer demonstrated home safety and neighborhood watch

  1. Officer, with 20 years of police experience. Returned to our next door police station two years ago. Now in charge of the crime prevention department. Including family, business, school, church, home safety, personal safety, and neighborhood watch.
  2. Crime prevention: home safety, house, cash, and vehicle safety. Safety and security, such as home safety, preventing thieves
  3. Live on a small island. When leaving home, unattended, Neighborhood Watch can help neighbors who are away from home on holiday.
  4. Personal safety: Pay attention to your surroundings. Wearing earphones on the street has the risk of resistance-traffic and the risk of being stolen. Be alert and report suspicious people or things to the police. It is safer to travel with several people than to travel alone.
  5. Dark and bright: Criminals like dark places, bright places (such as installing LED lights) for extra safety. Screaming for help may scare off criminals
  6. Distracted theft: Partnership robberies often use methods that distract you. Do not leave your wallets, handbags, important items, merchandise in unattended carts or cars. The thieves will use the time when you are distracted and attracted by another partner thieves to steal your belongings.
  7. Bank card: protect your password. Pay attention to cover when inputting. Someone will use the camera to zoom in to peek at your password. Sometimes, if there is an extra slot on the outside of the ATM machine, pull it by hand to make sure it is not a device for secretly reading bank cards.
  8. Dangerous stranger: The stranger calls the door and asks through the door. Let the other party know that the adult is at home.
  9. Identity theft: Don’t leak personal information type SIN card numbers, etc. on the phone or online.
  10. Home safety: install cameras and install fences. Precautions for installing fences: thieves like fences that are too high to block the line of sight. The majority (60%) of thieves would jump over the fence in the backyard to steal. 20% of thieves will walk through the front door, and the remaining 20% will use windows, garages or other means. Independent houses that cannot be seen by neighbors, where trees obstruct the entrance, and other places obstructing the surrounding sight, are places where thieves like to enter.
  11. Compare the tree obstructing the line of sight and inserting branches. Thieves usually drive in one place to start, leave quickly, and then go to another remote area to re-select the place to start. To avoid the chance of being caught.
  12. Fence comparison: The bad guys may go over the fences that completely block the surrounding view. The thorny flowerbed under the fence sometimes reduces the risk of the bad guys.
  13. Front entrance protection. The depth of the front door lock frame screws will affect the protection of the lock. Other locks are good, but if the wooden door frame is not good, it is easy to be kicked open. Increasing the iron bars on the door frame can better protect the safety of the original wooden door frame.
  14. It is very good to install the induction lamp at the main entrance. It can remind people around when it is turned on and off at night. Improve safety.
  15. Front entrance protection. The glass protective film installed on the front door and window can enhance the protection strength and is not easy to be broken.
  16. Camera protection. The front and back doors are protected. If a good camera is not in the right position, it will not be able to see the face and clothes of the other party, and it will not help much. Neighbors watch and help each other. Neighbors can see, send messages, call, and check the surrounding vehicles, all of which can help improve safety. Thieves often park their cars on the back street, and neighbors watch each other, and they may notice suspicious vehicles parked next to them.
  17. Camera registration. The York area camera registration website https://www.yrp.ca/en/crime-prevention/Security-Camera-Registry.asp can help improve community safety.
  18. Security system. The first goal of thieves is usually the bedroom to improve their efficiency. The security system has doors, windows, infrared sensors and other equipment. The alarm and light-emitting devices outside the security system house can attract the attention of neighbors.
  19. Unlocked door: The police officer noticed that people often did not lock the door. Except in the case of lost car and property, some people put the key in the car, so that the thief used the key to enter the house, and the doors and windows showed no signs of damage.
  20. In the parking lot: People often forget their parking space and press the emergency button, which reminds themselves and the thief. It’s not safe if a burglar stands by your car. Remember your parking space.
  21. Before approaching your car, take a look at the surroundings.
  22. Underground parking lot, pay attention to the surrounding conditions. If there is building security, report suspicious people and cars.
  23. Warm-up thieves and license plate thieves. Do not leave the car while warming up
  24. Freight thief: In the case, it was found that the thief directly drove into the stolen car in the container.
  25. Crime stopper is an anonymous report call. 1-800-222-8477 (tips). Suitable for anonymous reporting.
  26. Community, neighborhood watch, logo
Neighbourhood Watch - London Police Service
  1. Street watch members-street watch captain-district watch captain-community safety liaison police officer
  2. The city government has prepared five signs to be placed on the two main streets in our group. Everyone confirms the location of the entrance and exit of the street.
  3. Break through barriers: Neighbors Watch will solve most problems within the community, including child safety.
  4. The role of the liaison officer: better use e-mail than the phone. In case of emergency, please call 911. For non-emergency situations, please call 905-881-1221. Officer helped us answer community safety questions and contacted the city government to set up signs.
  5. Thank you.

居家安全和邻里守望互助-会议1&2

会议1 时间 2021-01-25

会议开始,介绍我们社区邻里守望互助群和Brian警官。

Brian警官展示讲解居家安全和邻里守望

1.Brian警官, 20年从警经验。两年前回到我们隔壁警局。现在负责预防犯罪部门。包括家庭,商业,学校,教会,居家安全,个人安全,邻里守望。

2. 预防犯罪:居家安全,房屋,现金,车辆安全。 安全和安保,例如居家安全,防止小偷

3. 住在小岛上。 当离开家,无人看守,邻里守望可以帮助离家度假的邻居。

4. 个人安全: 注意周围,在街上带耳机有较大风险-交通和被偷窃的风险。提高警觉,当看到可疑的人和事,报告警察。几个人一起出行比一个人出行安全。

5. 阴暗和光亮:犯罪份子喜欢阴暗的地方,光亮的地方(例如安装LED灯光)较为安全。高声呼救可能吓跑犯罪份子

6. 分心盗窃: 合伙盗劫经常会使用让你分心的方法盗窃。不要把你的钱包,手提包,重要物品,商品放在无人看管的推车或汽车里。盗贼会用让你分心注意力的时候,由另一个合伙盗贼偷窃你的物品。

7. 银行卡:保护你的密码。输入时用手遮挡。有人会用摄像头放大去偷看你的密码,有时候ATM机如果外部有额外伸出的插槽,用手拉一下,确保不是偷读银行卡的设备。

8. 危险的陌生人:陌生人叫门,隔着门问话。要让对方知道家中大人在家。

9. 身份盗窃:不要在电话或网上泄漏个人信息比如SIN卡号码等。

10. 居家安全:安装摄像头和安装围栏。安装围栏的注意事项:窃贼所喜欢那些过高遮挡视线的围栏。多数(60%)窃贼会翻越后院的围栏行窃。20%窃贼会走前门,剩余的20%会使用窗户,车库或其他方式。邻居看不到的独立房屋,在树木遮挡入口的地方,其他遮挡周围视线的地方,都是窃贼喜欢进入的地方。

11. 对比树木遮挡视线和修剪树枝后的差别。窃贼一般开车在一个地方下手后,会迅速离开,并再到另一个较远地区重新挑选下手地方。以逃避被抓的机会。

12. 围栏对比: 坏人更有可能去翻越那些完全挡住周围视线的围栏。围栏下的有刺花圃有时会减少坏人的翻越。

13. 正门保护。正门锁边框螺丝的深度会影响锁的防护力。另外仅仅是锁很好,但如果木质门框不好,容易被强力踹开。增加门框上的铁条可以更好的防护原来木质门框大门的安全。

14. 正门安装感应灯很好,夜里一开一关能提醒周围人的注意。提高安全。

15.正门保护。正门和窗户上安装玻璃保护贴膜可以增强保护力度,不容易被打破。

16. 摄像头保护。正门和后门保护。好的摄像头如果位置不对,不能看到对方的脸和穿着,帮助也不大。邻里守望互助,邻居看到,发信息,打电话,检查周围的车辆,都会帮助提高安全。窃贼经常把车停到后面一点的街道上,邻居相互守望,就可能注意看到旁边停靠的可疑车辆。

17. 摄像头注册。约克区摄像头注册网站 https://www.yrp.ca/en/crime-prevention/Security-Camera-Registry.asp 可以帮助提高社区安全。

18. 安保系统。窃贼一般第一个目标就是卧室以提高他们的效率。安保系统有门,窗,红外感应等设备。安保系统屋子外部的报警和发光装置可以引起邻居的注意。

19. 没锁车门:警官注意到经常有人不锁车门。除了丢车丢物的案例,还有人把钥匙放车里,以至于盗贼用钥匙入户,门窗没有任何破坏痕迹。另外,近期警官注意到约克区有5起汽车撬门案例,但不多。

20. 在停车场:经常有人忘了自己停车位而按紧急按钮,这提醒了自己也提醒了窃贼。如果窃贼在你车旁守株待兔就不安全了。记住自己的停车位。

21.走近你的车之前,注意看一下周围情况。

22.地下停车场,注意看一下周围情况。如果有大厦安保,报告可疑的人和车。

23.暖车窃贼和车牌窃贼。暖车时不要离开车

24. 货运窃贼:案例中发现窃贼直接开到货柜箱里的失窃车。

25. crime stopper犯罪阻止者是匿名举报电话。1-800-222-8477(tips)。适合于匿名举报。

26.社区邻里守望,标识

Neighbourhood Watch - London Police Service

27. 街道守望成员-街道守望队长-各区守望队长-社区安全联络警官

28. 市政府准备了5个signs的位置放在我们群里两条主要街道上,大家确认街道出入口位置。

29. 打破隔阂: 邻里守望社区内部会解决大多数问题,包括儿童安全等。

30. 联络官的角色: Brian经常外出办公。所以相对于电话,他更愿意用email。紧急情况,请电话911. 非紧急情况,请电话905-881-1221。Brian帮我们回答社区安全问题,联系市政府立牌子等。

31. 谢谢。

警官问答:

  • 非紧急情况,电话905-881-1221
  • 正当防卫self defense:盗贼入室,盗贼踢门,感到危险,在让对方立刻离开,对方没走并继续靠近或言语威胁。这时反击是正当防卫。如果对方逃跑,则追出攻击不是正当防卫。
  • 守望互助降保险,部分保险公司支持
  • 正当防卫。可否购买使用枪支。警官不建议使用。枪支造成的事故远大于防护。除非你个人喜欢射击。枪支不是好的防卫方式。盗贼大多数是家中无人时进入,而且枪支是贵重物品,会被盗贼偷走。二来枪支和弹药需要分开存放,需要时加装费时费力。而很多人是不具备对人开枪的能力的。有很多人是害怕甚至完全不能拿枪指着别人开枪的。
  • 新的街道小区Sign可以要更多。一般要求是50%的该街道区域住户加入守望互助。
  • 可以电话Brian,但Brian所在的警局并不能直接派警力出警。只有911(和非紧急情况电话)负责派警力出警。破门入室的是紧急情况找911。度假回家看到被偷了,是非紧急情况。911可以找中文服务。
  • 报告可疑车辆最好能报车牌号(非紧急情况,电话905-881-1221),警察可以查车牌,查车主。警察接报告后,还可以过来直接询问可疑车辆。我们之后报Brian, Brian也可以帮我们查车牌,查车主。有照片录像等证据更好,发给Brian。Brian会把查询结果告知我们。但看车牌一定要注意安全,不要直接走到可疑车辆前方抄牌。
  • 社区邻居夜晚音乐声音太大报警,属于by law法规。警察出警一般到by law过了时间之后,一般较晚出警提醒。

群内讨论:

确定了邻里守望5条街道的队长,负责组织和联络

name emailaddresswechat
David C & Ling[email protected]61 Havagal CresDavid C 
Ming[email protected]68 Havagal CresMing
Sean[email protected]82 Havagal CresSean
lulu wang[email protected]88 42nd St璐 lu wang
ice[email protected]67 42nd Stice 会计税务
Jane & David[email protected]53 42nd StJane
Anna Zhao[email protected]92 42nd stAnna Zhao MBA, 贷款 财税规划
Oscar Dong[email protected]364 Manhattan Dr.Oscar-364 Manhattan Dr 董长根 申名校-雅思
Simon Yang[email protected]3 Long Island Cres.3 Long Island Cres. Simon 杨鹏 杨教练 传帮带
Ling Liu[email protected]4 brooklyn cresliuliu

社区安全小传单。–Oscar负责印刷分发。  大家群策群力贡献传单内容。

Nextdoor网站ca.nextdoor.com 认识邻居

居家安全和邻里守望互助-会议2

会议2 时间 2022-10-04

会议开始,介绍我们社区邻里守望互助群和Brian警官。

Brian警官展示讲解居家安全和邻里守望

1.Brian警官, 20年从警经验。两年前回到我们隔壁警局。现在负责预防犯罪部门。包括家庭,商业,学校,教会,居家安全,个人安全,邻里守望。

2. 预防犯罪:居家安全,房屋,现金,车辆安全。 安全和安保,例如居家安全,防止小偷, 保护宠物。 分析犯罪三角(机会,能力,动机)

3. 大门防护-大门摄像头,目标多数会从大门进入,大门门锁额外保护(铁片,门框加固,长螺丝固定,顶门门栓),住在小岛上。 当离开家,无人看守,邻里守望可以帮助离家度假的邻居。

4. 个人安全: 注意周围,在街上带耳机有较大风险-交通和被偷窃的风险。提高警觉,当看到可疑的人和事,报告警察。几个人一起出行比一个人出行安全。

5. 阴暗和光亮:犯罪份子喜欢阴暗的地方,光亮的地方(例如安装LED灯光)较为安全。高声呼救可能吓跑犯罪份子

6. 分心盗窃: 合伙盗劫经常会使用让你分心的方法盗窃。不要把你的钱包,手提包,重要物品,商品放在无人看管的推车或汽车里。盗贼会用让你分心注意力的时候,由另一个合伙盗贼偷窃你的物品。

7. 银行卡:保护你的密码。输入时用手遮挡。有人会用摄像头放大去偷看你的密码,有时候ATM机如果外部有额外伸出的插槽,用手拉一下,确保不是偷读银行卡的设备。

8. 危险的陌生人:陌生人叫门,隔着门问话。要让对方知道家中大人在家。

9. 身份盗窃:不要在电话或网上泄漏个人信息比如SIN卡号码等。

10. 居家安全:安装摄像头和安装围栏。安装围栏的注意事项:窃贼所喜欢那些过高遮挡视线的围栏。多数(60%)窃贼会翻越后院的围栏行窃。20%窃贼会走前门,剩余的20%会使用窗户,车库或其他方式。邻居看不到的独立房屋,在树木遮挡入口的地方,其他遮挡周围视线的地方,都是窃贼喜欢进入的地方。

11. 对比树木遮挡视线和修剪树枝后的差别。窃贼一般开车在一个地方下手后,会迅速离开,并再到另一个较远地区重新挑选下手地方。以逃避被抓的机会。

12. 围栏对比: 坏人更有可能去翻越那些完全挡住周围视线的围栏。围栏下的有刺花圃有时会减少坏人的翻越。

13. 正门保护。正门锁边框螺丝的深度会影响锁的防护力。另外仅仅是锁很好,但如果木质门框不好,容易被强力踹开。增加门框上的铁条可以更好的防护原来木质门框大门的安全。

14. 正门安装感应灯很好,夜里一开一关能提醒周围人的注意。提高安全。窃贼不喜欢感应灯。

15.正门保护。正门和窗户上安装玻璃保护贴膜可以增强保护力度,不容易被打破。

16. 摄像头保护。正门和后门保护。好的摄像头如果位置不对,不能看到对方的脸和穿着,帮助也不大。邻里守望互助,邻居看到,发信息,打电话,检查周围的车辆,都会帮助提高安全。窃贼经常把车停到后面一点的街道上,邻居相互守望,就可能注意看到旁边停靠的可疑车辆。摄像头也可以保护特殊情况例如门口是否有人摔倒。

17. 摄像头注册。约克区摄像头注册网站 https://www.yrp.ca/en/crime-prevention/Security-Camera-Registry.asp 可以帮助提高社区安全。警官除非获得主人许可,是无法存取摄像头数据的。

18. 安保系统。窃贼一般第一个目标就是卧室以提高他们的效率。安保系统有门,窗(可加装金属外窗保护),红外感应等设备。安保系统屋子外部的报警和发光装置可以引起邻居的注意。窃贼一般行窃时间约10-15分钟(但注意到主人长期外出,窃贼会多花时间)。及时注意安保系统通知。如需要警官有CPTED Audit帮助提高家庭保护。

19. 没锁车门:有人不锁车门。除了丢车丢物的案例,还有人把钥匙放车里,以至于盗贼用钥匙入户,门窗没有任何破坏痕迹。偷车贼可能会把偷的车运出国销赃。警官介绍近期一次窃贼在主人家停车道上偷车。额外的车方向盘锁会多加保护让窃贼可能放弃。

20. 在停车场:经常有人忘了自己停车位而按紧急按钮,这提醒了自己也提醒了窃贼。如果窃贼在你车旁守株待兔就不安全了。记住自己的停车位。

21.走近你的车之前,注意看一下周围情况。警官介绍最近从美国传过来的车辆抢劫方式出现了几次。车辆慢行时靠中线或左线比右线安全些。警方TYGA项目,19辆被偷车,找回17。

22.地下停车场,注意看一下周围情况。如果有大厦安保,报告可疑的人和车。

23.暖车窃贼和车牌窃贼。暖车时不要离开车。开关启动的也不完全安全,窃贼会用计算机偷车,编程信号开启动车。

24. 货运窃贼:案例中发现窃贼直接开到货柜箱里的失窃车。

25. crime stopper犯罪阻止者是匿名举报电话。1-800-222-8477(tips)。适合于匿名举报。

26.社区邻里守望是约克警局YRP大力支持的公民自助组织,标识

Neighbourhood Watch - London Police Service

27. 街道守望成员-街道守望队长-各区守望队长-社区安全联络警官(Police Liaison)

28. 市政府准备了5个signs的位置放在我们群里两条主要街道上,大家确认街道出入口位置。

29. 打破隔阂: 邻里守望社区内部会解决大多数问题,包括儿童安全等。Community Safety Data Portal网站 https://community-safety-portal-datayrp.hub.arcgis.com/

30. 联络官的角色: Brian经常外出办公。所以相对于电话,他更愿意用email。紧急情况,请电话911. 非紧急情况,请电话905-881-1221。Brian帮我们回答社区安全问题,联系市政府立牌子等。

31. 谢谢。

警官问答:

  • 非紧急情况,电话905-881-1221, 1-866-876-5423
  • 我们社区的安全情况,实时Community Safety Data Portal网站 https://community-safety-portal-datayrp.hub.arcgis.com/
  • 报告可疑情况,以前没发现的可疑车辆。报告可疑车辆最好能报车牌号(非紧急情况,电话905-881-1221,1-866-876-5423ext7524),警察可以查车牌,查车主。警察接报告后,还可以过来直接询问可疑车辆。我们之后报Brian, Brian也可以帮我们查车牌,查车主。有照片录像等证据更好,发给Brian。Brian会把查询结果告知我们。但看车牌一定要注意安全,不要直接走到可疑车辆前方抄牌。
  • Houndsbrook 街道需要的标牌随后用email和Brian联系。3个街道交叉口。
  • Brooklyn街道需要的标牌随后用email和Brian联系。3个街道交叉口。

群内讨论:

Houndsbrook 街道和Brooklyn确定了邻里守望街道的队长,负责组织和联络

name emailaddresswechat
Ling Liu[email protected]4 brooklyn cresliuliu Brooklyn cres
song[email protected]8 houndsbrook cressong
Li[email protected]21 houndsbrook cresgreglili

学习用电脑的配置

很多家长问购买学习用电脑的配置。这里统一回复一下学习用电脑的配置。

  • 以下电脑配置对于学习python和scratch等课程以及将来学习其他都可以。
  • 首先建议使用笔记本电脑。相对于台式机,笔记本电脑风扇噪音小(尤其是使用几年后的对比),需要散热少。无需额外键盘鼠标和显示器。移动方便,适合携带。有电池,支持断电时临时使用。当然,如何对移动要求不高,也可以选一体机。台式机主要用于高端游戏机,服务器和图形工作站等。
  • 如果选Windows笔记本,CPU建议选INTEL的。稳定性好,兼容性好。在高温,超频,超低温等特殊情况下运行更稳定,不容易死机。
  • 电脑选用建议内存大于等于8G。当然4G也可以,但对将来安装应用很多软件来说速度会差一些。内存一般选8G或16G。越大越好—速度更快,可以同时运行的软件和程序更多。
  • 电脑选用建议硬盘使用SSD。SSD硬盘速度比HDD硬盘快3-5倍。 主要体现在开关机,加载大的程序和软件上会快很多。抗震能力,功耗和噪音都比HDD要好的多。唯一就是预装SSD硬盘的电脑比HDD的要贵很多。SSD最少256G, 建议500G以上。硬盘容量越大越好,可以装大量的程序软件,素材库,适合孩子将来的各种学习和应用。当然也可以购买HDD硬盘的电脑,自己购买单独的SSD来替换HDD—总体价格肯定便宜很多。另外对电脑开关机,加载大程序时的速度不是很在意的话,也可以只用HDD,毕竟HDD一般容量大很多,多数1TB及以上。
  • 其他如屏幕尺寸,品牌,颜色,预装系统等都可以按个人需要随意选择。
  • 几款符合上面推荐的电脑链接:

https://www.bestbuy.ca/en-ca/collection/windows-laptops-on-sale/66056?path=category%253AComputers%2B%2526%2BTablets%253Bcategory%253ALaptops%2B%2526%2BMacBooks%253Bcategory%253ALaptops%253Bcustom0ramsize%253A8%257C16%253Bcustom0harddrivetype%253ASolid%2BState%2BDrive%2B%2528SSD%2529%253Bcustom0harddrivecapacity%253A512%2BGB%2B-%2B749.9%2BGB%253Bprocessortype0enrchstring%253AIntel&sort=priceLowToHigh

用数据说话,为什么要学Python(1)

Python 是不是越来越火了?

答案是肯定的。

那么为什么 Python 现在越来越火了?也许有人感觉 Python 火了是因为我们关注它,Python火是被炒起来的。还是让我们用数据说话吧!

下图是 Python 的百度搜索指数:

从 2007开始到现在,Python 的百度搜索指数翻了50 倍. 这是中国为主的数据。在2017年8月, 中国国内对Python的关注超过了Java.

下图是 Python 的google搜索指数:

从 2007开始到现在,Python的google搜索指数翻了5 倍.在全球的范围内,在2019年5月Python的关注搜索指数超过了Java. 

微信也推出了微信指数(在微信中搜索微信指数)。Python的关注微信指数远远高过了包括Java在内的其他语言。但历史数据太短,只能作为参考。

TIOBE和PYPL的5月编程语言排行榜:如果你只能学习一门语言,Python是最好的选择!

再看一下一个TIOBE Index编程语言排行榜

注:TIOBE 编程社区指数(The TIOBE Programming Community index)是编程语言流行度的指标,该榜单每月更新一次,指数基于全球技术工程师、课程和第三方供应商的数量。具体的计算方式见这里:https://www.tiobe.com/tiobe-index/programming-languages-definition/。

值得注意的是,TIOBE 指数并不代表语言的好坏,开发者可以使用该榜单检查自身的编程技能是否需要更新,或者在开始构建新软件时对某一语言做出选择。

下面再看一下PYPL编程语言排行榜,

PYPL PopularitY of Programming Language

注:PYPL(PopularitY of Programming Language Index ),即编程语言流行指数。其排名是根据在谷歌上的相关编程语言教程的搜索频率就行统计排名。也就是某项语言在 Google 上搜索频率越高,表示这项语言越受欢迎。

完整榜单地址:https://pypl.github.io/PYPL.html

从今年5月榜上可以看出,Python稳坐最受欢迎的语言,甚至与其他语言拉大了差距。

而历史数据显示在2018年4月,Python的关注度就超过了Java.

另外,Stack Overflow流量统计,2017年6月,Python第一次成为高收入国家Stack Overflow访问量最大的标签。2018年,Python超过Javascript成为最受欢迎的语言。 今年,Python依然是最受欢迎的标签并且百分比继续不断上升。

那些说 Python 不火的同学,肯定大跌眼镜吧。

Python是一种面向对象的解释型计算机程序设计语言,由荷兰人Guido van Rossum于1989年发明,第一个公开发行版发行于1991年。已不是一种年轻的编程语言,它突然火爆的背后到底有哪些深层原因呢?

Python是干什么的?
要找出python火爆的原因,我们就不得不先来了解python本身。Python 是一种面向对象的解释型计算机程序设计语言。Python的设计哲学强调代码的可读性和简洁的语法(尤其是使用空格缩进划分代码块,而非使用大括号或者关键词)。相比于C++或Java,Python让开发者能够用更少的代码表达想法。不管是小型还是大型程序,该语言都试图让程序的结构清晰明了。

与其他动态类型编程语言一样,Python拥有动态类型系统和垃圾回收功能,能够自动管理内存使用,并且支持多种编程范式,包括面向对象、命令式、函数式和过程式编程。除了其本身拥有一个巨大而广泛的标准库,Python还有全世界程序员不断共同贡献代码的丰富和强大的第三方库。它常被昵称为胶水语言,能够把用其他语言制作的各种模块很轻松地联结在一起。

Python 解释器本身几乎可以在所有的操作系统中运行。Python的第一个解释器CPython是用C语言编写的、是一个由社群驱动的自由软件,当前由Python软件基金会管理。

Python是纯粹的自由软件,源代码和解释器CPython遵循 GPL(GNU General Public License)协议。GPL是自由和开源软件领域最受欢迎的软件许可之一。Python因为受欢迎,以至于有多个语言开发的Python解释器。

     · CPython,官方的解释器。需要区别于其他解释器的时候才以CPython称呼。这是最常用的Python版本。

· Jython(原名JPythonJava语言实现的Python,现已正式发布)。Jython可以直接调用Java的各种函数库。

· PyPy(使用Python语言写的Python)

· IronPython(面向.NET和ECMA CLI的Python实现)。IronPython能够直接调用.net平台的各种函数库。可以将Python程序编译成.net程序。

· ZhPy(周蟒,支持使用繁/简中文语句编写程序的Python语言)

Python这么火的内因有以下几点

1.入手快:

Python语言相对于其他编程语言来说,属于比较容易学习的一门编程语言,它注重的是如何解决问题而不是编程语言的语法和结构。所以,已经有越来越多的初学者选择Python语言作为编程的入门语言。

Python的语言没有多少仪式化的东西,所以就算不是一个 Python 专家,你也能读懂它的代码。Python的语法里面条条框框以及特殊的处理场景要少得多。它所专注的并非语言表现的丰富程度,而是你想要用你的代码完成什么。

2.颜值高:

Python语言力求代码简洁、优美。在 Python 语言中,采用缩进来标识代码块,通过减少无用的大括号,去除语句末尾的分号等视觉杂讯,使得代码的可读性显著提高。它使你能够专注于解决问题,而不用太纠结编程语言本身的语法。

Python能用少量的代码构建出很多功能。能带给所有开发者一种快速的学习体验。通过实践,你可以在最多两天之内轻松实现一个具备基础功能的游戏(而这还是在对编程完全不了解的情况下)。另外一些让Python
成为一门引人注目的编程语言的因素就是它的可读性和高效性。

3.有内涵:

Python语言号称自带电池,寓意是 Python 语言的类库非常的全面,包含了解决各种问题的类库。无论实现什么功能,都有现成的类库可以使用。合理使用Python 的类库和开源项目,能够快速的实现功能,满足业务需求。

Python多才多艺,可以被应用于如今你所能想得到的相当多的软件开发和操作场景。要管理本地或者云基础设施吗?Python可以。开发网站? OK,它也能行的。需要处理一个SQL 数据库? 可以。需要为 Hive 或者 Pig 定制一个功能?能做到。只是想为自己构建一个小工具?Python 就是最好的选择。需要一门支持面向对象设计的语言? Python 的特性就能满足啦。简而言之,将 Python 了解得更加深入一点点,就能让你具备可以适应范围更宽泛的工作角色的技能。

4.效率高:

Python语言因为有了丰富强大的类库,所以,Python 的开发效率能够显著提高。实现相同的功能,Python代码的文件往往只有 C、C++ 和 Java 代码的 1/5~1/3。这也是为什么各大互联网公司广泛使用Python 语言的原因。

Python 拥有最成熟的程序包资源库。一旦你了解了该语言,就可以利用上这个平台。Python拥有超过
85,000 个 Python 模块和脚本的资源库,你拿过来就立马可以使用。这些模块向你的本地Python 环境分发已经预先打包好的功能,可以用来解决各种诸如数据库处理,计算机视觉实现,像维度分析这样的高级数据分析的执行,或者是构建REST 风格的 web 服务这些问题。

Python + GItHub 社区的各种开源工具包就好比一个军火库,里面什么武器都有,完全取决于使用者怎么组装这些武器。例如: 数值计算工具:NumPy,SciPy; 符号计算工具:SymPy; 机器学习工具:Scikit-Learn,XGBoost,lightGBM,catBoost,PySpark; 深度学习工具:TensorFlow,PyTorch; 时间序列工具:FbProphet; 数据分析工具:Pandas; 地图分析工具:folium;web开发工具:Django,Flask; 可视化工具:matplotlib; 图计算工具:networkx。 另外,各种数据库例如 Redis,MySQL,influxDB 等都有相应的 Python API。

5.应用广:

工程师可以使用 Python 做很多的事情。例如,Web 开发、网络编程、自动化运维、Linux系统管理、数据分析、科学计算、人工智能、机器学习等等。

Python 广泛用于数据科学领域。不管你从事的是什么工作,数据都会是其中的一部分。IT,软件开发,市场–
它们都深度地关乎数据且对于智慧求之若渴。很快数据分析技能就会像编码技能一样的重要,而 Python 在两个领域都占有重要的地位。Python 紧挨着 R 语言,都是现代数据科学中最常被使用的语言。事实上,在数据科学领域,Python 的职位职位需求超过了R 语言。你在学习 Python 时发展出来的技能将会直接转换并被用来构建起自己的这些分析技能。

6.全开放:

Python 是跨平台且开源的。

Python 可以跨平台运行,并且已经开放源代码超过20年的时间了,如果你需要代码能同时在Linux,Windows 以及 macOS 上跑起来,Python 就能满足要求。此外,有数十年的修修补补以及不断完善做后盾,可以确保你能够随心所欲地运行自己的代码。

上述就是Python这么火的内因,下面我们就来看看Python在国内外这么火的外因

Python火爆的外因

12~14年是云计算最火的几年,大批创业公司和巨头挤破头地进军云计算领域,大家都在做IAAS,最著名的云计算开源平台OpenStack

就是基于Python 开发的,为此催生出不少Python 岗位

14~15年是「大众创新,万众创业」口号喊得最响两年,全国大街小巷似乎人人都是创业者,O2O、P2P产品如雨后春笋般冒出,什么语言最适合快速搭建原型?当然是Python,Python 的开发速度一个顶仨。

16~17年人工智能火遍大江南北,AlphaGO 的出现让业界为之兴奋,人工智能不再是概念,而人工智能、机器学习的首选语言就是Python。

这两年特别是网络爬虫火得一塌糊涂,10个写爬虫的9个在用Python,曾经有一段时间知乎的Python话题全部被爬虫相关的帖子刷屏,为什么爬虫这么火,这个还是跟大数据有关,因为数据挖掘、分析、机器学习、人工智能都需要大数据的支撑,而真正有大数据的厂商没几个,所以小厂不得不通过爬虫去获取数据。

Python 是一门兼具简单与功能强大的编程语言,它专注于如何解决问题、自由开放的社区环境以及丰富的第三方库,无需浪费时间去造轮子,各种Web框架、爬虫框架、数据分析框架、机器学习框架应有尽有,拿来即用,如果你不知道去哪找第三库,可以看看 awesome-python

Python 的发展完全是由社区自我驱动的,喜欢Python的原因很简单,因为它确确实实给开发者带来了愉悦的编程体验。

正是因为Python占据了天时地利人和,所以才让Python在短短几年内跻身世界编程语言最受欢迎的语言之一。未来,「人生苦短,我用 Python」或许不再是网络上的流行语,而是成为人们的共识。那么你做好了转行Python的准备吗?如果还没有,那么可以关注我们的后续文章。

接触早,好不好?

有很多的家长会困惑,让小朋友这样早的接触编程,会不会将来只能做我们通常意义上的“程序员”?我们想要指出的是,正是不愿意仅仅停留在程序员的一层, 当小朋友接触编程之后,如果他们兴趣不大,将来就可以把编程作为一个工具,帮助他们分析问题。如果他们很感兴趣,他一定会希望用编程来做一些更高级的事情,比如设计一个游戏,或者用Python自动玩游戏,比如在学习和工作中自动处理上千的表格和文件,自动登录系统处理问题,解决问题。解决的问题越大,成就感也就会越大。尽早接触编程,对孩子是一个很好的机会去看看更广阔的天地。

Python Program Happy Mother’s Day

Happy Mother’s Day to all Mom

Here is a the python way of saying “Happy Mother’s Day”

Let’s put these code in pycharm and run it for Mom.

first one can run on trinket.io

motherday1.py

print('\n'.join([''.join([('Love'[(x-y) % len('Love')] if ((x*0.05)**2+(y*0.1)**2-1)**3-(x*0.05)**2*(y*0.1)**3 <= 0 else ' ') for x in range(-30, 30)]) for y in range(12, -10, -1)]))

result:

            veLoveLov           veLoveLov               
        eLoveLoveLoveLove   eLoveLoveLoveLove           
      veLoveLoveLoveLoveLoveLoveLoveLoveLoveLov         
     veLoveLoveLoveLoveLoveLoveLoveLoveLoveLoveL        
    veLoveLoveLoveLoveLoveLoveLoveLoveLoveLoveLov       
    eLoveLoveLoveLoveLoveLoveLoveLoveLoveLoveLove       
    LoveLoveLoveLoveLoveLoveLoveLoveLoveLoveLoveL       
    oveLoveLoveLoveLoveLoveLoveLoveLoveLoveLoveLo       
    veLoveLoveLoveLoveLoveLoveLoveLoveLoveLoveLov       
    eLoveLoveLoveLoveLoveLoveLoveLoveLoveLoveLove       
     oveLoveLoveLoveLoveLoveLoveLoveLoveLoveLove        
      eLoveLoveLoveLoveLoveLoveLoveLoveLoveLove         
      LoveLoveLoveLoveLoveLoveLoveLoveLoveLoveL         
        eLoveLoveLoveLoveLoveLoveLoveLoveLove           
         oveLoveLoveLoveLoveLoveLoveLoveLove            
          eLoveLoveLoveLoveLoveLoveLoveLove             
            veLoveLoveLoveLoveLoveLoveLov               
              oveLoveLoveLoveLoveLoveLo                 
                LoveLoveLoveLoveLoveL                   
                   LoveLoveLoveLov                      
                      LoveLoveL                         
                         Lov                            

Then, we need add some color for this heart. Since we are import modouls, following program can only run in pycharm. If you want to know how to download pycharm, please check on this link Python environment guide [Pycharm IDE] .

motherday2.py

import colorama
RED = colorama.Fore.RED + colorama.Style.BRIGHT
print(RED+'\n'.join([''.join([('Love'[(x-y) % len('Love')] if ((x*0.05)**2+(y*0.1)**2-1)**3-(x*0.05)**2*(y*0.1)**3 <= 0 else ' ') for x in range(-30, 30)]) for y in range(12, -10, -1)]))

If you receive error on missing module colorama, you know there are 2 ways to install this module as we tought in class. one way is : pip3 install colorama

Next, add more colors , flowers, sleep delay, random space in left, and loops with dynamic colorful result

motherday3.py

import colorama
import time
from random import *

RED = colorama.Fore.RED + colorama.Style.BRIGHT
CYAN = colorama.Fore.CYAN + colorama.Style.BRIGHT
GREEN = colorama.Fore.GREEN + colorama.Style.BRIGHT
YELLOW = colorama.Fore.YELLOW + colorama.Style.BRIGHT
MAGENTA = colorama.Fore.MAGENTA + colorama.Style.BRIGHT

# Print header
for i in range(1, 35):
print('')
# *s position
heartStars = [2, 4, 8, 10, 14, 20, 26, 28, 40, 44, 52, 60, 64, 76]
# Position of space
heartBreakLines = [13, 27, 41, 55, 69, 77]
# Empty column position of rose
flowerBreakLines = [7, 15, 23, 31, 39, 46]

# add new column
def addSpaces(a):
count = a
while count > 0:
print(' ', end='')
count -= 1

# add new line
def newLineWithSleep():
time.sleep(0.3)
print('\n', end='')

play = 0
while play == 0:
Left_Spaces = randint(8, 80)
addSpaces(Left_Spaces)
# draw heart
for i in range(0, 78):
if i in heartBreakLines:
newLineWithSleep()
addSpaces(Left_Spaces)
elif i in heartStars:
print(RED + '*', end='')
elif i in (32, 36):
print(GREEN + 'M', end='')
elif i == 34:
print(GREEN + 'O', end='')
else:
print(' ', end='')
newLineWithSleep()
addSpaces(randint(8, 80))
print(CYAN + "H a p p y M o t h e r ' s D a y !", end='')
newLineWithSleep()
newLineWithSleep()
Left_Spaces = randint(8, 80)
addSpaces(Left_Spaces)
# draw flower
for i in range(0, 47):
if i in flowerBreakLines:
newLineWithSleep()
addSpaces(Left_Spaces)
elif i in (2, 8, 12, 18):
print(MAGENTA + '{', end='')
elif i in (3, 9, 13, 19):
print(MAGENTA + '_', end='')
elif i in (4, 10, 14, 20):
print(MAGENTA + '}', end='')
elif i in (27, 35, 43):
print(GREEN + '|', end='')
elif i in (34, 44):
print(GREEN + '~', end='')
elif i == 11:
print(YELLOW + 'o', end='')
else:
print(' ', end='')
print('\n', end='')

result:

The future is here (1)-Technological change

The future is here.

Companies that are driven by technology and use algorithms to make decisions are growing wildly, leaving veteran Internet giants in panic.

Replace people with algorithms, this is happening.

Before we read the news, Alpha Dog Go defeated humans, and AI played Dota to defeat quasi-professional players.

On the one hand, we are worried about being replaced by artificial intelligence. On the one hand, we feel that the day of being replaced is far away: artificial intelligence plays Go, but it is not enough to be productive in many fields.

The premise of “very distant” is: artificial intelligence wants to imitate people, and then surpass people, which is difficult. Because of human emotions, thinking is something that machines can hardly simulate.

Humans are arrogant here.

Because as long as one kind of productivity is more efficient than the old one, then the old one will be replaced.

Algorithms surpass humans, that is, they surpass humans without imitating humans at all.

“Flow” technological change

Regarding the issue of “flow”, there have been three obvious stages in the last 20 to 30 years.

(1) First stop, flooding traditional media

The 1990s were the golden age of newspapers and television media. This is the earliest time when people come into contact with a single medium.

During that time, the media and advertising companies were the most beautiful places. A lot of talents are there.


(2) At the second stop, someone started to think about the scene and experience

Here, the leader will be the product manager. They start to think about “scenes” and “interactions”-I think what users should do in this situation will have a better experience.

They are responsible for thinking: I think users should have a better experience in this situation.

Even, they said: Users don’t know what they want, I’ll define what users want.

Define what the user wants. And it also defines success as genius.

To make products, we must rely on “users think this is better”, but not “I think, users will think this is better.”

So, how do you perceive “user perception”? Three ways:

① Talk to the user.

② As a user, experience it yourself.

③ User behavior data.

Traditional Internet companies make use of ① and ②, and they call this “user research”.

They use “true smart people, all work hard.” To praise excellent product managers. This means that the smarter and more experienced you are, the more you have to walk into users and get to know them.

Otherwise, it is easy to fall into empirical judgment-“I think, users will think.”

And this judgment is often not credible.

This is because the user’s behavior data is not collected enough, not good enough, and the algorithm design is not beautiful enough. They believe that their judgment of eyes and hearts is better than that of data algorithms.

However, the data will get better because it gets better faster than people grow faster.

When it becomes more credible than human experience judgment, we will come to the third stop.

(3) The third station is algorithm-driven.

Design from the aspects of data sampling, data utilization, and algorithm construction.

This is a change:

① Product thinking scenarios and interactions; engineers to implement; users give feedback; return to the first step.

② Engineers design algorithms; engineers request data; product thinking how to get data; product design scenarios and interactions; engineers to implement; data to give feedback; return to a previous step.

Later, we will continue to give examples.

Technological change is happening now

When the algorithm’s ability is getting stronger and stronger, until one day it breaks a threshold, which is the average effect of human work.

Then the algorithm will kill most people’s work in an instant.

And the remaining handful of people will be killed by the algorithm a little bit.

Because the evolution of the algorithm is faster than human learning.

The old productive forces have been replaced by ruin. This kind of thing has happened too many times in human history, especially in recent years.

People started spending online.

Things were gentle at the beginning: some companies began to work harder to recruit algorithm engineers.

Just like now, what is happening.


We have talked about a lot of content in this manuscript, but the core sentence is just one: the algorithm replaces people, and it happens in the present.

If it is replaced, it is an inescapable fate. So as an individual, how should one deal with this matter. -Embrace technology.


To add a case, Netflix.

Maybe you haven’t heard of it, it’s simply the one who made “House of Cards”.

But this company is not simple. In June of this year, its market value was more than 180 billion US dollars, and its price-earnings ratio exceeded 300 times.

Even the same industry, the traditional spoiler Disney, has a market value of $ 168 billion.

This is an explanation of the price-earnings ratio. The price-earnings ratio of general technology companies is tens.

But netflix can reach three hundred.

The meaning behind it is that one side is high risk, and the other side is: it is overvalued by capital, and capital likes it.

So the question is, what business is such an entertainment giant doing?

Netflix was the earliest retailer. Later, it transformed into what it is now.

It shows people, but also makes plays, such as the house of cards.

The difference is that all its users are paid users. It’s just that you have a one-month free trial.

It does a very good recommendation algorithm. Based on what you have seen, based on your preferences, based on your identity information … to recommend content to you.

Now it’s time to talk about what it does with algorithms.

Use algorithms to intervene in content selection and production.
Director David Finch once took the adapted playbook of “House of Cards” and found many TV stations in the United States, but none of them dared to pay for it. No one can say whether an old play 20 years ago still has a market.

Netflix conducted a “TV drama consumer habits database” analysis, they found that the audience who likes to watch the 1990 BBC version of “House of Cards” is also a fan of the ghost director of “Social Network” and “Seven Deadly Sins” David Finch, They are also loyal fans of Oscar-winning actor Kevin Spacey. With powerful big data analysis support, Netflix can fully predict the audience and market response, integrate fans of the original “House of Cards” and Kevin Spicer and David Finch fans, and invest in the new version. House of Cards, a hit.

Use algorithms to make interest recommendations.

Netflix has been holding large competitions to recruit talents to improve its data mining processing capabilities. At the end of 2005, Netflix set up a million dollar prize collection algorithm and architecture that can increase the performance of its recommendation system by 10%. In the end, a team of engineers, statisticians, and research experts won a million prizes and successfully increased the recommendation efficiency of the Netflix movie recommendation engine by 10%.

Corresponds to the utilization algorithm. Many times, algorithms are also using people.

People need benefits, and algorithms need data—a large amount of data that is easy to calculate.

Netflix also made a lot of efforts to feed the data to the algorithm.

Infrastructure
In 2010, Netflix completed two data migrations, the first was to migrate the Netflix data center to Amazon AWS, and the other was to migrate the Oracle database to SimpleDB. By 2011, it was migrated from SimpleDB to Cassandra. Using the routing configuration provided by Cassandra, the cluster can be deployed on multiple continents.

Modification of product form

They eliminated the five-star scoring mechanism and changed it to good and bad, a single judgment.

They cancel the user comment function.

This is done to make the data cleaner and reduce interference factors.

In the eyes of traditional product managers, this is a bold decision.

But netflix did it because the starting point was different. Netflix needs to organize the data and feed it to the algorithm to allow the algorithm to produce benefits.

They trust algorithms and outperform human judgment.

Then they succeeded.

Python environment guide [python , Pycharm IDE]

In beginning of our Python Programming Basic class, we use web version python code you run on trinket. You may ask “How can I run Python code on my computer out of the trinket environment?”. Yes, this is a good question. We learn Python to be used in a real environment on our local computer. Next, let me introduce you to the common methods of building a Python environment. In our later part Python Programming Basic class and Python Crawler Advance class, we use Pycharm as our local python IDE.

PyCharm is a cross-platform editor developed by JetBrains. Pycharm provides all the tools you need for productive Python development. Among many editors, Pycharm is relatively friendly to new users. On the one hand, it will automatically complete the code. For example, if you write the front quotes, it will automatically fill in the back quotes; on the other hand ( More importantly) It will prompt you when the code is written. Therefore, the first article we recommend in the editor recommends Pycharm.

This article is divided into three parts, namely Installing Python, Third-party library installation and Installing Pycharm and use

Below are the detailed steps for installing Python and PyCharm

Installing Python

Step 1) To download and install Python visit the official website of Python https://www.python.org/downloads/ and choose your version. We have chosen currently latest Python version. Click the Download button to enter the download page, there are a variety of versions at the bottom to choose from.
We choose the appropriate version according to our system type (32-bit or 64-bit) and click to download, generally we choose executable installer. The differences between the various versions are:
embeddable zip file: embedded version, can be integrated into other applications
web-based installer: network installation
executable installer: executable file (* .exe) installation
We selected Windows x86-64 e installer here, double-click to open after the download is complete, you can see the interface as shown below:

Step 2) Once the download is complete, run the exe for install Python.

Note: first check all the boxes. The Add Python 3.8 to PATH circled in the figure must be checked, otherwise ‘python’ will give error after installation. then click Install Now

Step 3) You can see Python installing at this point.

Step 4) When it finishes, you can see a screen that says the Setup was successful. Now click on “Close”.

Step 5) After closing the installation interface, we use the win + r shortcut key to open the run window, enter cmd in the run window, and click the OK button to open the command prompt, which is the command line.

Step 6) Enter python in the command prompt window and press Enter. When you see the version information of Python, you have entered the Python interactive environment. Then we can enter the python code after >>> to execute.

Install on Mac
Mac generally comes with Python, but the version is older. Next, let ’s talk about how to install the latest one. Choose one of the following two methods:

Go to the official website to download and install like Windows;
Install through Homebrew. If Homebrew is already installed, simply execute in the terminal:

brew install python3

Manually run python program in command line is hard. The more recommended way is to use an editor or IDE to create a py file to write and run code. A good coding tool can greatly improve coding efficiency. Here, we recommend using vscode or pycharm.

Third-party library installation


The reason why Python is so powerful is inseparable from its rich third-party libraries. Next we look at how to install third-party libraries.

Python uses pip to manage third-party libraries. Python 2.7.9 or Python 3.4 and above all come with pip tools, which we can use directly.

First, we open the command prompt window by the method mentioned above, then enter the name of the third-party library pip install and press Enter to start the installation. For example, we want to install the requests library, just type

pip install requests

and then press Enter key to install

It should be noted that the command is entered directly in the command prompt window(or in Terminal window in pycharm). Many students open the command prompt, enter python, and then install the command. This is wrong.

Installing Pycharm and Use

Step 1) To download PyCharm visit the website https://www.jetbrains.com/pycharm/download/ and Click the “DOWNLOAD” link under the Community Section, which is free.

Step 2) Once the download is complete, run the exe for install PyCharm. The setup wizard should have started. Click “Next”.

How to Install Python on Windows with Pycharm IDE

Step 3) On the next screen, Change the installation path if required. Click “Next”.

How to Install Python on Windows with Pycharm IDE

Step 4) On the next screen, Check all boxes first, which create a desktop shortcut, associate .py and add PATH. Then click on “Next”.

How to Install Python on Windows with Pycharm IDE

Step 5) Choose the start menu folder. Keep selected JetBrains and click on “Install”.

How to Install Python on Windows with Pycharm IDE

Step 6) Wait for the installation to finish.

How to Install Python on Windows with Pycharm IDE

Step 7) Once installation finished, you should receive a message screen that PyCharm is installed. (After the installation, the computer will be required to restart, select the one above to automatically restart, select the next one to manually restart. choose either one is ok). click “Finish”.

How to Install Python on Windows with Pycharm IDE

Step 8)  Find your new installed PyCharm program on desktop . double click to Open it.

Step 9)  After you open Pycharm, you will be asked if you want to enter the previous settings. For the first installation, select “Do not import”

How to Install Python on Windows with Pycharm IDE

Step 10) Privacy policy, please check if you have no patience, then continue

Step 11) Click Create New Project, or Open your folder. We suggest create a folder on desktop name python, then open the folder python on desktop. In our class, we need to create at least 3 folders under python: python1, python2, python3 for your diffrent levels of python class.

Step 12) If you haven’t create folders in pycharm before, it is easy, Just right click on python folder in left side, select New, then select Directory .

Step 13) type in name of directory , for example, python1, press Enter . Create python1 folder

Step 14) Right click on python1 folder in left side, select New, then select Directory . type in name of 1st class in Python Programming Basic class, 1print function and variables (You can go to 1st Basic class and copy the class name from lemonthy.ca), press Enter

Step 15) Right click on 1print function and variables folder in left side, select New, then select file. type in name of 1st execs in Python Programming Basic class, 101No_quotes.py (You can go to 1st Basic class and copy the exec name from lemonthy.ca), press Enter

Step 16) double click on new file 101No_quotes.py. type your code in 1st class. There are 3 ways to run the code: 1. right click on empty space of code on screen , then select Run 101No_quotes.py . 2. or you can click green triangle run button on top right side of toolbar. 3. you can press shortcut key Ctrl+Shift+F10

The last is our intergrated Anaconda. Anaconda is a large collection that includes Python and its commonly used tools and modules. For beginners, just installing Anaconda is enough! Please google how to install Anaconda . and follow the instruction to install