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)

0
votes
0answers
6 views

Python read data from arduino [migrated]

I have been attempting to start using USB communication between a PC and arduino in order to measure the speed of a computer fan. The arduino, when asked for data through the arduino serial monitor, ...
0
votes
2answers
215 views

How can I convince my client that the task was complex and the time I took is fair?

I am the single programmer working on a website handling both frontend and backend. Recently in my task list I have to provide a social news feed (activities among friends) which should summarize ...
0
votes
1answer
90 views

return Trivial booleans?

I am writing a simple piece of code. Its a function that allowed the user to withdraw some money. There are some restrictions to this though. The user can't withdraw more than the given withdraw ...
-1
votes
0answers
12 views

Path of the current InkScape file from python script [migrated]

Is thera any way of get the name of the current document opened in inkScape from a python script?
-1
votes
0answers
31 views

problem with setters and getters [migrated]

Hi I'm Trying to work with setters and getters in python for one class and I want to use the setter with other instruction, so when setting the property value, the setter do more than only assign the ...
-4
votes
0answers
50 views

Python course for programmers? [on hold]

I've been an Android Developer for more than 2 years now, and I want to learn Python. Does anybody know a source for learning Python designed with programmers in mind? I want something to put me on ...
0
votes
0answers
40 views

Distributing Contestant Entries Between Multiple Bins, Is this Knapsack?

I am an algorithm novice and am faced with a rather difficult problem. I working with contest's. There are contestant - individual player entry - contestants can have multiple entries into a ...
1
vote
2answers
85 views

Python - assert vs if & return

I am writing a script that does something to a text file (what it does is irrelevant for my question though). So before I do something to the file I want to check if the file exists. I can do this no ...
2
votes
0answers
40 views

idea mapping with global state [closed]

I need to map ideas to ideas to ideas to ideas (four in total, semantically, and a fifth one-to-one): the state is global it can change over time I'm writing the module from scratch Here's my ...
-1
votes
0answers
116 views

Is Python the Best Language For Me To Learn Programming On? [closed]

Today I started taking a computer programming class at my high school. The teacher has started to teach us python. I have always heard from my programmer friends that C, C++ , C#, and Java are the ...
-3
votes
1answer
123 views

How to create interest in programming despite having basic knowledge? [closed]

I am student of 3rd year IT engineering, and I find myself going nowhere in the field of programming. I know the basics of programming languages like C, C++, Java, Visual Basic, HTML, JAVAScript, CSS ...
0
votes
1answer
102 views

Why can python webapps keep sessions between restart and not java?

I've used both webapp2 + GAE for python and a number of Java/JEE webapp frameworks. The python WSGI framework could keep users logged in while I redeploy the app while none of the Java web framework ...
0
votes
2answers
99 views

What are and how do (data-) types work?

What is a "variable"/data type? How does a compiler / interpreter handle types? My specific concern has to do with the different types in lower and higher level languages. For instance in Python, ...
3
votes
1answer
107 views

Python 2.7 - What are good unit tests to cover the use case of rolling a die?

I'm trying to get to grips with unit testing. Say we have a die which can has a default number of sides equal to 6 (but can be 4, 5 sided etc.): import random class Die(): def __init__(self, ...
0
votes
0answers
7 views

how to setting pip.ini to use cert [migrated]

How to setting pip.ini to use cert for each link/url/find-links, example: find-links = http://x.y.z/simple/ cert = xxx.pem http://a.b.c/simple/ cert = sss.pem ...

15 30 50 per page