Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
80% Quality Score
Upvotes Received
10
Posts with Upvotes
7
Upvoting Members
8
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
1 Commented Post
~76.6K People Reached
Favorite Tags
Member Avatar for vegaseat

After you got the basics of Python under your belt, the best way to get a good knowledge of the language and improve your coding skills is to start on a project you are interested in. Maybe an image viewer, a slide show, computer generated random or fractal art, a …

Member Avatar for vegaseat
20
18K
Member Avatar for knan

I have a dictionary [CODE]dict1={'18':['4000','1234'],'12':['7000','4821','187','1860','123','9000']}[/CODE] I want to sort the keys and values such that, the output is, [CODE]dict1={'12':['123','187','1860','4821','7000','9000'],'18':['1234','4000']}[/CODE] I tried something! but it didn work [CODE]>>> for values in dict1: ... dict1[values].sort() ... >>> dict1 {'18': ['1234', '4000'], '12': ['123', '1860', '187', '4821', '7000', '9000']}[/CODE] Full sorting happens for …

Member Avatar for grantjenks
0
805
Member Avatar for group256

Hi, I'm trying to output a list of dvd titles along with some of their details. The problem is that it seems I can't get them aligned all pretty well. So I upload the screen shot as well as the code generating it. Please help me out here. This is …

Member Avatar for niario
0
14K
Member Avatar for group256

Hi everyone, I have the implementation for a linked-list based Stack. I believe the entire code is correct, but only the way I call the push and pop function mighe be wrong. Any idea how they should be called? Mine returns garbage: #include <iostream> using namespace std; typedef struct Elements …

Member Avatar for deceptikon
0
280
Member Avatar for Florinmoc

Hi everyone, This October I will start university study (Open University in UK). I’m 35 and work full time (non-scientific, non-IT background). I plan to study to become a software developer in Java (that’s the language the Uni uses; they also have one course in VB.net) I’m not convinced yet …

Member Avatar for florin.mocanu.501
0
217
Member Avatar for PM312

I Have laptop with windows 7 .Recently my laptop gets shutdown automatically below is the error shown Problem signature: Problem Event Name: BlueScreen OS Version: 6.1.7600.2.0.0.768.3 Locale ID: 2057 Additional information about the problem: BCCode: d1 BCP1: 0000008000000000 BCP2: 0000000000000002 BCP3: 0000000000000000 BCP4: FFFFF88002E65610OS Version: 6_1_7600 Service Pack: 0_0 Product: …

Member Avatar for PM312
0
194
Member Avatar for Gus_19

I know this is a dumb question, but I must be missing something simple and just can't figure it out. My program has a logfile to track things done with it. I'm trying to figure out what I am missing with creating the file if it does not exist. Am …

Member Avatar for group256
0
118
Member Avatar for group256

I have an apache server running on Ubuntu server and I've plugged all my external hard disks to it and mounted them so I can access my files using apache file and folder listing. It's good enough for browsing through files and folders, but it's not efficient because I can't …

Member Avatar for tzakuk
0
165
Member Avatar for Richard0

Here is the code of my binary tree can any one plzzz write the delet function for it..... i tried my best but..... [CODE]#include<iostream> #include<stdio.h> #include<conio.h> #include<Windows.h> #include<stdlib.h> using namespace std; struct st { int marks; st *left; st *right; }; struct st * create() { struct st *p=new st; …

Member Avatar for group256
0
109
Member Avatar for group256

Hello everyone, I have to code an array that in each row, it has 16 columns! So I called it myself a 17 dimensional array but I was wondering what data sturcture in Python can best represent this keeping in mind that, it should be easily addressable and modifible. For …

Member Avatar for group256
0
170
Member Avatar for group256

Dear experts in Python, I have written a binary search method that receives a list of float and one new float item. It needs to look for the proper index for that item to be placed and return that index. To make it simple, I give an example: imagine a …

Member Avatar for group256
0
179
Member Avatar for group256

Dear everyone, I'm trying to implement something like gmail conversational view and the way I've designed it is that I store "subject" of the mail + other parties email address (in case you send, other party is recipient, and in case of receiving, sender is the other party). What I …

Member Avatar for group256
0
168
Member Avatar for Utsav Chokshi

I have two programs which gives a same output.....But they uses different logics.... So I want to compare their compilation and run time so I can understand which one is better.... The program gives an output like.....If u enter a number=789 then output=890 means each input digit got increament of …

Member Avatar for group256
0
99
Member Avatar for geekme
Member Avatar for chrjs
0
93
Member Avatar for roseworld

[B][COLOR="Red"][U]Face recognition using Two Webcam with OpenCV[/U][/COLOR][/B][CODE][/CODE] I am very new in OpenCv, and I am trying to use 2 USB webcams with OpenCV, so can anybody help me how I can start this and understand it in short time. best regards,

Member Avatar for roseworld
0
184
Member Avatar for crv_great

hiiiii its 12th science student.IN THE FOLLOWING PROGRAM I REALLY DONT UNDERSTAN THE LINKER ERROR.I HAD ALREADY SPEND 4-5 HOURS IN SOLVING 50IES OF ERROR BUT THIS ERROR I REALLY DON'T ABLE TO UNDERSTAND. SO PLEASE HELP ME OUTTTTTT. AS EARLY AS ANYONE CAN...... [code]#include<string.h> #include<iostream.h> #include<conio.h> #include<dos.h> #include<stdio.h> #include<fstream.h> …

Member Avatar for group256
-1
2K
Member Avatar for rusl07cl08

Write a program that asks for your age in years, months, and days and writes out your age in seconds. Do this by calculating the number of total days you have been alive, then multiply this by the number of hours per day (24), the number of minutes per hour …

Member Avatar for rusl07cl08
0
1K
Member Avatar for stevanity

Guyz. Im in a competition. Please help me solve this. I need to code a program to solve this. I dont know where to start. Can anyone setup a recurrence relation? please [QUOTE]On an island chameleons of different color live. Every Monday , the following events occur The number of …

Member Avatar for stevanity
-3
93
Member Avatar for sirlink99

I have a problem with this code and I do not know what is causing it. [CODE]// The "ArrowKeys" class. import java.applet.*; import java.awt.*; import java.awt.event.*; public class ArrowKeys2 extends Applet implements KeyListener, Runnable { int x = 50, dx, y = 50, dy, a = 0, score, total, locx, …

Member Avatar for sirlink99
0
116
Member Avatar for Martje

Hi all, I add picture to my pictureBox by writing the following code : [ICODE]pictureBox->BackgroundImage = System::Drawing::Image::FromFile()[/ICODE] But how would i remove that image ones i am done using it? Thank you in advanced.

Member Avatar for Martje
0
88
Member Avatar for skaliam

Hi, im quite new to python and I am trying to extract some data from a csv file and put it into a new file, this is the first line of the data: 1,3,0,1,2,2,1,13,19,30,13,10,20,+1 I have managed to get it to print a new line per column, but i need …

Member Avatar for TrustyTony
0
200
Member Avatar for vbx_wx

How can i get the content of a pop-up(that has no adress) from a specific website?

Member Avatar for group256
0
69
Member Avatar for qingmui

I dont know how to start. I learn python by myself, hopefully i can solve this problem. but i think i need your guys help A palindrome is a sentence that contains the same sequence of letters reading it either forwards or backwards. For example "racecar". Write a recursive function …

Member Avatar for vegaseat
0
761
Member Avatar for seanbp

I'm assuming there's no easier way to do this. Is thread locking really automatic? Am I misreading the documentation? [CODE]from threading import Thread make_thread = lambda fn, *args: Thread(None, fn, None, args).start() def my_fn(*args): for arg in args: print (arg) make_thread(my_fn, "toaster", "ovens") [/CODE]

Member Avatar for griswolf
0
90
Member Avatar for thekitoper

I am still quite a newbie with python so my code Is quite sloppy. Whenever I run it I get an error reading "Surfaces must not be locked during blit" but in my code I did not purposely lock the surface please help thank you. Here is my code: import …

Member Avatar for thekitoper
0
1K
Member Avatar for efregoso

Hi, so I am trying to create a text file, that holds coordinates of bricks for the game brick breaker. I have a the textfile labeled as level1, and the coordinates are -5,9,0 -4,9,0 -3,9,0 now I am having trouble with getting python to open the file, and read the …

Member Avatar for TrustyTony
0
180
Member Avatar for brianmitchell

Hey all so im a bit new to python and I need to create a select sort function without any for or whiles but this is all i have so far any help would be greatly appreciated. [CODE]def selection_sort(list): l=list[:] sorted=[] while len(l): lowest=l[0] for x in l: if x<lowest: …

Member Avatar for seanbp
0
206
Member Avatar for Blackberryy

This code should draw the concentric circle in a patch design and alternate its colours between, Red, Blue, Green(or whatever the user enters from the validColours list) but it wont work. Somebody fix this please. [CODE]from graphics import * def main(): x = 0 y = 0 while not(3<=x<=9): x …

Member Avatar for Blackberryy
0
118
Member Avatar for NVR_@!2107

what does it mean by "error: expected unqualified-id before '=' token|" "|error: `i' was not declared in this scope|" "error: `cout' was not declared in this scope|" "error: `endl' was not declared in this scope|" for this code. int main() { for(int = 1; i < 100; i += 2) …

Member Avatar for group256
0
109
Member Avatar for Sykee

hello there I'm trying to chroma key an image and i don't really know where to start. I am using python coding with quickdraw as my image displayer. I am trying to: first prompt the user for location of Quickdraw, foreground image and background image. second i want image rasters …

Member Avatar for group256
0
254