Text File (Part 2) Programming Software Development by Joe Hart I had asked this question and thought that I had it solved but I could not get the text defined as variables. Below is the text file. I would like to specify a line and the length and set that to a variable. In the Example below the items in Red, I would like them to be an Interger. The first one -571.5 possibly set to ATC1, EX. INT(ATC1) = … Re: Text File (Part 2) Programming Software Development by Joe Hart Hi, Jice and Bumsfeld, I noticed that the bb codes did not seem to work. I am rather new to this but I have posted before and they worked. I thought maybe the bbcodes would work once I hit submit. This is just a text file. I did use the text bb tags. I will try again below: This time I only tried it with two records. If I can … Re: Text Files Programming Software Development by Joe Hart I am not sure if I made my self clear in the previous post or maybe I just don't understand the code. The number I want is the FCITC, the Limiting Constraints and the Contingency that caused the Limiting Constraint. These variables will constantly change and therefore I can not search for them in the file so I will have to find them based on … Issue with the LIKE expression and php Programming Web Development by tristan Hello, I am having a members search page, where you can look up members by searching on e.g. age, interests, country etc. If the user does not specify e.g. an age range, then all ages should be included in the search. But if a specific age range is specified, then only this age range should be included. I have tried solving it with a LIKE … Tkinter - GUI Screen (No Game Code) Programming Software Development by Alq Veers Ive been working on this for a while, and still am quite stuck. I've got the menu code done and it causes no problems, but as for organising the screen for the remaining two sections I am still having trouble. Im using the .grid() setting, and am thinking if I need to pre-align the screen before the buttons and such are created. Or if it should … how to see other window over all Programming Software Development by gbonline Hi to all, i'm writing a little interface in python with Tkinter on linux debian, with this interface i need to execute some program like rdesktop and vnc. but i've a little problem: i use a fullscreen window without decorator (read buttons for iconify and close) where i've putted some buttons. the problem is that when i call vnc i the server doesn… Re: Issue with the LIKE expression and php Programming Web Development by sarahk Build the query up by appending to the string. [code]//assume all variables are safe and have addslashes() $query = "select * from `table` "; $joiner = ' where '; if (!empty($mw)) { $query .= $joiner . "`mw` = '{$mw}' "; $joiner ' and '; } if (!empty($pet)) { $query .= $joiner . "`pet` = '{$pet}' "; $joiner … TI’s Low Power Chips Save Battery Life, Not the Planet Hardware and Software Hardware by EddieC It’s not a new snack food and it’s not a plan to help save the Earth. The low power chips are a series of application processors and digitial signal processors announced in July by Texas Instruments that consume significantly less power than predecessors and prolong battery life of the devices built around them. The best part? Nowhere in TI’s … IE9 (beta) Workaround Programming Web Development by Roy Murphy Hi everyone, Are there any IE9 quirks workarounds yet? If there are a few clever (and small) workarounds for this could someone please post me a link? As a quick fix I was going to add an 'if' statement to detect IE9 and work in 'mozilla' mode, but my brain is fried after an all-nighter...(code writing not on the bottle) not much is making sense … cannot read the file content in perl/tk TEXT Programming Software Development by terranceyaul i know this is not a new question..but i try follow the solution working out from other post...but there are nothing to print out on my text area...if i directly print a sentence on my text file..it's work..why? #!/usr/local/bin/perl use Tk; use File::Tail; #Main Window my $mw = new MainWindow; $mw-> title ("… Re: how to see other window over all Programming Software Development by gbonline Thank's for asnwer i've tried to temporary minimize the fullscreen main window, but i've a question for the procedure to use for call an external program: in the demo code i've used subprocess.Popen because i've read that it's better than os.system and it's more performant, and unwait the end of the execution - run in parallel - so now the … Parse an HTML doc Programming Software Development by sarelnet Hi, I have a HTML page in one variable. I need build a mehod that will extract a tag content (dif extract_tag(self, tag_name)). For example, given webpage: <div id="mw-page-base" class="noprint"></div> <div id="mw-head-base" class="noprint"></div> <!-- content -->… Optimize, Fix MySQL Join Query Programming Web Development by digital-ether I'm trying to create an Alpha Numeric List of links. Each alphabet links to a page that will display rows whose titles start with that alphabet or numeral. For each alphabet, I want to get the number of titles that start with that alphabet. This allows me to link only the alphabets that actually have corresponding rows. Here is the structure … Re: Optimize, Fix MySQL Join Query Programming Web Development by digital-ether I've ended up using this query, which is basically just the subqueries wrapped up into one query, but I'd like to do this with JOINs if possible. [CODE]SELECT (SELECT COUNT(ma.id) FROM jos_mediaboss AS ma WHERE ma.title LIKE 'a%' AND ma.published = 1) AS ca, (SELECT COUNT(mb.id) FROM jos_mediaboss AS mb WHERE mb.title LIKE 'b%' AND mb.… Launch word with a dialog together Programming Software Development by 330xi Hi! Only two windows-dialogs in my programm. On button click I do this->EndDialog(0); MyWiew mw; mw.DoModal(); ShellExecute(0, NULL, fdlg.m_ofn.lpstrFile, NULL, NULL, SW_MINIMIZE); But MS WORD opens file and starts only when mw is closed. How to start it with the mw together? Thanks in advance. Trouble with select button, please help! Programming Software Development by carly OK...here is the complicated stuff... 2 forms form 1 plays an mp3 when the power button is switched on (default-power off) form 2 is loaded when the scan button is selected from form 1 the scrollbar on the 2nd form automatically starts, here the scrollbar scrolls through numerous mp3s pausing for 3 seconds when … Text Files Programming Software Development by Joe Hart I have a text file that I need to find data and assign it to a variable. I have found code to read and search a file but the information I want is not always constant. The Items in Red will change. Is there a way to find this information, maybe by position and assign it to a variable? EX.FCITC = 690.4 Sorry if I was suppose to wrap the text… Text Files Programming Software Development by Joe Hart I have a text file that I need to find data and assign it to a variable. I have found code to read and search a file but the information I want is not always constant. The Items in Red will change. Is there a way to find this information, maybe by position and assign it to a variable? EX.FCITC = 690.4 Sorry if I was suppose to wrap the text… Re: Text Files Programming Software Development by jlm699 I'm posting this for others so they can see what your input file actually looks like. [QUOTE]Study transfer. From FMPP_EXA To FPL_IMA . Transfer level - 1000.0 MW Violations report ordered by transfer capability. Total 3 violations FCITC TDF LODF <--------- Limiting constraint … Re: Text Files Programming Software Development by Joe Hart Everything works great, except I don't totally understand. Below is the ouput I get when I use your code. [TEX] ('-571.5', '4 TENOROC 230 1', 'C:9100-9120D') ('-626.4', '4 TENOROC 230 1', 'C: 7890 OSCEOLA 230 9190 AGNES-RX 230 1') ('-443.2', '4 TENOROC 230 1', 'C:9100-9120D') ('1145.8', '0 B BEND 230 1', 'C:… Can't run a simple Perl/TK script Programming Software Development by Claude2005 Hello there, I installed [URL="http://www.activestate.com/activeperl"]ActivePerl[/URL] (I kept all default settings) and also downloaded [URL="http://search.cpan.org/~srezic/Tk-804.028/"]Tk 804.028[/URL] and extracted it to C:\Tk-804.029. I'm wondering why I keep on receiving this error whenever I run this simple script on my … Editing attack.php script to add more items Programming Web Development by DarkBerzerk Hey All, I'm making online simple fighting game, this script is the attack.php which calculate the atk from the primary weapon and secondary weapon and calculate the def from the equipped armor and get them from the db what i want is if i add new item like Shield and i want it to be calculated in the fight beside the armor and the same if i add … Showbiz carousel and cycle problem Programming Web Development by cgull Showbiz carousel and cycle problem Hello, I am looking for a jquery guru that can help with a plugin that I bought. The developer of the plugin does not answer me and I need to go live next week. The plugin is called: Showbiz Carousel. It is a carousel for content. I need to tweak it and add jquery cycle to images in it and an external link … need help in setting timer Programming Software Development by ali11 Hi i am trying to make taxi meter which shows the current price.Rightnow I have to click startmeter afterevery 1 minute than it's update the new price but I want it to update automatically once the price change after 1 minute instead of me pressing startmeter everytime.thanks for your help. import java.awt.*; import java.awt.event.*;… how to make tabs bigger in size Programming Software Development by ali11 Hi I am creating a program in which I have 2 tabs. I want to make my tabs bigger in size so they can take whole panel space. Is there any way I can make both tabs size bigger. thanks import java.awt.*; import static java.awt.Font.BOLD; import java.awt.event.*; import java.awt.event.*; import java.awt.event… Hi I am Grace Community Center Say Hello! by gkosgood I have been receiving the DANI WEB newsletter for some time now but never bothered to do anything more than be shy and read. I am Basically a newcomer to the Computer World. I went to school after my children were grown after deciding I needed a career change. I am in my third year seeking my BS IT-MVC. I have never undertaken something this hard… Python to Matlab Programming Software Development by vipints Hi all, I am using scipy.io for switching from python to matlab. here is my list of list in python code = [[[1, 2], [3,4], [5, 6]], [[7, 8], [9, 10]]]. I want to convert this to matlab format. For that I used a code scipy.io.savemat('/tmp/out.mat', mdict={'Num': (code[0], code[1])}) but it is showing an error message. tmp/<ipython… Menu - Command Programming Software Development by Alq Veers Hi guys, Im trying to bring up a new window then the Credits button located in the help menu is clicked. Im trying to run it as a command. So right now, that code doesnt work unless you comment out the creditsCommand region. So can anyone point me in the right direction to get a new window displayed with text? [CODE]# # File: … Re: Menu - Command Programming Software Development by TrustyTony You mean like this: [CODE] # # File: gui_secondGen_v0.02.pyw # Programmer: A. Smith # Created: 20100323 # Edited: 20100504 # Time: 10:01 # Notes: # 1) Working way down page. Class menu, screen, controls. # try: # Python2.x from Tkinter import * except ImportError: # Python3.x import tkinter as tk class controlMenu(Frame):… High Altitude Wind Power Feasible Community Center Geeks' Lounge by VanessaRyan Until recently, the idea of sourced energy from high altitude wind using tether and cable technology was not feasible. But the technologically-advanced materials and advanced computer knowledge that have emerged due to the interest in green technology, makes this now possible. [ATTACH]15932[/ATTACH]Just as people yearned to fly long before the …