Member Avatar
Dear Python coders, I am new to python programming and I am trying to solve an assignment. The question is stated below; Create a function that does the following 1. Accepts as the first parameter a string specifying the data structure to be used "list", "set" or "dictionary" 2. Accepts …
by Zubenna in Software Development ()
Member Avatar
how to create a waiting list for an appointment in php with codeigniter...any guide please
by shakayu in Web Development ()
Member Avatar
Hello, i have a problem. I want to do two things First, explode an array to retrieve the ids from a row on the table e.g. 1,5,23 and then use a variable to call a Mysql statement. Here is my code ...
by SimonIoa 39 in Web Development ()
Member Avatar
This is about “ ... i created a new thread because that is a great tutorial and I believe that comments underneath it would troubled the reader. Hello Diafol , I believe that this tutorial should be linked in the “read first” section , but to be honest I don't …
by jkon 385 in Web Development ()
Member Avatar
Hi Guys I ran into a bit of a problem with some code I am writing. I am trying to store all possible combinations of a set of numbers which are current being stored in List. Problem is my code run into an out of memory exception, heres my code: …
by ogsirus in Software Development ()
Member Avatar
... ... ... ... first take a look at attachment pic to get a idea. I have two dropDownLists.1st dropDownList ID is cboPrev(oPrev) and 2nd dropDownList ID is cboNext(oNext). These both DropDownList will have the following 4 items (2014, 2015, 2016, 2017). User can click on dropdownlist and pick a …
by hwoarang69 11 in Software Development ()
Member Avatar
Hi guys, I have written a program which currently accumalates different pairs and their frequency from an excel spreadsheet. (1280 pairs) Want I want to achieve is from the top 20/30 pairs, if I can find pairs that link e.g. Pair 1 [1,33] and Pair 100 [1,232] so i would …
by ogsirus in Software Development ()
Member Avatar
Hi all! I am working on creating an SMS language translator (SMS -> real English), and I am having trouble initializing a map for the SMS -> English codes. My code is below: ... In line 1 ( ... ), I am getting the message ... . Then, I get …
by nathan.pavlovsky in Software Development ()
Member Avatar
Hello Daniweb Community, I was wondering if there is a way to replace words from a listbox. So at the moment I've got a listbox with a couple of strings to be replaced in the textbox, however single line listbox items work but when I add a multi-lined item eg. …
by joshl_1995 22 in Software Development ()
Member Avatar
Just an example of a persistent list class that could have interesting applications in data mining.
by vegaseat 1,720 in Software Development ()
Member Avatar
Shows how to convert a comma separated value (csv) string to a list of records, and then do some data processing. The csv strings usually come from csv files created by spreadsheets.
by vegaseat 1,720 in Software Development ()
Member Avatar
I have a list in python that I am printing to the screen. The current format is Option Key: [0, 3, 6, 8, 8, 5, 2, 0, 7, 1, 9, 5, 0, 7, 7, 4, 2] I would like it to be Option Key: 0 3688 5207 1950 7742 I …
by karmstrong in Software Development ()
Member Avatar
Hi! Straight to the problem: I'm building this server application which will monitor SQL databases. I want it to remember any number of connections so I've made a few methods which I thought would do the trick, except they don't. The program should add any new SQL connection to a …
by Pobunjenik 27 in Software Development ()
Member Avatar
Problems 1: Spiral matrix - Advanced Source of the problem: ... Spiral matrix is formed by filling number 1 in 1st row 1st column, after that, filling with increasing number by clockwise, example: ... Write a program that inform the value of cell (x, y) of a square spiral matrix …
by Gà_1 in Software Development ()
Member Avatar
How to find out auto approve site from google? any body guide line me?
by djuiceshamu in Search Engine Strategies ()
Member Avatar
I do a lot of work in number theory, especially with factors. I often need just the two middle factors from a very long factor list/result, so I created a function that takes a factor list and returns just the middle two, or one, factors. Nothing earth shattering, but I …
by BustACode 15 in Software Development ()
Member Avatar
Im looking for a way to be able to send out over 100,000+ emails a day. How do websites that have over 2,300,000 subscribers do that when they are posting a couple of articles a week? Any software, plugins, code out there im missing? Thanks
by Chris920 in Digital Marketing ()
Member Avatar
Hello, for a school assignment I was supposed to write an insertion sort algorithm for a doubly linked list. As the feedback system of this particular course is rather weak (actually non-existent) I would like to ask you for your honest opinion about how well this is implemented, what could …
by marcelmarcelmarcelmarcelmarcelmarcelmarcelmarcel in Software Development ()
Member Avatar
Hello, me again :) With this code: ... A list of links printed into the terminal. I want to send the list into a text file, i tried this: ... But there was an error: ... What is the problem? How can fix that? And one more question; as that …
by Niloofar24 15 in Software Development ()
Member Avatar
this is my latest class assignment, i would really appreciate some assistence with my pseudo code to help me in the right direction. my code skeleton is provided at the end of this post. Deque A double-ended queue, often abbreviated deque and pronounced deck, is an object with the following …
by rogerfleenor in Software Development ()
Member Avatar
Hello. I have a list: ... How can i take number 244 out from the list? Something like: ... Here 244 is integer.
by Niloofar24 15 in Software Development ()
Member Avatar
Hello again. How can i limit my list indexes? I want my list to take only 3 indexes for example.
by Niloofar24 15 in Software Development ()
Member Avatar
Hello. mylist = [6, '/', 3, '+', 9, '+', 8, '+', 1, '/', 2] How can i delete that list indexes? I tried: ... But it didn't work: ... What can i do for that?
by Niloofar24 15 in Software Development ()
Member Avatar
Hello. I have a list like this: ... I want to take them out of the list inorder to run the operation and get the real result; something like this: ... So the result variable will be set to 10. How can i do that?!
by Niloofar24 15 in Software Development ()
Member Avatar
Hi Guys, Im a bit puzzled on the best way to store data which will later be saved to a csv. I am doing a record search on a database table which will get cycle through each employee and get the relevent information. Once I have done this I will …
by ogsirus in Software Development ()
Member Avatar
Hello! My this time question is about breaking a list. I have a list with the name favorite_movies. Here is 2 functions of all functions from the file: ... When i append a name with the Add button and then press the View button, i see list's names on the …
by Niloofar24 15 in Software Development ()
Member Avatar
Member Avatar
Looking on the web for how to do it. Found several solutions: serialisation, XML etc. Cannot decide which to use. My List class contains a string, some booleans and two other Lists. Awaiting some opinions that will be accepted with great gratitude. :)
by ddanbe 2,372 in Software Development ()
Member Avatar
My Objective is to define a function, with a pointer to a list of elements of the structure I created as the first parameter, a C-character string (of type char * ) as the second parameter and one of the of the two values,num or name, from the above enumeration …
by senait.kifle.127 in Software Development ()
Member Avatar
I'm working on this code for class, I am not expecting anyone to do my homework but help would be appreciated. Nodes are confusing for me and my professor did not explain well. The errors I am getting are where I declare the functions, I dont know the nodeType(?) that …
by kortneycoles in Software Development ()