V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  PythonAnswer  ›  全部回复第 41 页 / 共 41 页
回复总数  819
1 ... 32  33  34  35  36  37  38  39  40  41  
2015-09-25 13:52:51 +08:00
回复了 miemiekurisu 创建的主题 Vim Vi 才是懒人的福音
终端里才用 vim. 用的是默认配置.
gui 下习惯用更先进的编辑器.
2015-09-23 12:35:07 +08:00
回复了 xsank 创建的主题 Python 基于 tornado 的 web ssh 项目
有唐伯虎也有 vim
2015-09-22 16:43:30 +08:00
回复了 pc10201 创建的主题 Python django 的 models 存储时间用时间戳还是用 date?
喜欢用 form 用 admin ,就 date 。

前端如果是自己用 js 搞,那就时间戳。
5 个控件以内的小程序,喜欢直接上 tk ,也不用写类。

大一些的应用,得上 qt 。 tk 很多控件都太简单,右键菜单,滚动条什么的,都要手动实现。
2015-09-17 09:54:46 +08:00
回复了 yjxjn 创建的主题 程序员 7 年 JAVA 开发经验的就这水平吗?
二指禅是原罪?冤枉啊
2015-09-15 17:15:52 +08:00
回复了 matthewgao 创建的主题 Python 360 竟然偷偷杀掉了 python3.5 的 pip
py 对 win 很友好的, 完全无槽点.
2015-09-14 17:02:14 +08:00
回复了 Shared 创建的主题 Python Python 3.5 正式释出
贵坛太鳖了.. 鳖塘...
因循守旧, 鳖...
2015-09-14 00:51:50 +08:00
回复了 Shared 创建的主题 Python Python 3.5 正式释出
学的 go 玩的就是潮流。 coroutine 变一等公民了。

3.5 估计是和 2.5 一样意义重大的版本,很多顽固 2 货要慢慢接受 3 货咯。
2015-09-12 19:59:25 +08:00
回复了 cooka 创建的主题 Python PyCon 上海 组织得有点坑爹了
北京场去年就被吐了大艹。杯具啊。。。
2015-09-10 00:26:35 +08:00
回复了 muzzy 创建的主题 Python sublime 3 工具使用
build panel 比较鸡肋,用完以后,会发现还是终端好。
2015-09-10 00:23:39 +08:00
回复了 MyLeoWind 创建的主题 Python import os 和 import os.path 的效果有什么不同?
os.path 是个 hack

win 下导入的是 ntpath.py

# Module 'ntpath' -- common operations on WinNT/Win95 pathnames
"""Common pathname manipulations, WindowsNT/95 version.

Instead of importing this module directly, import os and refer to this
module as os.path.
"""

*nix 下是 posixpath.py

"""Common operations on Posix pathnames.

Instead of importing this module directly, import os and refer to
this module as os.path. The "os.path" name is an alias for this
module on Posix systems; on other systems (e.g. Mac, Windows ),
os.path provides the same operations in a manner specific to that
platform, and is an alias to another module (e.g. macpath, ntpath ).

Some of this can actually be useful on non-Posix systems too, e.g.
for manipulation of the pathname component of URLs.
"""
支持学习用 ide 。

不过熟悉了以后一般都懒得开 ide ,启动一下 ide 实在太慢了...

最后很多人沦为文本编辑器一派。
我机器上装的 vs2010 c++ express 成功编译过很多包 cython numpy 之类的.

scrapy 说是年底尽量支持到 3.4, 就算你编译通过也没用. 你等一阵子再用就是了.
2015-08-14 10:38:09 +08:00
回复了 junnplus 创建的主题 Python Python China 社区回来了?
这个还是个人网站的感觉。

现在主混cpyug和水木python,有些回复还是很有启发意义的。
2015-08-06 23:33:00 +08:00
回复了 wh0syourda66y 创建的主题 Python 输入你的 JD 或者简历,预测你的薪资
算法好屎

而且flask是后端...
2015-08-03 21:03:18 +08:00
回复了 coolicer 创建的主题 Python 用 python 跑一个小脚本,要吃多少内存
用 node.js 跑一个小脚本,要吃多少内存

我用python写了一个定时执行的小爬虫 ...
2015-07-29 10:41:25 +08:00
回复了 soratadori 创建的主题 Python 正则表达式请教
In [1]:
# 字典实现

import re
from collections import OrderedDict

In [2]:
example = 'HAPPY: A,B,囧,5,6,7,d,e'

In [3]:
dict_values = re.sub(r'^.*\s*\:\s*', '', example).split(',')

In [4]:
dict_values

Out[4]:
['A', 'B', '囧', '5', '6', '7', 'd', 'e']

In [5]:
OrderedDict(zip(range(len(dict_values)), dict_values))

Out[5]:
OrderedDict([(0, 'A'), (1, 'B'), (2, '囧'), (3, '5'), (4, '6'), (5, '7'), (6, 'd'), (7, 'e')])
1 ... 32  33  34  35  36  37  38  39  40  41  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2565 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 84ms · UTC 01:24 · PVG 09:24 · LAX 18:24 · JFK 21:24
Developed with CodeLauncher
♥ Do have faith in what you're doing.