我尝试在GC AppEngine上部署应用程序。部署过程中没有错误,但应用程序无法工作(仅显示加载页面)。日志中唯一奇怪的原始数据
OpenBLAS WARNING - could not determine the L2 cache size on this system
顺便说一句,它在我的本地机器上运行得很好。
这是基于Dash框架的python web应用程序
我的app.yaml:
runtime: python37
service: service-name
instance_class: F2
entrypoint: gunicorn -b :$PORT main:app.se
我正在使用python3.6,致力于“自动化无聊的东西”课程,并试图学习如何在Regex中使用详细模式。当执行以下代码时,打印结果是:
(“123-”、“”)、(“415-”、“”)、(“905-”、“”)
有人能告诉我我做错了什么吗?我希望代码返回字符串中的两个电话号码。
import re
phoneNum = re.compile(r'''
(\d\d\d-)| # area code without parentheses but with dash
(\(\d\d\d\) ) # -or- area code with parentheses and no
我想安排三个组件html.div,dbc.Checklist和dbc.Button水平在卡头的破折号引导。
下面是当前的排列方式,三个元素垂直排列。
是否有任何方法将整个组件或其部分水平地排列在卡片标头的样式元素中?
谢谢。
这是我的源代码。
import dash
import dash_bootstrap_components as dbc
from dash import html, dcc
import plotly.express as px
import plotly.graph_objects as go
from dash.dependencies import In