{ "info": { "author": "Wu Xuping", "author_email": "wuxuping@ahjzu.edu.cn", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable" ], "description": "# -*- coding: utf-8 -*-\r\n#~ #----------------------------------------------------------------------------\r\n#~ module:wlab\r\n#~ \u5434\u5f90\u5e73\u7684python\u79d1\u5b66\u8ba1\u7b97\u6587\u4ef6\r\n#~ Data: 2013-08-08,\u661f\u671f\u56db\r\n#~ Author:\u5434\u5f90\u5e73\r\n#~ Email:539688300@qq.com\r\n#~ #----------------------------------------------------------------------------\r\n#~ # main test program for __WPyQtInput__.py\r\n#~ #----------------------------------------------------------------------------\r\nif __name__ == '__main__':\r\n from wlab import *\r\n import sys\r\n app = QtGui.QApplication(sys.argv)#\u521b\u5efaQt\u8fdb\u7a0bapp\r\n #---------------------------------------------------------------------------\r\n #\u793a\u4f8b1\r\n values={'String':'This is String','float':-3.5,'int':-15}\r\n GroupBoxTitle='Please set values'\r\n title='the first example of QInputBox '\r\n rvalues=QInputBox(values=values,GroupBoxTitle=GroupBoxTitle,title=title)\r\n print(rvalues)\r\n #>>>{'int': -15, 'float': -3.5, 'String': 'This is String'}\r\n #---------------------------------------------------------------------------\r\n #\u793a\u4f8b2\r\n from collections import OrderedDict\r\n values=OrderedDict([('c', 1), (2, 2), ('a', 3)])\r\n rvalues1=QInputBox(values=values)\r\n print(rvalues1)\r\n #>>>OrderedDict([('c', 1), (2, 2), ('a', 3)])\r\n #---------------------------------------------------------------------------\r\n #\u793a\u4f8b3\r\n values={'String':'This is String','float':-3.5,'int':-15}\r\n GroupBoxTitle='Please set values'\r\n title='QInputBox'\r\n rvalues2=QInputBox(values=values,GroupBoxTitle=GroupBoxTitle,title=title)\r\n print(rvalues2)\r\n #>>>{'int': -15, 'float': -3.5, 'String': 'This is String'}\r\n #---------------------------------------------------------------------------\r\n sys.exit(app.exec_())\r\n#******************************************************************************************\r\n#*\u53ef\u4ee5\u65b9\u4fbf\u7684\u8bfb\u5199\u6587\u672c\u6587\u4ef6,\u5bf9\u6570\u636e\u7684\u683c\u5f0f\u51e0\u4e4e\u6ca1\u6709\u4efb\u4f55\u9650\u5236,\u53ea\u8981\u91cc\u9762\u6709\u6570\u636e\u5c31\u53ef\u4ee5\u8bfb\u51fa\r\n#******************************************************************************************\r\n#~ #\u4e3b\u7a0b\u5e8f\u6d4b\u8bd5\r\nif __name__ == '__main__':\r\n x=numpy.random.randn(3,4)\r\n print(x)\r\n Filename='x.txt'\r\n header='look at this file'\r\n dlmwrite(Filename,x,header=header)\r\n y=dlmread(Filename)\r\n print(y)", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/wlab/", "keywords": "", "license": "The Wlab Version 1.X.Y\r\n\r\nCopyright (C) 2012-2022 by Wu Xuping\r\n\r\nThis program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; using version 2 of the License.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.", "maintainer": "", "maintainer_email": "", "name": "wlab", "package_url": "https://pypi.org/project/wlab/", "platform": "windows ;Linux", "project_url": "https://pypi.org/project/wlab/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/wlab/" }, "release_url": "https://pypi.org/project/wlab/1.1.5/", "requires_dist": null, "requires_python": null, "summary": "wlab::Wu Xuping's Python Distribution Utilities", "version": "1.1.5" }, "last_serial": 907269, "releases": { "1.1.5": [ { "comment_text": "built for Linux-2.6.32-358.18.1.el6.x86_64-x86_64-with-glibc2.2.5", "digests": { "md5": "1f3978139a8898060948bcc04309ce92", "sha256": "52083677943bb0c030a3c66fe11c39852dfbaf99ce7e54cf09a8efd5e875fe07" }, "downloads": -1, "filename": "wlab-1.1.5.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "1f3978139a8898060948bcc04309ce92", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 12096, "upload_time": "2013-10-30T11:30:47", "url": "https://files.pythonhosted.org/packages/1c/7c/e3358e618c976054a81d010491b10f8cf15106ba710ce8f3865a6e0eee25/wlab-1.1.5.linux-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "7dae4d8f5660a04feff99ebdd60930b8", "sha256": "1f972c3509c75deed5de3dbb7fd8ebea39a7a55c3d93fdd7c38789539c61ac0a" }, "downloads": -1, "filename": "wlab-1.1.5.tar.gz", "has_sig": false, "md5_digest": "7dae4d8f5660a04feff99ebdd60930b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6223, "upload_time": "2013-10-30T11:30:29", "url": "https://files.pythonhosted.org/packages/08/d9/6bb6ebe0adf77c5be25f3f81a2b8a1b29ff718fc9a33a9938668d4f638b6/wlab-1.1.5.tar.gz" }, { "comment_text": "", "digests": { "md5": "5bf86d72c7a96a66e3d2b810087ec56a", "sha256": "3351b6cc91fe00f685695cdc2643dc9119c4714115ea421c7ca2ae3fc5fdd0e0" }, "downloads": -1, "filename": "wlab-1.1.5.win32.exe", "has_sig": false, "md5_digest": "5bf86d72c7a96a66e3d2b810087ec56a", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 203935, "upload_time": "2013-10-30T11:27:33", "url": "https://files.pythonhosted.org/packages/43/d6/9769fb18c632d45e4b4a7b854675449682a241143aae72d69f96c9f22f0b/wlab-1.1.5.win32.exe" } ] }, "urls": [ { "comment_text": "built for Linux-2.6.32-358.18.1.el6.x86_64-x86_64-with-glibc2.2.5", "digests": { "md5": "1f3978139a8898060948bcc04309ce92", "sha256": "52083677943bb0c030a3c66fe11c39852dfbaf99ce7e54cf09a8efd5e875fe07" }, "downloads": -1, "filename": "wlab-1.1.5.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "1f3978139a8898060948bcc04309ce92", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 12096, "upload_time": "2013-10-30T11:30:47", "url": "https://files.pythonhosted.org/packages/1c/7c/e3358e618c976054a81d010491b10f8cf15106ba710ce8f3865a6e0eee25/wlab-1.1.5.linux-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "7dae4d8f5660a04feff99ebdd60930b8", "sha256": "1f972c3509c75deed5de3dbb7fd8ebea39a7a55c3d93fdd7c38789539c61ac0a" }, "downloads": -1, "filename": "wlab-1.1.5.tar.gz", "has_sig": false, "md5_digest": "7dae4d8f5660a04feff99ebdd60930b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6223, "upload_time": "2013-10-30T11:30:29", "url": "https://files.pythonhosted.org/packages/08/d9/6bb6ebe0adf77c5be25f3f81a2b8a1b29ff718fc9a33a9938668d4f638b6/wlab-1.1.5.tar.gz" }, { "comment_text": "", "digests": { "md5": "5bf86d72c7a96a66e3d2b810087ec56a", "sha256": "3351b6cc91fe00f685695cdc2643dc9119c4714115ea421c7ca2ae3fc5fdd0e0" }, "downloads": -1, "filename": "wlab-1.1.5.win32.exe", "has_sig": false, "md5_digest": "5bf86d72c7a96a66e3d2b810087ec56a", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 203935, "upload_time": "2013-10-30T11:27:33", "url": "https://files.pythonhosted.org/packages/43/d6/9769fb18c632d45e4b4a7b854675449682a241143aae72d69f96c9f22f0b/wlab-1.1.5.win32.exe" } ] }