作者: Jim Wang 公众号: 巴博萨船长

Python的软件开发与其他编程语言例如C++/Java开发类似,开发环境的配置是前提。如何完成Python开发环境的搭建与搭建技巧,不同Python版本之间混合安装,比如3.0与2.x的混合安装或者32bit与64bit的混合安装,如何配置上述开发环境,今天就接着这篇文章给大家做个简单介绍。

阅读全文

作者: Jim Wang 公众号: 巴博萨船长

遇见相似的问题,首先要试着问自己要学习编程,如果你没有找到答案,那我这里有个答案,试着告诉自己:我学习编程,因为编程是艺术。 “Programmierung ist Kunst”。

无论当初或者此刻是抱着什么样的初衷和心态。那么在你开始行动的这一刻,你就在接触一个新的世界。编程确实能算是一种艺术,因为它极具创造性。你书写的每一个代码,就是在创造着你自己的世界。因为Create a world out of nothing at all。 编程的实质确实学习一门外语。这是一种和机器也就是PC的一共交互语言。也就是你要通过代码,让计算机处理你让它处理的事情,或者禁止它处理你不希望它处理的事情。

阅读全文

作者: Jim Wang 公众号: 巴博萨船长

摘要:如果父类是个公用类,很多子项目中都运用到了,而子类也要作为一个基本类在该项目中的很多地方都要用到,但是的原始父类里面有些类属性,如何实现父类与子类间属性的设置与获取的传递呢?

Abstract: If the parent class is a public class, it is used in many sub-projects, and the sub-class is also used as a basic class in many places in the project, but there are some class attributes in the original parent class, how to implement the parent class What about the transfer of property settings and acquisitions between subclasses?

阅读全文

作者: Jim Wang 公众号: 巴博萨船长

摘要:在使用wxpython的时候也许会遇见这样的问题。软件用户或者潜在用户可能使用多个显示器,而且显示器设置并不是简单的投影而是扩展设置,这样的话,显示器的尺寸就超过了单一显示器的尺寸,而是两个现实器的综合。

Abstract: When using the wxpython may encounter this problem. Software users or potential users may use multiple displays, and the display settings are not simple projections but extended settings. In this case, the size of the display exceeds the size of a single display, but a combination of two realities.

阅读全文

作者: Jim Wang 公众号: 巴博萨船长

摘要:主要讨论问题:如何程序运行的时候已经将标准输入使用”<“符号或者”|“符合在命令行定向为一个文件。

Abstract: The main discussion problem: how to use the standard input “<” symbol or “|” to be directed to a file on the command line when the program is running.

阅读全文

作者: Jim Wang 公众号: 巴博萨船长

摘要:有时候回需要到ssh tunnel,手动使用ssh 创建这些并没有太大的问题,可是如果尝试开机启动,写个shell脚本并在rc.local里面运行这个脚本并不成功,原因也不得而知。 本文主要介绍如何解决这一问题。

Abstract: Sometimes you need to go to ssh tunnel. Manually using ssh to create these is not a big problem, but if you try to boot up, write a shell script and run this script in rc.local, it is unsuccessful, and the reason is unknown. This article mainly introduces how to solve this problem.

阅读全文

作者: Jim Wang 公众号: 巴博萨船长

摘要:在使用Zero MQ函数setsocket(zmq.IPV4ONLY,0) 的时候。模块运行的时候会发生 self.socket_sub.setsockopt(zmq.IPV4ONLY, 0) AttributeError: ‘module’ object has no attribute ‘IPV4ONLY’ 的错误。本文讨论如何解决这一问题。

Abstract: When using the Zero MQ function setsocket(zmq.IPV4ONLY,0). Happens when the module is running self.socket_sub.setsockopt(zmq.IPV4ONLY, 0) AttributeError:’module’ object has no attribute’IPV4ONLY’ error. This article discusses how to solve this problem.

阅读全文

作者: Jim Wang 公众号: 巴博萨船长

摘要:我们在尝试安装调试graphite webapp时,或者使用django制作网站时会遇见此问题:错误:no module named django.conf.urls.defaults,本文讨论如何解决该问题。

Abstract: When we try to install and debug the graphite webapp, or use django to make a website, we will encounter this problem: error: no module named django.conf.urls.defaults, this article discusses how to solve this problem.

阅读全文
作者的图片

Jim Wang


全栈探索之路
记录个人对技术的理解和开发过程中遇到的问题,欢迎了解更多。

软件工程师


河南,中国
global.wechat_public_qr_code_image

请扫描上方的二维码订阅我的个人微信公众号


原创不易,多多点赞分享支持。

global.wechat_public_search_bar_image