代码搜索:Python
找到约 10,000 项符合「Python」的源代码
代码结果 10,000
www.eeworm.com/read/446504/7577375
po sq.po
# Albanian translation for aptoncd
# Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007
# This file is distributed under the same license as the aptoncd package.
# FIRST AUTHOR
www.eeworm.com/read/446504/7577382
po bg.po
# Bulgarian translation for aptoncd
# Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007
# This file is distributed under the same license as the aptoncd package.
# FIRST AUTHOR
www.eeworm.com/read/446504/7577384
po el.po
# Greek, Modern (1453-) translation for aptoncd
# Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007
# This file is distributed under the same license as the aptoncd package.
# FIRST AUTHO
www.eeworm.com/read/446504/7577385
po bs.po
# Bosnian translation for aptoncd
# Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007
# This file is distributed under the same license as the aptoncd package.
# FIRST AUTHOR
www.eeworm.com/read/446504/7577387
po fa.po
# Persian translation for aptoncd
# Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007
# This file is distributed under the same license as the aptoncd package.
# FIRST AUTHOR
www.eeworm.com/read/442749/7645681
py print_tuple.py
#!/usr/bin/env python
# Filename: print_tuple.py
age=22
name='Swaroop'
print '%s is %d years old' %(name,age)
print 'Why is %s playing with that python?' %name
www.eeworm.com/read/442749/7645690
py func_global.py
#!/usr/bin/env python
# Filename: func_global.py
def func():
global x
print 'x is',x
x=2
print 'Changed local x to',x
x=50
func()
print 'Value of x is',x
www.eeworm.com/read/442749/7645705
py list_comprehension.py
#!/usr/bin/env python
# Filename: list_comprehension.py
listone=[2,3,4]
listtwo=[2*i for i in listone if i>2]
print listtwo
www.eeworm.com/read/442749/7645706
py func_local.py
#!/usr/bin/env python
# Filename: func_local.py
def func(x):
print 'x is',x
x=2
print 'Changed local x to',x
x=50
func(x)
print 'x is still',x