小编Vic*_*lis的帖子

如何在Windows上安装PyQt5?

当我尝试使用该命令在Windows上安装PyQt5时

python configure.py
Run Code Online (Sandbox Code Playgroud)

我收到此错误:

Error: Make sure you have a working Qt qmake on your PATH.
Run Code Online (Sandbox Code Playgroud)

我从PyQt5下载了pyQt5 .

我该如何安装PyQt5?


更新:

Qt 5.0.2 for Windows 64-bit (VS 2012, 500 MB)Qt下载页面安装,现在我有这个错误:

Querying qmake about your Qt installation...
Determining the details of your Qt installation...
Error: Failed to determine the detail of your Qt installation. Try again using
the --verbose flag to see more detail about the problem.
Run Code Online (Sandbox Code Playgroud)

当我执行命令时python configure.py --verbose:

Querying qmake about your …
Run Code Online (Sandbox Code Playgroud)

python windows qt nmake pyqt5

26
推荐指数
5
解决办法
14万
查看次数

C#中的正则表达式IsMatch()方法

我编译了代码:

namespace TestRegExp
{
    class Program
    {
        static void Main(string[] args)
        {
            if (Regex.IsMatch(args[1], args[0]))
                Console.WriteLine("Input matches regular expression.");
            else
                Console.WriteLine("Input DOES NOT match regular expression.");
        }
    }
}
Run Code Online (Sandbox Code Playgroud)

当我跑:

  • TestRegExp.exe ^a\d{5}$ a12345 节目 Input matches regular expression.
  • TestRegExp.exe ^a\d{5}$ aa12345 节目 Input matches regular expression.
  • TestRegExp.exe ^^a\d{5}$ a12345 节目 Input matches regular expression.
  • TestRegExp.exe ^^a\d{5}$ aa12345 节目 Input DOES NOT match regular expression.

为什么第二个选项显示Input matches regular expression.

'^'符号表示字符串init ...好吗?为什么我要重复这个?

c# regex

3
推荐指数
2
解决办法
370
查看次数

用Python创建GUI的最佳库(PyQt,PyGTK,wxPython,IronPython等)

在您看来,使用python在Windows中创建gui的最佳方法是什么?

你推荐PyQt for windows吗?

python windows gtk qt pyqt

1
推荐指数
1
解决办法
5035
查看次数

标签 统计

python ×2

qt ×2

windows ×2

c# ×1

gtk ×1

nmake ×1

pyqt ×1

pyqt5 ×1

regex ×1