我试图自动完成jupyter笔记本中的路径。当我按“ tab”后,它显示的不仅仅是文件夹或文件。我认为这些是python的内置函数。有没有办法在自动完成路径时仅显示路径和文件?谢谢!

我尝试使用 Google Photos API 上传我的图片,基于以下链接的步骤。
https://developers.google.com/photos/library/guides/upload-media
在遵循为 Web 服务器应用程序使用 OAuth 2.0之后,我只得到 Oauth2.0_token 响应(带有 access_token、refresh_token...的 JSON 格式)。但是,在我将此带有“Bearer”的令牌字符串放入请求标头后,响应为错误 401,错误消息为“未定义代码 16 身份验证会话”。
我找不到任何信息来处理它,感谢您的帮助。
我跟随传入的 bot python发送带有 webhook 的消息,我想用Method:delete删除它。
但我收到错误 401,以下是错误消息。
{'error': {'code': 401,
'message': 'Request is missing required authentication credential. '
'Expected OAuth 2 access token, login cookie or other '
'valid authentication credential. See '
'https://developers.google.com/identity/sign-in/web/devconsole-project.',
'status': 'UNAUTHENTICATED'}}
Run Code Online (Sandbox Code Playgroud)
Webhook 似乎使用密钥和令牌作为授权。但是我无法删除具有相同 url(目标为“data-id”)的消息。
我尝试使用 ggplot2 绘制带有中文标题的图表,但在正方形中显示 Unicode。
我已经尝试了一些以下命令
quartz(family='STKaiti')
par(family='STKaiti')
plot(1, xlab = "??", family = "Heiti SC Light")
Run Code Online (Sandbox Code Playgroud)
并使用“extrafont”字体将我的 ubuntu 字体加载到 R
字符图显示的仍然是正方形中的 Unicode。我想正确显示中文单词。
不过,我不知道如何称呼这种词。“正方形中的 Unicode”是我能描述的最好的。