538 Topics

Member Avatar for
Member Avatar for ssmokincamaro

Hey everyone, I'm fairly new to python and have hit a brick wall in a program I'm writing. I need to read in a text file containing values (No problems here) the text file looks like this 10, .25, .26 12, .44, .34 4, .22, .56 The numbers 10, 12, …

Member Avatar for snippsat
0
143
Member Avatar for jmaddy10

Hello all! I am making a site for a club on campus and we need to show the presidents quotes on the site. He has some lengthy ones so I want to save space (can't tell him to KISS) so I'm using a little code I learned to do so. …

0
100
Member Avatar for pamelaanne05

[CODE]if(num/100>=1) { x=num/100; switch(x) { case 1: cout<<"one hundred "; break; case 2: cout<<"two hundred "; break; case 3: cout<<"three hundred "; break; case 4: cout<<"four hundred "; break; case 5: cout<<"five hundred "; break; case 6: cout<<"six hundred "; break; case 7: cout<<"seven hundred "; break; case 8: cout<<"eight …

Member Avatar for EngSara
0
139
Member Avatar for hannon565

Hey am trying to read contents of a text file into memory and will be read later by a different function. This is how i am considering doing it I was thinking of reading the whole file into an array but thought it might be too big seeing as file …

Member Avatar for Nick Evan
0
3K
Member Avatar for david cashin

I have a website that i have uploaded an applet to. In the same dir as the applet, I have uploaded three textfiles that the program uses. The applet works perfectly in the appletviewer runing off of my computer, but when i upload the class online it seems that the …

Member Avatar for kvprajapati
0
143
Member Avatar for ariel.goldstien

It seem that PIL was built without FreeType support. how do I Install the FreeType dev files and rebuild PIL again.

0
103
Member Avatar for said.amsur

Hi I'm new to computer programming. 'Im just needing to learn some basic c++ for a larger project. So if someone wouldn't mind guiding me through some basics on i/o streams. I need to able to open a .txt file saved on my c drive and be able to count …

Member Avatar for said.amsur
0
224
Member Avatar for Jarq

Hi I need to insert a flat text file into a SQL Server table using C#. The text file lines are 500 characters long and I will need to break it up into columns. Column 1 – 6chars, Column 2 – 1chars, Column 3 – 8chars I’ve managed to read …

Member Avatar for Jarq
0
3K
Member Avatar for coldfire101

Hi, I need to write a program to send data from a particular excel sheet in a workbook to a notepad. Say,I've an xl sheet with the following columns: "Name,Age,Salary" with values "john,24,1000" respectievely,Now I need a C# program to read the xl sheet and write the values onto the …

Member Avatar for pauldani
-1
578
Member Avatar for yupi

Hi, i am new at shell scripting and i need your help. i have a very big txt file that contains articles,authors,etc. Each article has this form: .I <article's serial number> <article information(in new line)>. What I need is a script tha will split this file into smaller ones.The script …

Member Avatar for Kruptein
0
131
Member Avatar for sleaze

Im currently working on a project where i need to read a text file containing a list of users and let it be stored in a database. Here is my text file: headers(ID number, LastName, FirstName, MiddleInitial,Course and Year): 2070939 Carter, Billy Joe K. BSIT 4 2070123 Daniel, Michael Ericson …

Member Avatar for ~s.o.s~
0
183
Member Avatar for jorgelex008

Hi all, I'm new to Java and going through a steep learning curve. Every now and then I'm getting dead stuck, so your help is immensely appreciated. So, here's the problem: (with Java NetBeans IDE) I have a JFrame form, and in it 4 JComboBox'es. Also a JButton titled "Enter". …

Member Avatar for javaAddict
0
6K
Member Avatar for Dranix

In VS 2008, for example I have sql command like SELECT * FROM STUDENTS WHERE STUDENTID = @STUDENTID Then I append value into it, for example 15 How to I catch this sql command SELECT * FROM STUDENTS WHERE STUDENTID = 15 Thx in advance

Member Avatar for ZidaneXero
0
162
Member Avatar for rahul8590

i was going through many ruby books and found this amazing text editing code (its just 17 lines ) provided u use Shoes toolkit. The code is working fine with no errors . but its only able to read (open) and input file but not save the text u wrote …

0
152
Member Avatar for hotmatrixx

Exactly as the title says. [URL="http://www.kammerl.de/ascii/AsciiStereoMovie.php"]ASCII 3D Magic Eye movie[/URL] You can customise the image, colours, and its' movement any way you like further down the page. Also, as an added bonus, Star Wars [URL="http://www.asciimation.co.nz/#"]HAND DRAWN STAR WARS: ASCII MOVIE.[/URL] This deserves credit purely because of the skill and time …

0
152
Member Avatar for harpalss

hi there got a couple of probs, say in my text file i have: abase abased abasement abasements abases -------- This coding below is meant to find a word in a file and print all the lines to the end of the file. But it doesnt, it only prints out …

Member Avatar for d5e5
0
127
Member Avatar for s8498

Hey everyone, I'm new to posting in these forums so sorry if I didn't post my code correctly? I think i did it...hopefully. Anyways, I've been working on this all day but I can't figure it out. (i think i will be having problems with the rest of my assignments …

Member Avatar for UberJoker
0
2K
Member Avatar for furblender

Completely frustrating - I have been googling for a solution for this for a couple of hours now. I have this little bit of code that I wish to read a text file into a Python Dictionary. I used this dictionary format internally within the another piece of code I …

Member Avatar for furblender
0
3K
Member Avatar for notuserfriendly

I need to read from a file and be able to split it into columns and ignore a line if it starts with ' . '. the text file is made of 3 columns but at some lines there are no words in the first column here is an example …

Member Avatar for 7stud
0
394
Member Avatar for Jewsy

Hey im new here to excuse the nubneess i wanted to make a family tree thingy and wanted to do it in python i wanted to make a way so that it could read a text file and auto add a new entry called summary which would include the initials,yr …

Member Avatar for nevets04
0
119
Member Avatar for pdxwebdev

[CODE] def doKey(e): print(e.widget.get("1.0","end")) root= Tk() root.title('yada') txta = Text(root, width=40, height=10) txta.bind("<Key>", doKey) txta.pack(side=LEFT) root.mainloop() [/CODE] Pressing a key in this text area will always output the string prior to your pressing the key. Am I missing something?

Member Avatar for pdxwebdev
0
139
Member Avatar for Graphix

I am currently having a problem with my BB-code editor, like most things it works great in FF, but i have an issue with IE: whenever i select a word that has already been previously typed, it selects that word instead of the one i selected. Here is the selection …

Member Avatar for Airshow
0
276
Member Avatar for printhelloworld

Hello, The application I'm using prints to a COM port. I cannot get around this. I've been trying to send this data (text) to a virtual printer or a txt file and have not been successful. Is there any software that will allow data to COM ports to be redirected …

0
121
Member Avatar for ddanbe

Hi all, Left of a TextBox I have a Label and the text changes during a run so I want the text to be right aligned. So I used the TextAlign property of a Label and set it to MiddleRight. It does not work. Looked for an answer, could not …

Member Avatar for ddanbe
0
229
Member Avatar for ktkevin1222

I'm fairly new to coding VB 2008 I need help converting a text document with a type of code in it. One line looks like this: 52.000000, 400.000000, 1.3107711, 0 I need to convert that to an xml file that looks like this: - <CuePoint> <Time>11619</Time> <Type>event</Type> <Name>Marker 01</Name> - …

Member Avatar for ktkevin1222
0
212
Member Avatar for MxDev

Hi guys, I wrote a simple text editor using C#. It can maintain the text format like font color, and font size when text pasted to it, and I able to save it to .doc, or .rtf. When I open the saved file with appropriate application like MS Word, it …

Member Avatar for serkan sendur
0
154
Member Avatar for GuyClapperton

So I get this call. Would I like an exclusive briefing on a new technology that's going to turn text into speech - the first one to do this 'native'. Forgive me, but no I don't. This typifies, in my view, the all-too-common view that a technical advance ought to …

Member Avatar for GuyClapperton
0
250
Member Avatar for Dani

I've heard rumors of this coming for awhile, but I finally saw it while browsing DaniWeb just a couple of minutes ago. A box ad that I run with a white background, which usually displays four ads, now displays three. The extra room is reserved for some text links with …

0
208

The End.