«最老 | «以前 | [1/1] | 以后» | 最新», 总共 33 条
- 2019-06-01
- #638488 | 2019-06-01 04:45:54, *83 | <wfq@python> I have an app that I would like to run on the python interpreter. However the app looks for that file in the ROOT_PATH as shown here: https://...
- 2019-05-28
- #638084 | 2019-05-28 22:56:47, *1 | <wfq@python> I am trying mockup the itertools.repeat in the following snippet: https://.... Why does line 33 use the mocked method while line 35 don't? This is just out-of-curiosity test I am doing.
- 2019-04-26
- #634277 | 2019-04-26 00:48:54, *1 | <wfq@python> nedbat, https://...
- 2019-04-24
- #634100 | 2019-04-24 19:58:51, *1 | <wfq@python> Yhgls, sorry for keeping banging you with this. But on https://... I understand that the 'doc' decorator behaves like lines 33/34 but I don't understand why. What does it make the difference with doc_2?
- #634095 | 2019-04-24 19:28:17, *1 | <wfq@python> sorry forgot the link: https://...
- #634080 | 2019-04-24 17:07:12, *1 | <wfq@python> could anyone help me understand please how 'documented' parameter is passed along and what becomes when the decorator is called? https://...
- 2019-04-12
- #632685 | 2019-04-12 01:49:58, *1 | <wfq@python> found it here: https://...
- 2019-03-17
- #629372 | 2019-03-17 19:34:43, *1 | <wfq@python> nedbat, sorry for delay but there is always knocking at the door at the wrong time: https://...
- #629370 | 2019-03-17 19:17:00, *1 | <wfq@python> Yghs, bpalmer sorry for insisting with my silly examples here but why isn't line 7 throwing a ModuleNotFoundErro in here https://... According to https://docs.python.org/3/reference/import.html#the-module-cache and penultimate paragraph:The key can also be assigned to None, forcing the next import of the module to result in a ModuleNotFoundError.
- #629367 | 2019-03-17 18:12:53, *1 | <wfq@python> All why I am having UnboundLocalError: local variable 'module_one' referenced before assignment on the following snippet https://... It's a silly example but I'd like to understand why please
- #629290 | 2019-03-17 00:06:53, *1 | <wfq@python> cluelessperson. Where do you expect this simple example to fail please? https://...
- 2019-03-16
- #629281 | 2019-03-16 23:35:57, *3 | <wfq@python> Could anyone please recommend me a reading about Python's import and sys.path different to https://... I have faced a couple of situations that I could not resolve after reading the docs and would like to understand this area of Python for once and for all
- 2019-01-21
- #625644 | 2019-01-21 22:00:54, *1 | <wfq@python> why is he doing type(m).value = p rather than m.value in here: https://...
- 2019-01-11
- #624264 | 2019-01-11 18:11:20, *1 | <wfq@python> I saw a solution such http://....
- 2018-09-05
- #606471 | 2018-09-05 17:57:34, *1 | <wfq@python> Guys I am about learning Python Multiprocessing and found this tutorial https://... the best resource to start from - I'll be reading along the official doc. Does anyone have any other suggestion please?
- 2018-08-30
- #605754 | 2018-08-30 19:46:31, *4 | <wfq@python> ndebat, I am newbie to Python and read the book Fluent Python from Luciano Ramalho with the collaboration of Alex Martinelli. He first mentioned this concept on that book apparently. But basically you can have a look here:https://...
- 2018-07-25
- #600701 | 2018-07-25 15:35:22, *1 | <wfq@python> guys I was playing around with super() and stumble across https://... which was very helpful to understand both how super follows the __mro__ order and how this changes when the typical diamond problem
- 2018-06-20
- #596128 | 2018-06-20 18:29:40, *2 | <wfq@python> guys, sorry for this non-directly-related Python question but it's driving me mad. I've found other solutions however I'd like to know why the output is a Mock object rather than "Hello World"?https://...
- 2018-06-11
- #594724 | 2018-06-11 03:11:01, *1 | <wfq@python> drazan, ok. Do you mean you use https://... for mocking a httpserver?
- 2018-05-19
- #591513 | 2018-05-19 23:56:59, *4 | <wfq@python> guys I am watching this video [https://... ] from Alex Martinelli where he says that the statement raise exception_object should raise a BaseException instance and to avoid a subclass instead.
- 2018-05-04
- #589339 | 2018-05-04 04:32:30, *6 | <wfq@python> I am looking for something like this http://... --> Broker as a Directory Service
- 2017-11-02
- #580746 | 2017-11-02 23:54:05, *0 | <wfq@python> how do you usually use the if else statements as A) or B)-->https://.... I feel more comfortable with A)
- 2017-09-24
- #574173 | 2017-09-24 21:10:36, *0 | <wfq@python> All, I am reviewing/learning Python concepts and wanted to implement the singleton pattern to understand better class methods vs instance methods. This is how I did it however is it so how you would do it? https://...
- #574040 | 2017-09-24 00:06:25, *2 | <wfq@python> Am trying to build python 3.6.2 on my Debian and I am getting this error: https://.... Anyone who can shed some light please?
- 2017-07-16
- #566161 | 2017-07-16 20:00:00, *0 | <wfq@python> nedbat, sorry for bullying again :). Following this post https://... and having installed python 3.6 manually, I guess I'd have to manually install too libmysqlclient-dev and python3-dev as the ones by default on my system are for lower versions of python
- 2015-01-04
- #390913 | 2015-01-04 18:57:55, *0 | <wfq@#php> rager, I was just folloing up this post: http://... . I am trying get the days and months in a language or another depending on what language was chosen by the user
- 2014-10-13
- #367170 | 2014-10-13 22:00:50, *0 | <wfq@#php> In order to avoid sql Injection this post (http://... says that I can use Mysqli with binded paramenters. May I ask please if this is actually so?. I was thinking about using filter_var ($var,FILTER_SANITIZE_SPECIAL_CHARS) for those individual inputs that are mere text as I am filtering the rest
- 2014-03-08
- #301995 | 2014-03-08 05:55:00, *0 | <wfq@#php> FrozenFire --> The doc is clear about bypassing error_reporting if set_error_handler is used. http://... . What I don't get is why it acts differently on Server A and B. The changelog file for php 5.5 onwards does not say anything about it
- 2013-08-23
- #244510 | 2013-08-23 16:25:55, *0 | <wfq@#php> right, here we go: http://...
- 2012-09-03
- #130491 | 2012-09-03 00:48:21, *0 | <wfq@python> gdduzan, apparently no: http://...
- 2012-08-22
- #126749 | 2012-08-22 17:28:35, *0 | <wfq@#php> guys, for this class http://... what php package I need to install? php5-xsl or php-xml-parser?
- #126746 | 2012-08-22 17:15:16, *0 | <wfq@#php> sorry just found it: http://...
- 2012-07-12
- #111864 | 2012-07-12 22:08:04, *0 | <wfq@python> I shall read this: http://...
«最老 | «以前 | [1/1] | 以后» | 最新», 总共 33 条
最近八卦大师排名前 20
历史八卦大师排名前 10
最近最活跃房间前 20
历史最活跃房间前 10
- #python*105,254
- ##php*66,221
- #ubuntu-cn*53,833
- #linuxfire*53,477
- ##c++*36,473
- ##c*27,624
- #TLF_FILES*18,030
- #bitcoin*16,176
- #kde-cn*4,693
- #lighttpd*4,606