TGTGInsighttelegram intelligenceLIVE / telegram public index
← Find Blog👁发现博客

TGINSIGHT SIMILAR POSTS

查找相似内容

Source channel @FindBlog · Post #343 · 11月29日

写了三年博客,多多少少对写博客、建博客有一点了解,之前在 V2EX 看到这样一条帖子:想给一个女性作家朋友搭建一个博客网站,有什么成熟点的方案 网友评论了很多,有价值的也不少,我在此摘录几条我认为有用的: 1️⃣作家应该不是程序员吧? 不明白为何那么多人还无脑推要用 git 的静态博客…… wordpress 吧,要是觉得卡顿,安利一下 zblogphp,很好用,主题也不少。 2️⃣Wordpress 插件多 技术成熟。。别信楼什么什么 github+hexo 的 别人又不是程序员,markdown 也做不了复杂的页面布局 3️⃣虚拟空间 + Typecho / Wordpress 或者博客平台.不要净搞些幺蛾子,还不好使(你朋友表示) 你以为很秀的操作在外行人眼中看来即不实际也不好使. 4️⃣大家还是偏极客了吧,程序员之外,愿意写 markdown,自己 git 提交的用户多吗? 还是有一个易用的后台,广泛的插件、主题选择,也真没有比 wordpress 更好的了。 5️⃣推静态博客的不是蠢就是坏,又不是人人都是程序员。 也不建议自己搭,因为没人做 SEO,没啥用。 建议直接买成熟的平台,或者就地取材。 #博客

Hashtags

Results

找到 6 条相似帖子

搜索 #functions

当前筛选 #functions清除筛选
djangoproject

@djangoproject · Post #575 · 2018/02/26 03:06

#Functions are first-class citizens in Python: # They can be passed as arguments to other functions, # returned as values from other functions, and # assigned to variables and stored in data structures. »> def myfunc(a, b): ... return a + b ... »> funcs = [myfunc] »> funcs[0] <function myfunc at 0x107012230> »> funcs[0](2, 3) 5

Hashtags

djangoproject

@djangoproject · Post #409 · 2017/08/12 03:01

# You can use Python's built-in "dis" # module to disassemble #functions and # inspect their CPython VM bytecode: »> def greet(name): ... return 'Hello, ' + name + '!' »> greet('Dan') 'Hello, Dan!' »> import dis »> dis.dis(greet) 2 0 LOAD_CONST 1 ('Hello, ') 2 LOAD_FAST 0 (name) 4 BINARY_ADD 6 LOAD_CONST 2 ('!') 8 BINARY_ADD 10 RETURN_VALUE

Hashtags

djangoproject

@djangoproject · Post #340 · 2017/05/23 05:21

# Functions are first-class citizens in Python. # They can be passed as arguments to other functions, # returned as values from other #functions, and # assigned to variables and stored in data structures. »> def myfunc(a, b): ... return a + b ... »> funcs = [myfunc] »> funcs[0] <function myfunc at 0x107012230> »> funcs[0](2, 3) 5

Hashtags

djangoproject

@djangoproject · Post #430 · 2017/09/02 03:23

https://docs.python.org/3/library/subprocess.html The #subprocess module allows you to spawn new #processes, connect to their input/output/error pipes, and obtain their return codes. This module intends to replace several older #modules and #functions. #python

djangoproject

@djangoproject · Post #159 · 2016/09/12 17:37

https://docs.python.org/3/library/atexit.html The #atexit module defines #functions to #register and #unregister cleanup functions. Functions thus registered are automatically executed upon normal interpreter termination. atexit runs these functions in the reverse order in which they were registered; if you register A, B, and C, at #interpreter#termination time they will be run in the order C, B, A.

djangoproject

@djangoproject · Post #513 · 2017/11/30 22:00

#AI#Artificial_Intelligence #AJAX #aiohttp #Anaconda #AngularJS #API #Atom #AWS #asyncio (#Asynchronous) #audio #automated_testing #automation #atexit #BeeWare #Big_Data #bitcoin #blockchain #Bluemix #Brython #button #Celery #client #class #classmethod #concurrency #Coroutine #cron #CSS #curl #data_analysis #data_mining #data_processing #database #Deep_Learning#deep_learning #Debian #decorator #deploy #dict #dispatch #django #django_cms #Django_REST_Framework #dropdownbox #Docker #event #Firefox #Flask #form #functions #Generator #GeoDjango #git #Google #GPU #GUI #Gym #host #HTML #httplib #learn #Image_processing #intelligence #input #Instagram #IOT #iPython #Jupyter #lambda #learn #License #Linux #lists #machine_learning #Magenta #map #Matplotlib #Metaprogramming #Micro_services #Micropython #mind #monitoring #MongoDB #modules #Mozilla #Multipart #multi_touch_apps #multiprocessing #Nodes #NoSQL #numeric_computation #numerical #NumPy #network #neural_network #OAuth #object_serialization #OCR #overloading #package #parallel #pipeline #protocols #PostGIS #pyAudioAnalysis #pycon #Pyflakes #PyInstaller #PyPI #PyQt #PySide #PyTorch #pytest #python #Pyvideo_archives #Qt #Raspberry_Pi #React #Redis #random #request #Regular_Expressions (#re) #REST #RSS #satellite #scikit_learn #SciPy #scrapy #searching #selectbox #Selenium #serialization #server #sessions #single_responsibility_principle #socket #Spark #str #submit #task #telegram #template #TensorFlow #test #text_boxes #text #tuples #unicode #Universe #Unix #unit_test #urllib #upload #uWSGI #Web #WSGI