All Projects → xiyouMc → Pythonguide

xiyouMc / Pythonguide

This`s a guide of python.

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Pythonguide

Awesome Swiftui
A collaborative list of awesome articles, talks, books, videos and code examples about SwiftUI.
Stars: ✭ 878 (+1011.39%)
Mutual labels:  guide
Asus Rog Strix H370 I Gaming Hackintosh Guide
Asus ROG STRIX H370-I GAMING Hackintosh Guide
Stars: ✭ 43 (-45.57%)
Mutual labels:  guide
Pc Optimization Hub
collection of various resources devoted to performance and input lag optimization
Stars: ✭ 55 (-30.38%)
Mutual labels:  guide
Teach yourself demoscene in 14 days
guidebook idea from http://www.pouet.net/topic.php?which=10882&page=1
Stars: ✭ 980 (+1140.51%)
Mutual labels:  guide
Contributing
✨ Contributing Guide ⭐️ for @tunnckoCore ⬣ and @charlike projects 🐈 This is highly adapted and inspired from the awesome https://github.com/dwyl/contributing and https://opensource.guide articles, thank you! ❤️
Stars: ✭ 38 (-51.9%)
Mutual labels:  guide
Easyandroid
一系列简单、轻量、方便的Android开发工具集合(持续更新中),包括Android动态权限、SharedPreferences、反射、日志、Toast、Bundle、MVP、线程池、Html、图文混排、蒙层引导、拍照、图库选择等
Stars: ✭ 1,039 (+1215.19%)
Mutual labels:  guide
Cve 2017 0199 Fix
Quick and dirty fix to OLE2 executing code via .hta
Stars: ✭ 14 (-82.28%)
Mutual labels:  guide
The Practical Linux Hardening Guide
This guide details creating a secure Linux production system. OpenSCAP (C2S/CIS, STIG).
Stars: ✭ 8,790 (+11026.58%)
Mutual labels:  guide
Js The Right Way
An easy-to-read, quick reference for JS best practices, accepted coding standards, and links around the Web
Stars: ✭ 8,147 (+10212.66%)
Mutual labels:  guide
Code Review Emoji Guide
An emoji legend to help convey intention and added meaning in code review comments.
Stars: ✭ 52 (-34.18%)
Mutual labels:  guide
Awesome Ngo
A curated list of FOSS (Free and Open-source Software), freemium tools and guides for NGOs
Stars: ✭ 36 (-54.43%)
Mutual labels:  guide
Opencv Tutorials
Tutorials for learning OpenCV in Python from Scratch
Stars: ✭ 36 (-54.43%)
Mutual labels:  guide
Vbb Modules
List of JavaScript modules for Berlin & Brandenburg public transport.
Stars: ✭ 47 (-40.51%)
Mutual labels:  guide
Flutter Roadmap And Resources Guide
A roadmap from a beginner's point of view. Which can help you in becoming a full fledge flutter developer.
Stars: ✭ 28 (-64.56%)
Mutual labels:  guide
Swiftyoverlay
Show overlay and info on app components
Stars: ✭ 63 (-20.25%)
Mutual labels:  guide
Road To Master Ngrx Store
A curated guided hyperlinks to learn all there is to know of Ngrx/Store and state management in general
Stars: ✭ 15 (-81.01%)
Mutual labels:  guide
Enlighten
💡 An integrated spotlight-based onboarding and help library for macOS, written in Swift.
Stars: ✭ 44 (-44.3%)
Mutual labels:  guide
Minecraft Optimization
Minecraft server optimization guide
Stars: ✭ 77 (-2.53%)
Mutual labels:  guide
Awesome Vuetify
🎉 The best resources related to Vuetify
Stars: ✭ 1,189 (+1405.06%)
Mutual labels:  guide
Guide 3ds
A complete guide to 3DS custom firmware, from stock to boot9strap.
Stars: ✭ 1,055 (+1235.44%)
Mutual labels:  guide

PythonGuide

This`s a guide of python. 中文说明

import json
data = {'b':123,'c':456,'a':'789'}

d1 = json.dumps(data,sort_keys=True,indent=4);

print d1
print data


print '''line1
line2
line3'''

print 3>2

print True and False

print not True

age = 17
if age >18:
    print 'adult'
else:
    print 'teenager'
PI=1111
print PI
print 10.0/3
#list
classmates=['Mark','Bob','Tracy']
print classmates

# list len
print len(classmates)
print classmates[0]

# last
print classmates[-1]
classmates.append("Adam")
print classmates
classmates.insert(1,'aaaa')
print classmates
classmates.pop();
print classmates

#tuple Not Change.diff list:not append insert
noChange=('aa','bb')
print noChange

t = (1,)
print t

L = [
    ['Apple', 'Google', 'Microsoft'],
    ['Java', 'Python', 'Ruby', 'PHP'],
    ['Adam', 'Bart', 'Lisa']
]
print L[0][0]
print L[1][1]
print L[2][2]

#if...elif
age = 3
if age >= 18:
    print('adult')
elif age >= 6:
    print('teenager')
else:
    print('kid')
s = '123'
birth = int(s)
if birth<200:
    print 'AAA'
else:
    print 'BBB'

#for in
names=['Mark','Bob','Tracy']
for name in names:
    print name

# 1+2....+1000 range
sum=0
for x in range(1000):
    sum = sum + x
print sum

n = 0
while n < len(L):
    i = 0
    while i < len(L[n]):
        print L[n][i]
        i = 1+i
    n = 1+n
#dict->Map
d = {'Mark':95,'Bob':75,'Tracy':85}
print d['Mark']
d.pop('Tracy')
print d

http://www.liaoxuefeng.com/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014319106919344c4ef8b1e04c48778bb45796e0335839000

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].