mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 01:51:38 +00:00
Switch links: 'python3 <-> python' and 'python <-> pythonlegacy'
The list of references is exhausted by running 'ack docs/python'.
This commit is contained in:
parent
a3b0585374
commit
efe00fd06e
@ -19,7 +19,7 @@ filename: learnpython3-ar.py
|
|||||||
|
|
||||||
ردود أفعالكم عن المقال مُقدرة بشدة. يمكنكم التواصل مع الكاتب الاساسي من خلال [@louiedinh](http://twitter.com/louiedinh) أو louiedinh [at] [google's email service]
|
ردود أفعالكم عن المقال مُقدرة بشدة. يمكنكم التواصل مع الكاتب الاساسي من خلال [@louiedinh](http://twitter.com/louiedinh) أو louiedinh [at] [google's email service]
|
||||||
|
|
||||||
ملحوظة: هذا المقال يُطبق على بايثون 3 فقط. راجع المقال [هنا](http://learnxinyminutes.com/docs/python/) إذا أردت تعلم لغة البايثون نسخة 2.7 الأقدم
|
ملحوظة: هذا المقال يُطبق على بايثون 3 فقط. راجع المقال [هنا](http://learnxinyminutes.com/docs/pythonlegacy/) إذا أردت تعلم لغة البايثون نسخة 2.7 الأقدم
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ Zamiloval jsem si Python pro jeho syntaktickou čistotu - je to vlastně spustit
|
|||||||
Vaše zpětná vazba je vítána! Můžete mě zastihnout na [@louiedinh](http://twitter.com/louiedinh) nebo louiedinh [at] [email od googlu] anglicky,
|
Vaše zpětná vazba je vítána! Můžete mě zastihnout na [@louiedinh](http://twitter.com/louiedinh) nebo louiedinh [at] [email od googlu] anglicky,
|
||||||
autora českého překladu pak na [@tbedrich](http://twitter.com/tbedrich) nebo ja [at] tbedrich.cz
|
autora českého překladu pak na [@tbedrich](http://twitter.com/tbedrich) nebo ja [at] tbedrich.cz
|
||||||
|
|
||||||
Poznámka: Tento článek je zaměřen na Python 3. Zde se můžete [naučit starší Python 2.7](http://learnxinyminutes.com/docs/python/).
|
Poznámka: Tento článek je zaměřen na Python 3. Zde se můžete [naučit starší Python 2.7](http://learnxinyminutes.com/docs/pythonlegacy/).
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Python wurde in den frühen Neunzigern von Guido van Rossum entworfen. Es ist he
|
|||||||
|
|
||||||
Feedback ist herzlich willkommen! Ihr erreicht mich unter [@louiedinh](http://twitter.com/louiedinh) oder louiedinh [at] [google's email service].
|
Feedback ist herzlich willkommen! Ihr erreicht mich unter [@louiedinh](http://twitter.com/louiedinh) oder louiedinh [at] [google's email service].
|
||||||
|
|
||||||
Hinweis: Dieser Beitrag bezieht sich implizit auf Python 3. Falls du lieber Python 2.7 lernen möchtest, schau [hier](http://learnxinyminutes.com/docs/python/) weiter.
|
Hinweis: Dieser Beitrag bezieht sich implizit auf Python 3. Falls du lieber Python 2.7 lernen möchtest, schau [hier](http://learnxinyminutes.com/docs/pythonlegacy/) weiter.
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ lang: el-gr
|
|||||||
ή τον αρχικό συγγραφέα στο [@louiedinh](http://twitter.com/louiedinh) ή στο
|
ή τον αρχικό συγγραφέα στο [@louiedinh](http://twitter.com/louiedinh) ή στο
|
||||||
louiedinh [at] [google's email service]
|
louiedinh [at] [google's email service]
|
||||||
|
|
||||||
Σημείωση: Το παρόν άρθρο ασχολείται μόνο με την Python 3. Δείτε [εδώ](http://learnxinyminutes.com/docs/python/) αν θέλετε να μάθετε την παλιά Python 2.7
|
Σημείωση: Το παρόν άρθρο ασχολείται μόνο με την Python 3. Δείτε [εδώ](http://learnxinyminutes.com/docs/pythonlegacy/) αν θέλετε να μάθετε την παλιά Python 2.7
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ vagy pedig a louiedinh [kukac] [google email szolgáltatása] címen.
|
|||||||
Figyelem: ez a leírás a Python 2.7 verziójára vonatkozok, illetve
|
Figyelem: ez a leírás a Python 2.7 verziójára vonatkozok, illetve
|
||||||
általánosságban a 2.x verziókra. A Python 2.7 azonban már csak 2020-ig lesz
|
általánosságban a 2.x verziókra. A Python 2.7 azonban már csak 2020-ig lesz
|
||||||
támogatva, ezért kezdőknek ajánlott, hogy a Python 3-mal kezdjék az
|
támogatva, ezért kezdőknek ajánlott, hogy a Python 3-mal kezdjék az
|
||||||
ismerkedést. A Python 3.x verzióihoz a [Python 3 bemutató](http://learnxinyminutes.com/docs/python3/)
|
ismerkedést. A Python 3.x verzióihoz a [Python 3 bemutató](http://learnxinyminutes.com/docs/python/)
|
||||||
ajánlott.
|
ajánlott.
|
||||||
|
|
||||||
Lehetséges olyan Python kódot írni, ami egyszerre kompatibilis a 2.7 és a 3.x
|
Lehetséges olyan Python kódot írni, ami egyszerre kompatibilis a 2.7 és a 3.x
|
||||||
|
@ -20,7 +20,7 @@ Feedback sono altamente apprezzati! Potete contattarmi su [@louiedinh](http://tw
|
|||||||
Nota: questo articolo è riferito a Python 2.7 in modo specifico, ma dovrebbe andar
|
Nota: questo articolo è riferito a Python 2.7 in modo specifico, ma dovrebbe andar
|
||||||
bene anche per Python 2.x. Python 2.7 sta raggiungendo il "fine vita", ovvero non sarà
|
bene anche per Python 2.x. Python 2.7 sta raggiungendo il "fine vita", ovvero non sarà
|
||||||
più supportato nel 2020. Quindi è consigliato imparare Python utilizzando Python 3.
|
più supportato nel 2020. Quindi è consigliato imparare Python utilizzando Python 3.
|
||||||
Per maggiori informazioni su Python 3.x, dai un'occhiata al [tutorial di Python 3](http://learnxinyminutes.com/docs/python3/).
|
Per maggiori informazioni su Python 3.x, dai un'occhiata al [tutorial di Python 3](http://learnxinyminutes.com/docs/python/).
|
||||||
|
|
||||||
E' possibile anche scrivere codice compatibile sia con Python 2.7 che con Python 3.x,
|
E' possibile anche scrivere codice compatibile sia con Python 2.7 che con Python 3.x,
|
||||||
utilizzando [il modulo `__future__`](https://docs.python.org/2/library/__future__.html) di Python.
|
utilizzando [il modulo `__future__`](https://docs.python.org/2/library/__future__.html) di Python.
|
||||||
|
@ -21,7 +21,7 @@ lang: ja-jp
|
|||||||
|
|
||||||
フィードバッグは大歓迎です! [@louiedinh](http://twitter.com/louiedinh) または louiedinh [at] [google's email service] にご連絡下さい!
|
フィードバッグは大歓迎です! [@louiedinh](http://twitter.com/louiedinh) または louiedinh [at] [google's email service] にご連絡下さい!
|
||||||
|
|
||||||
Note: この記事はPython 3に内容を絞っています。もし古いPython 2.7を学習したいなら、 [こちら](http://learnxinyminutes.com/docs/python/) をご確認下さい。
|
Note: この記事はPython 3に内容を絞っています。もし古いPython 2.7を学習したいなら、 [こちら](http://learnxinyminutes.com/docs/pythonlegacy/) をご確認下さい。
|
||||||
|
|
||||||
```python
|
```python
|
||||||
# 1行のコメントは番号記号(#)から始まります。
|
# 1行のコメントは番号記号(#)から始まります。
|
||||||
|
@ -16,7 +16,7 @@ Python was created by Guido van Rossum in the early 90s. It is now one of the mo
|
|||||||
languages in existence. I fell in love with Python for its syntactic clarity. It's basically
|
languages in existence. I fell in love with Python for its syntactic clarity. It's basically
|
||||||
executable pseudocode.
|
executable pseudocode.
|
||||||
|
|
||||||
Note: This article applies to Python 3 specifically. Check out [here](http://learnxinyminutes.com/docs/python/) if you want to learn the old Python 2.7
|
Note: This article applies to Python 3 specifically. Check out [here](http://learnxinyminutes.com/docs/pythonlegacy/) if you want to learn the old Python 2.7
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ or louiedinh [at] [google's email service]
|
|||||||
Note: This article applies to Python 2.7 specifically, but should be applicable
|
Note: This article applies to Python 2.7 specifically, but should be applicable
|
||||||
to Python 2.x. Python 2.7 is reaching end of life and will stop being
|
to Python 2.x. Python 2.7 is reaching end of life and will stop being
|
||||||
maintained in 2020, it is though recommended to start learning Python with
|
maintained in 2020, it is though recommended to start learning Python with
|
||||||
Python 3. For Python 3.x, take a look at the [Python 3 tutorial](http://learnxinyminutes.com/docs/python3/).
|
Python 3. For Python 3.x, take a look at the [Python 3 tutorial](http://learnxinyminutes.com/docs/python/).
|
||||||
|
|
||||||
It is also possible to write Python code which is compatible with Python 2.7
|
It is also possible to write Python code which is compatible with Python 2.7
|
||||||
and 3.x at the same time, using Python [`__future__` imports](https://docs.python.org/2/library/__future__.html). `__future__` imports
|
and 3.x at the same time, using Python [`__future__` imports](https://docs.python.org/2/library/__future__.html). `__future__` imports
|
||||||
|
@ -13,7 +13,7 @@ filename: learnpython3-tr.py
|
|||||||
|
|
||||||
Python,90ların başlarında Guido Van Rossum tarafından oluşturulmuştur. En popüler olan dillerden biridir. Beni Python'a aşık eden sebep onun syntax beraklığı. Çok basit bir çalıştırılabilir söz koddur.
|
Python,90ların başlarında Guido Van Rossum tarafından oluşturulmuştur. En popüler olan dillerden biridir. Beni Python'a aşık eden sebep onun syntax beraklığı. Çok basit bir çalıştırılabilir söz koddur.
|
||||||
|
|
||||||
Not: Bu makale Python 3 içindir. Eğer Python 2.7 öğrenmek istiyorsanız [burayı](http://learnxinyminutes.com/docs/python/) kontrol edebilirsiniz.
|
Not: Bu makale Python 3 içindir. Eğer Python 2.7 öğrenmek istiyorsanız [burayı](http://learnxinyminutes.com/docs/pythonlegacy/) kontrol edebilirsiniz.
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ như một loại mã giả (pseudocode) có thể thực thi được.
|
|||||||
|
|
||||||
Mọi phản hồi đều sẽ được tích cực ghi nhận! Bạn có thể liên lạc với tôi qua Twitter [@louiedinh](http://twitter.com/louiedinh) hoặc louiedinh [at] [google's email service]
|
Mọi phản hồi đều sẽ được tích cực ghi nhận! Bạn có thể liên lạc với tôi qua Twitter [@louiedinh](http://twitter.com/louiedinh) hoặc louiedinh [at] [google's email service]
|
||||||
|
|
||||||
Lưu ý: Bài viết này áp dụng riêng cho Python 3. Truy cập [vào đây](http://learnxinyminutes.com/docs/python/) nếu bạn muốn học phiên bản cũ Python 2.7
|
Lưu ý: Bài viết này áp dụng riêng cho Python 3. Truy cập [vào đây](http://learnxinyminutes.com/docs/pythonlegacy/) nếu bạn muốn học phiên bản cũ Python 2.7
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ Python 是由吉多·范罗苏姆(Guido Van Rossum)在 90 年代早期设计。
|
|||||||
欢迎大家斧正。英文版原作 Louie Dinh [@louiedinh](http://twitter.com/louiedinh)
|
欢迎大家斧正。英文版原作 Louie Dinh [@louiedinh](http://twitter.com/louiedinh)
|
||||||
邮箱 louiedinh [at] [谷歌的信箱服务]。中文翻译 Geoff Liu。
|
邮箱 louiedinh [at] [谷歌的信箱服务]。中文翻译 Geoff Liu。
|
||||||
|
|
||||||
注意:这篇教程是基于 Python 3 写的。如果你想学旧版 Python 2,我们特别有[另一篇教程](http://learnxinyminutes.com/docs/python/)。
|
注意:这篇教程是基于 Python 3 写的。如果你想学旧版 Python 2,我们特别有[另一篇教程](http://learnxinyminutes.com/docs/pythonlegacy/)。
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ Python是在1990年代早期由Guido Van Rossum創建的。它是現在最流行
|
|||||||
非常歡迎各位給我們任何回饋! 你可以在[@louiedinh](http://twitter.com/louiedinh) 或 louiedinh [at] [google's email service]聯絡到我。
|
非常歡迎各位給我們任何回饋! 你可以在[@louiedinh](http://twitter.com/louiedinh) 或 louiedinh [at] [google's email service]聯絡到我。
|
||||||
|
|
||||||
註: 本篇文章適用的版本為Python 2.7,但大部分的Python 2.X版本應該都適用。 Python 2.7將會在2020年停止維護,因此建議您可以從Python 3開始學Python。
|
註: 本篇文章適用的版本為Python 2.7,但大部分的Python 2.X版本應該都適用。 Python 2.7將會在2020年停止維護,因此建議您可以從Python 3開始學Python。
|
||||||
Python 3.X可以看這篇[Python 3 教學 (英文)](http://learnxinyminutes.com/docs/python3/).
|
Python 3.X可以看這篇[Python 3 教學 (英文)](http://learnxinyminutes.com/docs/python/).
|
||||||
|
|
||||||
讓程式碼同時支援Python 2.7和3.X是可以做到的,只要引入
|
讓程式碼同時支援Python 2.7和3.X是可以做到的,只要引入
|
||||||
[`__future__` imports](https://docs.python.org/2/library/__future__.html) 模組.
|
[`__future__` imports](https://docs.python.org/2/library/__future__.html) 模組.
|
||||||
|
Loading…
Reference in New Issue
Block a user