Search:
Type: Posts; User: dullboy
Search:
Search took 0.49 seconds.
-
October 14th, 2016, 09:21 PM
Here is my code,
#mycode.py
import click
import json
def read_config(ctx, param, value):
d = json.load(value)
-
March 3rd, 2015, 02:07 PM
So randrange(2,5) acts like a selection condition in the example, right? How do you know loops = (randrange(2,5) for x in range(randrange(3,7))) is a generator? In general, how'd I know if a...
-
March 2nd, 2015, 11:22 AM
from random import randrange
loops = (randrange(2,5) for x in range(randrange(3,7)))
Basically I don't quite understand the returned values in loops well. What is the meaning of randrange(2,5)...
-
March 2nd, 2015, 11:15 AM
Thanks for your recommendation and I will definitely take a look at it.
-
March 2nd, 2015, 11:14 AM
I already purchased this book. I really recommend this book. It covers lots of deeper topics in Python, for instance, multiple threaded programming, database development, etc. I like this book most...
-
January 5th, 2015, 12:43 PM
I reviewed this book and think this is the book I am looking for. Thank you very much!
-
January 5th, 2015, 12:41 PM
I voted for the book "Core Python Applications Programming " recommended by Bestellen. But still thank so much for your recommendations!
-
December 24th, 2014, 09:54 AM
I have roughly one year experience in Python. I understand and use basic features in Python without any troubles. At this point, I am about to improve my understanding on some advanced features in...
-
December 23rd, 2014, 04:47 PM
Thank you very much for your recommendations! It would be really nice if any one comments on these books. I believe they are all good( I just briefly reviewed all of them) but obviously I can't buy...
-
December 23rd, 2014, 04:01 PM
I need a Python book which mostly explains advanced topics in depth in Python. Any Python guru here please recommend an excellent Python book for me. Tons of thanks.
-
October 24th, 2014, 11:52 AM
I think memory and poorly written algorithm can cause slowness. But I just want to learn more issues that could cause slowness. Thanks for your inputs.
-
October 24th, 2014, 11:43 AM
Thanks so much for everyone's posts. I think memory could cause slowness of the program. If a program has a memory leak issue, then the memory becomes less and less. When it exceeds the physical...
-
October 24th, 2014, 07:38 AM
Memory is not an issue for slowness? If a program takes huge memory to run in a PC, it will cause the PC to run very slow, right? Also would you give an example that it spends a lot of time waiting...
-
October 24th, 2014, 07:32 AM
It means it takes longer than normal. I just want to find out in general what might cause slowness of a program. It could happen in several situations. For example, the same program runs much slower...
-
October 23rd, 2014, 03:21 PM
The reasons I can think of that include running out of memory, time-consuming algorithm. What are other reasons? I assume this is not just for windows environment but also any unix-like environments....
-
October 8th, 2014, 02:13 PM
Thanks for your reply! So I guess in order to write data, only one user can be allowed to do that. Then we can always rely on database, for example, sql server to achieve that. I can apply an...
-
October 8th, 2014, 12:13 PM
Here is what I am thinking. First of all, if we want to make an app a multi-user app, we should allow multiple users to "write" the same data simultaneously. Let's imagine two users are writing the...
-
October 8th, 2014, 11:23 AM
I got it. So the key is the same data can be accessed correctly by multiple users simultaneously. Here is an additional related question. How to "write" the same data by multiple users...
-
October 8th, 2014, 10:57 AM
Thanks for your inputs! I still don't quite understand it. If a multi-user app is defined as allows multiple simultaneous users, then a single-user app, for example, word also allows multiple...
-
October 7th, 2014, 04:57 PM
If we talk about something like an application is single-user app or multi-user app. What does that really mean? Is there any guru here who can share some useful knowledge? Thanks for your inputs.
-
As we know in unix/linux, forward slash is always used for directory and in windows back slash is used for directory instead. On the other hand, I noticed that forward slash can be also used for...
-
August 20th, 2013, 11:19 AM
Thanks so much for your reply. Actually I tried to run configure under linux but I got some error messages. I copy the results after I run ./configure in my project folder in the following,
...
-
August 19th, 2013, 04:57 PM
I am using g++ under linux. Do you know how to compile the whole project I attached into an executable? Thanks for your inputs.
-
August 17th, 2013, 04:12 PM
I am pretty new to linux. I don't know how to compile a project. I attach the project zip file. Does any guru here give me some hints how to compile it under linux? Thank you very much!
-
Actually I did rebuild the dll but it failed. My class is defined in a MFC extension dll and is exported by using AFX_EXT_CLASS. Thanks.
|
Click Here to Expand Forum to Full Width
|