15,181 Topics
| |
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 | |
![0930ac8855b75aa7c11605d2c389c3a5](/attachments/small/4/0930ac8855b75aa7c11605d2c389c3a5.PNG "align-left") 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 … | |
in my i.t lesson we were intoduced to 'raspberry pi' within 'Python' and for my homework i have to explain what we did in the lesson. It says i have to include what 'input' is when coding a programme. Please help and reply as soon as possible and keep in … | |
I have written some code just to practice verbosity in python. Verbosity is embedded by means of the ArgumentParser module....however, I'd also like to write the stdout to file also when verbosity is disabled : #!/usr/bin/python from optparse import OptionParser from argparse import ArgumentParser import sys def printable1(): print "1" … | |
Hello I am looking for a way to open command prompt of my remote windows machine with python code. could somebody help me with that ? Thank you. | |
Hi all, i am new to python how to store image into database blob using python please help me for this its urgent | |
I have scoured the internet, but to no avail. Perhaps someone can point me in the right direction about the following for Classes in pygame: 1. Item One: I would like to make random enemy movements within each class or subclass. 2. Item Two: I would like to change the … | |
Hi I think this topic is beyond my lame python abbilities. I hope the program can run, it is writen by using error messages until it worked. I am using python 33. I am trying to learn info on adding leading zeros to the output.(File & Windows) I am not … | |
Hello, I want to duplicate a list in python. The way I want is, I need two list with same content pointing to different memory Location. What I tried is Dup_List = Original_List[:] , but lookes like even this is making both list point to same memory location. Both the … | |
Hi! I already have separate codes that can make a call from hyperterminal using AT commands and a script that can send SMS. My problem is I need to make a code that can make a call and while a call is in progress, the code will be able to … | |
Hi I am having a problem with the "nextz" part "Click Here to see the new winning number." I want to kill this button after it shows the winning number. but it prints another number every time I click the button. how can i click once show once. Thanks for … |
The End.