python 3 tutorial,python-tutorial

Python programming tutorial

This is a concise Python 3 programming tutorial for people who think

that reading is boring. I try to show everything with simple code

examples; there are no long and complicated explanations with fancy

words. If you have never programmed before click

here to find out what programming is

like and get started.

This tutorial is aimed at people with no programming experience at all

or very little programming experience. If you have programmed a lot in

the past using some other language you may want to read the official

tutorial instead.

You can use Python 3.3 or any newer Python with this tutorial. Don't

use Python 2. If you write a Python 2 program now someone will need to

convert it to Python 3 later, so it's best to just write Python 3 to

begin with. Python 3 code will work just fine in Python 4, so you don't

need to worry about that. Python 2 also has horrible

Unicode problems,

so it's difficult to write Python 2 code that works correctly with

non-English characters (like π and ♫).

List of contents

The tutorial consists of two sections:

Basics

This section will get you started with using Python and you'll be able

to learn more about whatever you want after studying it.

Advanced

If you want to learn more advanced techniques, you can also read this

section. Most of the techniques explained here are great when you're

working on a large project, and your code would be really repetitive

without these things.

You can experiment with these things freely, but please don't use these

techniques just because you know how to use them. Prefer the simple

techniques from the Basics part instead when possible. Simple is better

than complex.

Other things this tutorial comes with

Frequently asked questions

How can I thank you for writing and sharing this tutorial?

You can star this tutorial. Starring is free for you, but it tells me

and other people that you like this tutorial.

Go here if you aren't here

already and click the "Star" button in the top right corner. You will be

asked to create a GitHub account if you don't already have one.

How can I read this tutorial without an Internet connection?

Go here if you aren't

here already.

Click the big green "Clone or download" button in the top right of

the page, then click "Download ZIP".

c2708d108325e33955a5a0f91850d13d.png

Extract the ZIP and open it. Unfortunately I don't have any more

specific instructions because how exactly this is done depends on

which operating system you run.

Run make-html.py and follow the instructions.

If you have git and you know how to use it, you can also clone the

repository instead of downloading a zip and extracting it. An advantage

with doing it this way is that you don't need to download the whole

tutorial again to get the latest version of it, all you need to do is to

pull with git and run make-html.py again.

Authors

I'm Akuli and I have written most of this tutorial, but these people

have helped me with it:

SpiritualForest: Lots of typing

error fixes.

theelous3: Small improvements and fixes.

If you have trouble with this tutorial please tell me about

it and I'll make this tutorial better. If you

like this tutorial, please give it a

star.

You may use this tutorial freely at your own risk. See

LICENSE.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值