我正在尝试使用Pelican静态网站生成器来创建一个不是博客的静态网站。 content/posts文件夹中的每个降价文件包含以下数据。 ---
name: Product Name here
price: Product Price goes here
image: Product Image goes here
---
The description content in Mark
所以我想排队一些要调用的动作。 稍微背景:尝试使用Webclient发送请求,但是它不允许很长的URL(2000个字符以上),并且在我的系统中发现该值的上限约为40个项目)。所以我需要将Web客户端请求分成40组,并决定使用队列来完成。 下面是代码: public void some_method()
int num = 40; // readonly variable declare