Python3.6使用字体真棒图标

时间:2020-05-24 10:19:14

标签: python font-awesome

我正在搜索如何在Tkinter python应用程序中使用超棒的图标。

这是我尝试过的:

https://fontawesome.com/icons/tree?style=solid

  int[] dimensions = new int[4];
  dimensions[0] = 1; // Batch_size // No of frames at a time
  dimensions[1] = 224; // Image Width required by model
  dimensions[2] = 224; // Image Height required by model
  dimensions[3] = 3; // No of Pixels
  Tensor tensor = c.tfLite.getInputTensor(0);
  c.tfLite.resizeInput(0, dimensions);
  Tensor tensor1 = c.tfLite.getInputTensor(0);

我知道我必须下载图标-映射(我过去曾经做过),但现在找不到方法。

预先感谢

编辑:26天之前的相同问题:FontAwesome with Python

1 个答案:

答案 0 :(得分:2)

如果要在外壳上看到实际的图标,则需要在计算机上安装fontawesome的字体并配置终端仿真器以使用该字体。

字体很棒,它是一种字体,但不仅仅是字母,还带有图标。

fontawesome python库只是字典,图标的名称为键,字符为值。但是,只有安装Fontawesome字体,您才能看到实际的角色。

相关问题