您的位置首页  学习

python学习路线图_python自学路线

  • 来源:互联网
  • |
  • 2025-05-02
  • |
  • 0 条评论
  • |
  • |
  • T小字 T大字

还要了解其他数据结构,如字典和集合。接下来,学习使用函数参数和lambda表达式等概念进行函数编程。

python学习路线图_python自学路线

 

步骤1:基础我们首先学习Python的基础知识——变量、数据类型和操作符还要学习循环和决策制定等概念:Python VariablesPython Variable ScopeData Types in Python。

Python OperatorsBitwise OperatorsComparison OperatorsOperator PrecedenceTernary OperatorsPython Decision Making

Switch-case in PythonLoops in PythonNumbers with PythonPython StringsString Formatters and Escape Sequences

String Functions and OperationsThe repr() Function

步骤2:数据结构了解像列表和元组这样的数据结构以及对它们执行的操作还要了解其他数据结构,如字典和集合Python ListsList ComprehensionThe array ModulePython Tuples。

The zip() FunctionTuples vs ListsSlicing in PythonBinary Sequence Types- bytes, bytearray, memoryview

Dictionaries in PythonSets in PythonBooleans in Python步骤3:函数式编程接下来,学习使用函数参数和lambda表达式等概念进行函数编程另外,看看一些重要的内置函数。

最后,学习decorator、closure和itertoolsFunctions in PythonLambda ExpressionsFunction ArgumentsFunction Recursion

Built-in Functionsrange()eval()exec()Decorators in PythonClosure in PythonWorking with itertools

步骤4:模块和包接下来是学习如何创建模块和包,并实践一些重要的模块和包然后比较包和模块ModulesCounterDefaultdictOrderedDictnamedtupleNumeric Modules-math,decimal, random。

sysGenerating Random NumbersPackagespip and PyPIModules vs Packages步骤5:进阶Python是时候深入挖掘Python了!此步骤将带您了解更高级的概念,如正则表达式、日期和时间以及调试。

Regular Expressions with PythonMultithreading in PythonWorking with Date and TimeNamespace and ScopeVirtual Environments and Packages

The datetime Module - Part IThe datetime Module - Part IIThe calendar ModuleThe Python Debugger (pdb)

CGI Programming with PythonUnderstanding urllibTerminologies in PythonWhats new in Python 3.7?Deep Copy vs Shallow Copy

Assert Statements in PythonPretty-Printing with pprint步骤6:面向对象编程我们现在开始讨论面向对象编程我们讨论类、方法和对象然后,我们尝试着手进行继承和操作符重载。

最后,我们讨论一些概念,如生成器、迭代器和属性Methods in PythonMethods vs FunctionsMagic (Dunder) MethodsClasses in PythonAbstract class

Concrete classPython ObjectsInheritance in PythonMultiple InheritancePython Operator OverloadingGenerators in Python

Iterators in PythonGenerators vs IteratorsSerialization with pickleThe property Decorator

步骤7:文件处理现在探索其他概念,如文件处理这个模块教你如何在OS和shutil模块的帮助下操作文件您还将学习如何使用Python复制、重命名和压缩文件Reading and Writing Files。

Managing Directories and FilesThe OS ModuleThe shutil ModuleCopying Files with PythonRenaming Files with Python

Zipping Files with Python步骤8:异常处理现在学习异常处理和unittestErrors and ExceptionsException HandlingTesting with unittest

步骤9:重要的包有了这样强大的库,就有可能培养出像Python这样的工具的真正功能Python LibrariesNumPySciPypandasVisualizing with matplotlibPyQT

PyGTKPyTorchAltairWeb Scraping with ScrapyData access mechanismsSpacypygametkinter步骤10:其他功能现在学习一些概念,如发送邮件、使用Python访问数据库、日志和多过程。

XML ProcessingSending Mail with PythonNetworkingProcessing ImagesGUI ProgrammingForensicsExtensions to Python

ToolsAccessing the DatabaseLogging with PythonMultiprocessing

免责声明:本站所有信息均搜集自互联网,并不代表本站观点,本站不对其真实合法性负责。如有信息侵犯了您的权益,请告知,本站将立刻处理。联系QQ:1640731186