15,181 Topics

Member Avatar for
Member Avatar for arsh.goyal.98

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

Member Avatar for slate
0
154
Member Avatar for Zahra_1

![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.

Member Avatar for Zahra_1
0
223
Member Avatar for Michal_3

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?") …

Member Avatar for Schol-R-LEA
0
2K
Member Avatar for Rebecca_2

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 …

Member Avatar for Gribouillis
0
206
Member Avatar for mark103

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 …

Member Avatar for mark103
0
314
Member Avatar for Yozuru

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 …

Member Avatar for slate
0
5K
Member Avatar for toll_booth

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 …

0
135
Member Avatar for romil.agrawal.1

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 …

Member Avatar for Alex_20
0
248
Member Avatar for kangarooblood

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 …

Member Avatar for rrashkin
0
357
Member Avatar for Opsive

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] …

Member Avatar for Gribouillis
0
898
Member Avatar for foshan

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 …

Member Avatar for foshan
0
215
Member Avatar for Vasthor

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 …

Member Avatar for deceptikon
0
251
Member Avatar for Alex_20

Any good places to start learning Python? Websites/books/Youtube tutorials? Also any good editors, too?

Member Avatar for Alex_20
0
125
Member Avatar for brett.warren.1612

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 …

Member Avatar for brett.warren.1612
0
117
Member Avatar for fatimaashena

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 …

Member Avatar for rrashkin
0
817
Member Avatar for Alex_20
Member Avatar for Alex_20
0
195
Member Avatar for renierdbruyn

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 …

0
132
Member Avatar for Mithun_1

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.

Member Avatar for rrashkin
0
202
Member Avatar for Dineshchitta
Member Avatar for Gribouillis
0
274
Member Avatar for aokono
Member Avatar for SyxNM
0
125
Member Avatar for Wilever

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 …

Member Avatar for Greg_4
0
16K
Member Avatar for simplysach

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 …

Member Avatar for Schol-R-LEA
0
324
Member Avatar for arty.net

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" …

0
189
Member Avatar for raju_6

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.

Member Avatar for raju_6
0
1K
Member Avatar for rajeshwari_ib

Hi all, i am new to python how to store image into database blob using python please help me for this its urgent

Member Avatar for Gribouillis
0
2K
Member Avatar for ben.juarez.773

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 …

0
79
Member Avatar for trade19

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 …

Member Avatar for trade19
0
262
Member Avatar for ram619

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 …

Member Avatar for vegaseat
0
168
Member Avatar for mary jane_1

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 …

0
42
Member Avatar for trade19

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 …

Member Avatar for trade19
0
173

The End.