Python is a dynamic, high-level language. Its design focuses on clear syntax, an intuitive approach to object-oriented programming, and making the right way to do things obvious. Python supports modules, exceptions, had an extensive standard module library. Python can also be embedded in other ...

learn more… | top users | synonyms (1)

-3
votes
1answer
56 views

Developing desktop application in Python or ROR [on hold]

I want to create desktop application. Is it possible to develop desktop applications in Python, ROR or PHP? Which is more secure in these languages ?
0
votes
1answer
19 views

PyQt reference for newbies in UI development [on hold]

PyQt provides its user with a well documented class reference. But they are useful mostly for those with prior knowledge about UI development. And it's hard for a newbie to understand, get further ...
-5
votes
0answers
49 views

Input and if statements not working for me [on hold]

This is what I have but it doesn't seem to be working. a = input("What is your high score?") if a < 10 : print("eh")
0
votes
1answer
60 views

In python, do we have class encapsulation at the level of the object?

I was bitten by using the is operator when i should have been using ==. Am aware that the former tests for equality of the objects' identities and that the latter tests for equality of the objects' ...
0
votes
0answers
30 views

Using module level declared global “singletons” in python

Ok, I know that using singletons is generally a bad practice, but if I do it (for db connection, logging et al.) am I allowed to go (in respect of clean design) with a module defined variable that is ...
-1
votes
0answers
44 views

Python for cross platform desktop application [on hold]

OK, I have an innocent question here and all I need is a straight forward answer before writing-off the question. I have been writing desktop application in c# and of the experience of writing my ...
-1
votes
1answer
84 views

Many-file vs monolithic (thousand-line files) python codebases [on hold]

I've seen codebases use very long python files (thousands of lines) and found them very difficult to read. Due to the power of python, lengthy code in other languages can be expressed fairly ...
-1
votes
0answers
17 views

Does Python TestSuite add any overhead to the Units that it runs? [closed]

I have a Python TestSuite with 3 TestCases added. It behaves erratically and i don't know if the problem is with the individual test cases, the web application failing in Selenium webdriver, or the ...
0
votes
2answers
76 views

How to write an optimal LAN messenger software?

I am asking this question as an extension to the following question: https://superuser.com/questions/713409/how-to-message-any-user-on-your-lan I don't think I have a real answer. I found it quite ...
0
votes
0answers
17 views

Implementing FUSE for deduplication

I am new to FUSE and using python-fuse for writing a file system for data deduplication. Let's say, I have a directory named "metadata" and in that directory, there is a file foo and a directory ...
3
votes
1answer
134 views

What is the historical reason why Python uses the double underscore for Class Private members

In python a module private function or variable is named _foo. If it is private to a class it is names __foo, The mechanics behind how these work are different, however that is of little relevance to ...
3
votes
3answers
211 views

Is Python suitable for a statistical modeling application looking over thousands of past events?

I'm currently working on a project with a partner where we analyze large datasets of past sporting events. There are approximately 30,000 events per year and we have historical data for five years. ...
3
votes
4answers
285 views

Communicate to a junior developer about bad style

I have a friend who's managed to pick up comma first (best case might be made here: http://ajaxian.com/archives/is-there-something-to-the-crazy-comma-first-style) but it's 100% against our org's style ...
2
votes
1answer
85 views

Using python to parse log files? [on hold]

My first useful projects as a programmer has been python scripts that parse out relevant information from log files and do some analysis. I've bumped around and found my way to some functional ...
-6
votes
0answers
70 views

python turtle graphics code to draw a triangle [closed]

Write a program that asks the user for a color, a line width, a line length and a shape. The shape should be either a line, a triangle, or a square. Use turtle graphics to draw the shape that ...

15 30 50 per page