Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #3K
~14.2K People Reached
PC Specs
Ubuntu 10.10 (Maverick Meerkat)
Favorite Tags

13 Posted Topics

Member Avatar for king_koder

What does xrange do in python?? And how do I implement a similar function in Python3??

Member Avatar for Gribouillis
0
11K
Member Avatar for king_koder

The [URL="http://www.python.org/"]official Python website[/URL] is now conducting a poll to find what Python package users want most to get ported to Python 3. Top on the list is django followed by wxPython and numpy. See the full results at- [url]http://www.python.org/3kpoll[/url]. Also, do vote(or nominate) the Python package that you want …

Member Avatar for richieking
1
95
Member Avatar for king_koder

Hello, I got stuck trying to solve the following problem in Python. I understand that I somehow need to implement Dijkstra's algorithm to solve this problem, but how I've no idea. [B]Inside a room, there is a monster with N heads, and a human (with 1 head). The human has …

Member Avatar for slate
0
506
Member Avatar for king_koder

I'm just thinking of learning basic 3d modelling(just as a hobby) and wanted to know whether you guys recommend 3ds max or Blender. I do have 3ds max, but I mostly use Ubuntu rather than Vista.

Member Avatar for king_koder
0
247
Member Avatar for king_koder

Hi, I started learning Python 3 around a month ago and I think, I am beginning to get the hang of it. However, I just recently realized that most of the modules I would like to use(wxPython, django,etc) aren't yet ported to Python. SO now, I'm really confused whether I …

Member Avatar for ultimatebuster
0
673
Member Avatar for parallel91

Try replacing the code in line 26 with: [CODE=python]if word not in stopWordsList: words.get(word, 0) + 1[/CODE]

Member Avatar for king_koder
0
280
Member Avatar for king_koder

I wrote the following function in Python3 for finding the largest product of numbers along the diagonal(top-left to right-bottom). [CODE=python] def GreatestOnDiagonal(data): '''Returns greatest product possible by multiplying 4 numbers in the diagonal ''' grtProduct=1 for item in data: for n in item: product=1 for r in range(0,4): try: d=data.index(item)+r …

Member Avatar for king_koder
0
403
Member Avatar for king_koder

Since Django is not yet compatible with Python 3, what are other good web application development frameworks compatible with Python3?

0
83
Member Avatar for king_koder

I tried to generate permutations by using itertools module but its not working. [CODE=python] >>>print(permutations([1,2,3],3)) <itertools.permutations object at 0xa917c5c> [/CODE] Why is it so? and how do I make it work properly?

Member Avatar for slate
0
195
Member Avatar for king_koder

How do I sort a list in Python alphabetically? The code that is used for Python 2 doesn't seem to work: [CODE=python] mylist.sort() [/CODE] Since the file I'm working with has all text in the same case, case doesn't matter here. Please help. Thanks.

Member Avatar for king_koder
0
230
Member Avatar for king_koder

Since I am a Python beginner, I was thinking about studying,and possibly working on some real-world software written in Python. So could you guys suggest some simple open source projects that I could use to study and, if possible, get involved with in development. Thanks.

Member Avatar for SgtMe
0
157
Member Avatar for masumar

Hi, I was trying to do the same thing but with strings. Here is my code: [CODE=python] lis=['a','a','a','b','b','d','d','f'] for char in lis: print(char,":",lis.count(char)) [/CODE] The problem I'm facing is that the code above outputs the frequency for all duplicate items too. So, it shows a:3 a:3 a:3 ..and so on. …

Member Avatar for TrustyTony
0
429
Member Avatar for king_koder

Hi, How do I find the frequency of each item in a list in Python? For example if there are five 'apple', two 'banana', and so on in the list, how do I write a program so that it displays the item as well as the number of times it …

Member Avatar for woooee
0
179

The End.