15,190 Topics
![]() | |
Hai there, I am a robotic student and very new in python programming. Here, I have a project to classify the type of robot. For example, a customer would like to buy a robot arm for their company. So, this project will aid them to select robot of their choices. … | |
I'm quite new to python and am trying to make a kind of 20Q thing, but am struggling - anybody know how to delete a list from a set, or if not a list from a list? Thanks :) | |
HI Where can I download python 2.7.6 or 2.7.3 for 32bit windows? | |
![]() | I'm getting this every time I try and write Hello, World in Python I get this. I'm using Pycharm 3 C:\Python33\python.exe C:/Users/Alex/PycharmProjects/Learning/Helloworld File "C:/Users/Alex/PycharmProjects/Learning/Helloworld", line 1 print "Hello, World" ^ SyntaxError: invalid syntax Process finished with exit code 1 |
I want to calculate several floating point functions that are a function of two variables, i.e. a(x,y), b(x,y) etc. x and y can be represented as x=i*delx and y=j*dely. So a(i,j) or b(i,j) is what I would actually calculate. How do I code a and b as functions of i … | |
import random while True: dice = random.randrange(1,5) dice2 = random.randrange(1,7) dice3 = random.randrange(1,13) sides = int(input)("Which sided dice would you like to roll? You can choose a 4-sided dice, a 6-sided dice or a 12-sided dice. Type 0 to exit the loop.") if sides ==0: break elif sides ==4: print … | |
I'm learning python 3 and I'm having problems with string related excerises. One exericse I'm working on is to write a program that cycle through a string and dispaly it like this: s u p e r n a t u r a l u p e r n a … | |
Hi, How do I disable Copy/Cut/Paste operations on a textbox in Tkinter. I want to implement this in simple login form, where I found I can copy or paste or cut from textbox which is meant to accept PASSWORD. Can we do that? How? Thank you, Regards, kath. | |
![]() | I want to start game developing but I need help choosing what programming language to learn. I already tryed Lua,Java,C++ but not Rudy and Python... So here is my question, I need the pros and cons on Ruby and Python and your recommendation. I need something I feel comfortable with. |
hi can anyone please help me to solve out this problem in python language i want to print this pyramid please help me 1 22 333 4444 55555 | |
 here is the task, I don't want anyone to do the coding for me. I just would really love if I got a starting point on how to begin this code. thank you. oh and this is in python program. | |
I have some code and i want to go back into a certain line however i am not sure how i can achive such things. #SnakeFactBook v.1 #Here is the begining of the book print("Hello.\nWelcome to the Bush Viper Fact Book.") #Ask for name name = input("What is your name?") … | |
![]() | I apologise if there are answers to this elsewhere but my programming is very basic and I don't really understand - so please keep it simple and please be patient. If I have a list of strings. Is there an easy way of creating variables called by the items in … |
Hi all, I need your help, I have got a problem with my python script. I'm using XBMC media application which they are using python 2.6v which they works the same way as the other version for python. When I'm pressing on the enter button of the keyboard, the code … | |
Hello good people, I wanted to talk today about auxiliary functions. I have a brief understanding of what it is, however, I am still rather confused on what it actually does. Lets say for example I have a function that calculates leapyear as TRUE or FALSE, how would I use … | |
Hello everyone. I am trying to teach myself the very basics of the Brian neuron simulator before attempting to modeling realistic networks. Any of you guys know how to use it? Specifically, the first exercise I am attempting is: dx/dt = 1 + x - y - x^2 - x^3 … | |
I just now installed python 3.3.4 on my mac os 10.9.1 mavericks. I am developing through the Wing IDE for mac. When i tried to change the python excutable from default to python 3.3.4 and restarted the program, a dialog box appeared thta said that the interpreter for python 3.3 … ![]() | |
Hi there, I'm a real newbie to python so sorry if this is a stupid question or if I don't fully get your answer, no hate please! I'm trying to write a small program to use when calculating differential equations bu using Euler's step method, don't worry if you don't … | |
Hello, I am writing a little script that needs to get the timezone from an rss feed, and I am using [URL="http://www.feedparser.org/"]Feed Parser[/URL] to parse the rss feeds. The way that I am converting the date into Unix Epoch time is: [CODE] feedDate = feed['feed'].get('updated_parsed') or feed.entries[0].get('updated_parsed') feedDate = mktime(datetime(*feedDate[0:6]).timetuple())[/CODE] … | |
Hi all, I am new to programming, and i'm working from a booik which has set me a challenge with a random jumble word program to pair the jumble word with a hint. I have been going round in circles trying to work it out, please help point me in … | |
My friend and I tried to create a team of programmers for doing bunch of work, our main aim is the gaming sector (probably). It was said around the net that it was hard work. So, we decided to plan it from now. I got around 1-3 years(blurry because I'm … | |
![]() | Any good places to start learning Python? Websites/books/Youtube tutorials? Also any good editors, too? ![]() |
Hey, I tryed the first problem of the Euler project, but for some reason the code bellow is not give me the correct answer: def multiple_sum(multiple=3): x = 0 for n in range(0, 1000): if not (n % multiple): x += n return x print multiple_sum(5) + multiple_sum(3) It is … | |
i'm trying to input ligand with mol2 format in autodock but i get an error and a warrning warrning : {5moleculs in} , {D,ducument and ...} Traceback (most recent call last): File "/tmp/autodock/dist305/MGLToolsPckgs/MGLToolsPckgs/ViewerFramework/VF.py", line 685, in tryto result = apply( command, args, kw ) File "/tmp/autodock/dist305/MGLToolsPckgs/MGLToolsPckgs/AutoDockTools/autotorsCommands.py", line 481, in doit … | |
![]() | Is it good for RPG games Shooters... What is Python good for making? ![]() |
I have a function that does certain checks, if the the checks fail, it will add values to a dict, i.e: outstanding = {} sims = [_sim for _sim in self.context.sims if unicode(_sim.iccid)] # for sim in [_sim for _sim in self.context.sims if unicode(_sim.iccid)]: print sims count = len(sims) if … | |
I m trying to open another .py file into .py file.i have written code for display list one it added in database but for that i need to go in menubar and click on list menu. i want to open that list one recore added into database. Any suggesion. | |
How to Stop python programme (which is continuously giving output ) after sometime | |
I am a beginner in programming. I would like to know sample opern source apps that I can use in learning | |
I'm totall beginner, trying to learn python programming codes. So far, got series of python programming problems to solve. Here is one of them.; please I need help on how to write the program. "Write a program that displays a table of the Celsius temperatures 0 through 20 and their … |
The End.