刚开始接触Python,如何正确高效的开展Python学习?
大学毕业做了五年前端,javascript算不精通但是很熟练,今年28了,薪资一直还在10K左右徘徊,职场也一路平平淡淡,非常苦恼。最近公司新成立一个部门,内部招聘Python,薪资是我现在的两倍,主要做Data Acquisition和web开发。我很感兴趣,毕竟是老员工,公司的HRD也极力推荐我,但是之前从来没有接触过Python,我想用两个月时间,每天两小时来学习Python,请问我该如何去做学习计划以及该从哪里开始学习,看什么教程、书或者资料?如果认真学习两个月是否可以达到中级水平?(独立编写一些常用的web项目与分布式爬虫的制作!)
回复内容:
Python教程 - 廖雪峰的官方网站小白的Python新手教程,具有如下特点:
中文,免费,零起点,完整示例,基于最新的Python 3版本。实战部分包含一个完整的webapp。
- 读《Python Manuals》里的 tutorials。
- 读《笨办法学Python》
- 读《Head first Python》
- 读《Django manuals》
- 读《Python Manuals》里的 Lib Ref & Lang Ref,或先读拙著《编写高质量代码:改善Python程序的91个建议 (豆瓣)》再读前者
- 工作中,读用到的所有库的 Manuals,遇到问题就读一下这些库的源码(浅尝即可)
- 读《Python源码剖析》
- 读《Python 开发实战》
- 带新人,更新这个书单。
import requests
import splinter
import bs4
import scrapy
import sqlmap
import numpy
import django
import sqlite3
import mysqldb 慢工出细活,多读书,多动手,多思考。。
当然,这很困难 我感觉我自己Python上手挺轻松的,并没有看太多的Python教程。分享一下学习经历,希望对你有用。
很早之前学习C++的时候就知道Python了,但是一直没怎么关注。后来又陆陆续续学了Java和C#这两种面向对象的语言,这个过程也偶尔听人说起Python,但还是没什么学Python的冲动。
有个学期有门课程实验给了一份Python代码,于是我决定学Python。当然我并不打算精通,只要足以看懂那份代码就行了。
当时我也学过两三种语言了,所以对一门程序语言的要素体会比较深。大概花了一两天的样子,我把一个精简的Python教程快速浏览了一遍,达成了看懂那份代码的目标,然后就一直没再碰过Python了。
过了可能近一年之后,我选修了一门大数据推荐算法的课,课程作业要求用Python写。于是我又花了几天找了个教程简单回顾了一下Python语法,然后就开始一边bing百度Google,一边查Python文档编写算法作业了。这个过程中,我逐渐喜欢上了那种用几行Python代码代替一坨C/C++/Java代码的感觉。。。。。。
等到课程完结的时候,我依靠网络和API帮助文档已经能比较随意的运用Python语言了。 看下基本语法,然后直接开始撸码。
比如前些天我要考学位英语,频繁查网页版的有道词典,其实我的需求只是说看一下不认识单词的中文意思,但是查询到好多没用的信息。于是花半小时写了个非常简单的有道词典查词功能。
futantan/Dic-scraper · GitHub
不要在语法基础上面花费太多时间,项目驱动往往是最快的,遇到的坑多了,头破血流后,就知道怎么做了。 这样的时间内,看一本书都是困难的。
但是,如果你知道你的职位的工作内容,然后只看相关的,那大概是没问题的。
不过不知道你们内部有没有面试,这是个问题。 前端我觉得这两年火很多了呀,大厂里5年左右的前端待遇远不止10k,平均不比python差,python虽好需求量没那么大。当然如果牛都牛。
你确定要放弃前端? 有开发经验,上手很快
推荐看一遍《python核心编程第2版》。
也可以参考一下
请看黄哥本人写的文章
如何捅破python编程的那层纸
article/pythonstudy.md at master · pythonpeixun/article · GitHub
剪刀石头布小习题三种语言python2、php、go代码
article/jdstb.md at master · pythonpeixun/article · GitHub
一段小代码说明@property装饰器的用法
一段小代码说明@property装饰器的用法
黄哥python远程视频培训班
article/index.md at master · pythonpeixun/article · GitHub
黄哥python培训试看视频播放地址
article/python_shiping.md at master · pythonpeixun/article · GitHub 《Python Manuals》里的 tutorials,有中文版

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

PHP is mainly procedural programming, but also supports object-oriented programming (OOP); Python supports a variety of paradigms, including OOP, functional and procedural programming. PHP is suitable for web development, and Python is suitable for a variety of applications such as data analysis and machine learning.

PHP is suitable for web development and rapid prototyping, and Python is suitable for data science and machine learning. 1.PHP is used for dynamic web development, with simple syntax and suitable for rapid development. 2. Python has concise syntax, is suitable for multiple fields, and has a strong library ecosystem.

Python is more suitable for beginners, with a smooth learning curve and concise syntax; JavaScript is suitable for front-end development, with a steep learning curve and flexible syntax. 1. Python syntax is intuitive and suitable for data science and back-end development. 2. JavaScript is flexible and widely used in front-end and server-side programming.

VS Code can run on Windows 8, but the experience may not be great. First make sure the system has been updated to the latest patch, then download the VS Code installation package that matches the system architecture and install it as prompted. After installation, be aware that some extensions may be incompatible with Windows 8 and need to look for alternative extensions or use newer Windows systems in a virtual machine. Install the necessary extensions to check whether they work properly. Although VS Code is feasible on Windows 8, it is recommended to upgrade to a newer Windows system for a better development experience and security.

PHP originated in 1994 and was developed by RasmusLerdorf. It was originally used to track website visitors and gradually evolved into a server-side scripting language and was widely used in web development. Python was developed by Guidovan Rossum in the late 1980s and was first released in 1991. It emphasizes code readability and simplicity, and is suitable for scientific computing, data analysis and other fields.

VS Code can be used to write Python and provides many features that make it an ideal tool for developing Python applications. It allows users to: install Python extensions to get functions such as code completion, syntax highlighting, and debugging. Use the debugger to track code step by step, find and fix errors. Integrate Git for version control. Use code formatting tools to maintain code consistency. Use the Linting tool to spot potential problems ahead of time.

In VS Code, you can run the program in the terminal through the following steps: Prepare the code and open the integrated terminal to ensure that the code directory is consistent with the terminal working directory. Select the run command according to the programming language (such as Python's python your_file_name.py) to check whether it runs successfully and resolve errors. Use the debugger to improve debugging efficiency.

VS Code extensions pose malicious risks, such as hiding malicious code, exploiting vulnerabilities, and masturbating as legitimate extensions. Methods to identify malicious extensions include: checking publishers, reading comments, checking code, and installing with caution. Security measures also include: security awareness, good habits, regular updates and antivirus software.
