惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Help Net Security
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 【当耐特】
Microsoft Azure Blog
Microsoft Azure Blog
Google DeepMind News
Google DeepMind News
Apple Machine Learning Research
Apple Machine Learning Research
有赞技术团队
有赞技术团队
Y
Y Combinator Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
爱范儿
爱范儿
L
LangChain Blog
IT之家
IT之家
酷 壳 – CoolShell
酷 壳 – CoolShell
MongoDB | Blog
MongoDB | Blog
Hugging Face - Blog
Hugging Face - Blog
G
Google Developers Blog
T
Tailwind CSS Blog
Engineering at Meta
Engineering at Meta
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
宝玉的分享
宝玉的分享
博客园 - 三生石上(FineUI控件)
D
DataBreaches.Net
Recent Announcements
Recent Announcements
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

Jupyter

SSL 认证莫名其妙报错了,需要引起警惕吗? 这是什么 jupyter 插件,感觉挺酷 现在人工智能专业这么火,大家 jupyter 常用的一些插件和功能是啥? pycharm 的里的 jupyternotebook 能断点调试吗? Jupyter Notebook 到底是用来干啥的? pycharm 里连接远程 jupyter,自动补全怎么搞? 单元格如何取消关联 jupyter-notebook 内置环境变量问题 Jupyter 里有什么插件 / Kernel 可以实现类似 ob-http 的功能 如何计算重复率统计? 如何在内网环境从 Windows SSH 访问 Linux 服务器 anaconda3 环境下,在 cmd 输入"jupyter lab"显示"Exception: Jupyter command `jupyter-lab` not found." jupyter-nbconvert.exe --generate-config 报错 UnicodeEncodeError: 'gbk' jupyter 转 markdown 要是能内嵌图片就好了 JupyterLab 插件功能小贴士 Jupyter 的输出窗口可以同时动态刷新两种图吗? 最近整理了一些 Jupyter book 文档 jupyter 怎么读 使用 Jupyter notebook 生成柱状图失败,问题出在哪?? 求助, Jupyter 已经启动,但是网页无法显示 用 Jupyter 写非 Python 体验如何? 写了一些 Jupyter notebook 的扩展插件 Supervisor 无法停止 Jupyter Notebook Jupyter 上的 Lua 与 torch7
jupyter 中通过 ctypes 调用 printf()时,不显示 printf()打...
XIVN1987 · 2020-12-31 · via Jupyter

代码:

from ctypes import *

libc = cdll.LoadLibrary('msvcrt.dll')
libc.printf(c_char_p(b'Hello %d %.2f\n'), c_int(16), c_double(2.3))

在标准交互环境中显示内容为:

Hello 16 2.30
14

在 ipython 中,显示内容为:

Hello 16 2.30
Out[31]: 14

在 jupyter 中,显示内容为:

Out[15]: 14

请问在 jupyter 中如何显示“Hello 16 2.30”