You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
------------------ 原始邮件 ------------------
发件人: "PyChina/comments" <notifications@github.com>;
发送时间: 2020年10月24日(星期六) 晚上10:23
收件人: "PyChina/comments"<comments@noreply.github.com>;
抄送: "꧁刘廷ღ꧂"<2325794997@qq.com>;"Mention"<mention@noreply.github.com>;
主题: Re: [PyChina/comments] https://pychina.org/ (#3)
求助一个BUG
def vprint(num):
number = range(num)
for i in number:
print(" " * i, end="")
print("v", end="")
print(" " * (number[-1 - i] * 2 - 1), end="")
if number[-1 + i] == i: print("我是谁????这句话为什么不输出???") return -1 print("v")
vprint(3)
程序输出结果
v v
v v
vv
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
------------------&nbsp;原始邮件&nbsp;------------------
发件人: "PyChina/comments" <notifications@github.com&gt;;
发送时间:&nbsp;2020年10月24日(星期六) 晚上10:23
收件人:&nbsp;"PyChina/comments"<comments@noreply.github.com&gt;;
抄送:&nbsp;"꧁刘廷ღ꧂"<2325794997@qq.com&gt;;"Mention"<mention@noreply.github.com&gt;;
主题:&nbsp;Re: [PyChina/comments] https://pychina.org/ (#3)
求助一个BUG
def vprint(num):
number = range(num)
for i in number:
print(" " * i, end="")
print("v", end="")
print(" " * (number[-1 - i] * 2 - 1), end="")
if number[-1 + i] == i: print("我是谁????这句话为什么不输出???") return -1 print("v")
vprint(3)
程序输出结果
v v
v v
vv
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
发件人: "PyChina/comments" <notifications@github.com&amp;gt;;
发送时间:&amp;nbsp;2020年10月24日(星期六) 晚上10:23
收件人:&amp;nbsp;"PyChina/comments"<comments@noreply.github.com&amp;gt;;
抄送:&amp;nbsp;"꧁刘廷ღ꧂"<2325794997@qq.com&amp;gt;;"Mention"<mention@noreply.github.com&amp;gt;;
主题:&amp;nbsp;Re: [PyChina/comments] https://pychina.org/ (#3)
求助一个BUG
def vprint(num):
number = range(num)
for i in number:
print(" " * i, end="")
print("v", end="")
print(" " * (number[-1 - i] * 2 - 1), end="")
if number[-1 + i] == i: print("我是谁????这句话为什么不输出???") return -1 print("v")
vprint(3)
程序输出结果
v v
v v
vv
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Activity
ZoomQuiet commentedon Aug 25, 2019
是也乎,( ̄▽ ̄)
全新启航
简洁综述
长久服务
greyli commentedon Aug 25, 2019
:-)
bash-horatio commentedon Aug 29, 2019
Life's pathetic, let's pythonic
tosmart01 commentedon Dec 20, 2019
论坛挂了?
shiguanggege commentedon Jan 10, 2020
今天pycharm激活码怎么都失效了
ZoomQuiet commentedon Jan 10, 2020
@shiguanggege 是也乎,( ̄▽ ̄)
应该是优惠期过时了...
ccdgood commentedon Oct 24, 2020
求助一个BUG
def vprint(num):
number = range(num)
for i in number:
print(" " * i, end="")
print("v", end="")
print(" " * (number[-1 - i] * 2 - 1), end="")
vprint(3)
程序输出结果
v v
v v
vv
shiguanggege commentedon Oct 29, 2020
ccdgood commentedon Oct 29, 2020
shiguanggege commentedon Oct 29, 2020
qq1u commentedon Jun 27, 2021
https://python-china.org.cn/
论坛挂了,找谁反馈 ?
Freakwill commentedon Aug 25, 2021
hey
blueblue1994 commentedon Oct 22, 2021
求助:
def update_file(config):
with open(FILE_PATH, "w") as fp:
fp.write(config)
return None
0、执行完打开文件,内容写进去了。
1、执行完该函数后,不访问该文件,直接断电,重新上电后文件内容为空,write的内容并没有写进去。
2、write之后加上fp.flush后,同样操作就能写进去。
with open不是会自动close吗?为啥函数都执行完成了,缓存区的内容为啥还没写到文件中?拜托了,各位大神
kai648846760 commentedon Mar 1, 2022
Nice~!
Qjh20021012 commentedon Jul 8, 2022
cpseell commentedon Sep 18, 2022
求助一个安装问题:
在安装python3.6.8的时候,无论安装路径怎么设置,一直提示:unable to write the specified folder D:\install\Python\Python36。求助大佬这个问题要怎么解决。
cpseell commentedon Sep 18, 2022
求助一个安装问题:
在安装python3.6.8的时候,无论安装路径怎么设置,一直提示:unable to write the specified folder D:\install\Python\Python36.
求助大佬这个问题要怎么解决。
2258672968 commentedon Oct 28, 2022
来了来了
Sheilock2000 commentedon Jan 17, 2023
论坛好像挂了
luzhoumingyue commentedon Feb 8, 2023
我构建了一个字母和数字对应的字典,例如”A“:1,”B“:2,我的key来自于tkinter的entry,但是编译不通过:
简化代码如下:
columnbeginnum = first_entry,get()#从entry中获取key
columnbeginnum_translate = columnnumdic[columnbeginnum]
这样会报KeyError:''
可以帮我解决下吗?感谢感谢
ZoomQuiet commentedon Feb 8, 2023
先 print(columnbeginnum) 看一眼就知道了;
一般是你根本没获得到对应的值.
luzhoumingyue commentedon Feb 8, 2023
hi ZoomQuiet,这个columnbeginnum是从tkinter的entry中拿到的,现在是编译不通过,根本叫不起来tkinter的GUI,所以这个值肯定没有,也没办法print了
dream2333 commentedon Jun 23, 2023
pycon2023还开吗,有没有相关的社区群组
chensgit169 commentedon Jul 7, 2023
2023大会咋没更新?
pythonwood commentedon Aug 14, 2023
请问啄木鸟社区啥时候开始访问不了? 完全不能够呀,没人维护了?
daiwei125 commentedon Nov 9, 2023
求助一下
我在linux系统中pycharm中创建anaconda3环境时无法打开对应环境的bin文件,该怎么解决捏
1583193585 commentedon Aug 11, 2024
这都能对
aiwonderland commentedon Aug 27, 2026
中国人太牛掰了,我还以为 2012 年就停办了