120 Posted Topics

Member Avatar for chu121su12
Member Avatar for chu121su12
0
440
Member Avatar for Kruptein

I recently started with developing D-CM, a tool for web-programmers. It is a GUI that bundles a file manager, mysql, ftp, text-editor in one I wanted to know what the daniweb community thought about this so if there are people willing to test it -goto [url]http://code.google.com/p/d-cm[/url] and download the latest …

0
47
Member Avatar for shyni

Is it possible that you are using java 5 on Linux and java 6 or later on windows? if that's true, you have to upgrade to java 6 or later on linux

Member Avatar for Kruptein
0
107
Member Avatar for ElegantElephant

lol I even can't find a "1" in line 1 xD try to delete the space between the table-name and the ( (It is possibly not the problem, but you can always try)

Member Avatar for ElegantElephant
0
104
Member Avatar for guruwannabe

a) Buy a book b) follow a free tutorial on the web: google is your friend We (the daniweb community) are always present to help you if you have something you don't understand, but you will not find someone (although not easily) who will teach you everything in return of …

Member Avatar for Kruptein
0
133
Member Avatar for Kruptein

If I do this code in the command line: [code=python]f = open(fl, 'r') txt = "" for line in f: txt+=line f.close() print txt[/code] I get all the output for the file fl, but if I do: [code=python] def editfl(self, fl): f = open(fl, 'r') txt = "" for line …

Member Avatar for vegaseat
0
238
Member Avatar for Kruptein

I have a Frame called ChangeDirPanel and an other one called MyFrame, the last one is the top-lvl window and has a function called file_show_dir which updates a listbox in that same window. (both frames have their own class, is it better to have the same class?) I want to …

Member Avatar for Stefano Mtangoo
0
276
Member Avatar for Kruptein

Again I have problems with my classes :s I want to test if there is still text in the text_ctrl, if so it should give a warning in which you can chose to cancel, save or continue; but somehow the [icode]deditor.st = "continue"[/icode] is not passed :s [code=python]#!/usr/bin/env python # …

Member Avatar for Kruptein
0
123
Member Avatar for Kruptein

I really don't see what is wrong =(. First I download via curl a file, then I want to compare it to a local file there are 15 lines in dwnext.ded and there are 14 lines in extlib.ded I want to store in append those lines that have a string …

Member Avatar for Kruptein
0
176
Member Avatar for Offshorepro

You have a lot of them, depending on which subject: -last.fm -netlog.nl -... [url="http://en.wikipedia.org/wiki/List_of_social_networking_websites"]a list[/url]

Member Avatar for Kruptein
0
27
Member Avatar for Kruptein

Are their people willing to help testing/contributing to a python project? (if this is not a 'legal' subject, feel free to delete it; I wasn't sure)

Member Avatar for Kruptein
0
79
Member Avatar for yupi

DON'T USE YET, I found a problem, when this line is away it should be solved =) [code=bash]file="/path/to/file" data="" data=`cat $file` serial="" for i in "$file"; do if [ `expr index "$i" .` = 1 ] then serial=`echo $i | tr -dc '[0-9]'` else echo `echo $i | tr -dc …

Member Avatar for Kruptein
0
136
Member Avatar for DJDan93
Member Avatar for kishan112
0
137
Member Avatar for vizz

First: this is not php but html and css second: you can just use div's in div's [code=html]<div style='...'> <div style='...'> </div> <div name='a'> </div> </div>[/code]

Member Avatar for Kruptein
0
77
Member Avatar for funfullson

To begin with you have to know that python itself is not a web programming language. BUT with help of some frameworks or other things you are able to use python as a web pr. language I use [url="www.djangoproject.com"]Django[/url] which is a well-supported web framework which uses only python.

Member Avatar for Stefano Mtangoo
0
172
Member Avatar for Kruptein

I have a base template which is called every time a template is loaded with the [icode]{% extend 'base.html' %}[/icode] tag In that base file I have a navigation bar with a link to your inbox I want to show after the link a number with how many unread messages …

Member Avatar for Kruptein
0
90
Member Avatar for Kruptein

I currently have my website running on a host: combell but over a half-year I have to upgrade; caus I think it costs very much (although for a student) I'm thinking of start an own server on my laptop; some problems: [LIST] [*]I guess it's not good to turn of …

Member Avatar for amadensor
0
129
Member Avatar for Expert-World.co

you should pass them trough a function which defines weither a new product should be added or updated

Member Avatar for diafol
0
121
Member Avatar for Kruptein

the code on my localhost and on the server are completely the same (django), but it is not shown correctly; I include two screenshots What could be the cause of the difference? (the left one is the online server; the right one is the localhost)

Member Avatar for hondros
0
325
Member Avatar for Kruptein

First: Yes I'm comparing apples to oranges but in this case it is kind of possible to compare them Context: I'm a php-developer for 3-4 years I think and I really like php, I also use python for 2 years. I recently came in contact with django (python framework) and …

Member Avatar for ShawnCplus
0
61
Member Avatar for Kruptein

I do php coding for some time and want to learn something new. After some researsh I ended up with 2 languages/frameworks but I can't choose between them. I'm a python programmer so python Django might be easier to start with. But I don't know a well-known website which is …

Member Avatar for Kruptein
0
527
Member Avatar for Kruptein

I've seen on a lot of sites that when you scroll down a text, the background image stays the same; If I scroll down the image stays on the place and the piece of text that can't fit on the image height is shown on a white background; how can …

Member Avatar for Kruptein
0
73
Member Avatar for InsightsDigital
Member Avatar for Kruptein

I can access my apache server on my localhost, but not on my external ip I don't know how I can make this possible in my Dlink router (DIR-825) Can someone help me ?

0
59
Member Avatar for InsightsDigital

It is very usefull! I do have an invitation, but I don't have anybody to share my joy with :( I don't have buddies =D

Member Avatar for MktgRob
0
161
Member Avatar for leegeorg07

you will probably using cron? and I think you might be able to get the date (of the file) from the server and then compare it with the local file.?

Member Avatar for almostbob
0
111
Member Avatar for Dokino
Member Avatar for sandyzden
Member Avatar for Kruptein
0
62
Member Avatar for Kruptein

I have the following code: but for some reason it just won't work if I touch the i the query self works, cause if I just do .Append(str(i)) without the split strip it returns all the tables.. [code=python] def mysql_table(self): self.list_box_3.Set([]) try: self.cursor.execute("SHOW TABLES;") self.query = self.cursor.fetchall() except: self.log("error") for …

Member Avatar for Kruptein
0
87
Member Avatar for Kruptein

I have 2 frames in my wxpython program, MyFrame and OptionFrame if I start my program it shows MyFrame, and if I end it, the frame disappears and the program stops. If I start my program and choose to show the option frame, it will show it, but if I …

Member Avatar for jlm699
0
103
Member Avatar for bhanu1225

CMS is very user friendly, but does it allow to write your own php code?

Member Avatar for almostbob
-1
83
Member Avatar for genieuk

As far as I can see, I don't know why genieuk can find it confusing, it is advanced regex and he wants to ask someone who knows MORE about regex? ehr.

Member Avatar for Kruptein
0
109
Member Avatar for Kruptein

(Their is not a thread about wakoopa yet so I thought I could make one) If you don't know Wakoopa is a social website like facebook, but for computer applications. You download a tracker which 'tracks' which apps you use for how long and sends them to the site, you …

0
34
Member Avatar for Stefano Mtangoo

First: What is the error you get Second: why are you using different indents? this is a) very ugly and b) will give errors

Member Avatar for Stefano Mtangoo
0
115
Member Avatar for Kruptein

How can I start a launcher from python? if I do: [icode]os.system("~/localhost")[/icode] it just returns a number (probably a process id or something) if this is not possible, how can I start from python a terminal window and execute a code in that terminal? (without closing the python script) Thanks …

Member Avatar for Kruptein
0
203
Member Avatar for Silvershaft

headers are the way to go [icode]header('location:?Page=2'); // fullway: header('Location:./index.php?Page=2');[/icode] then to get the 2 you have todo: [icode]$page = $_GET['Page']; //$page will be 2[/icode]

Member Avatar for almostbob
1
197
Member Avatar for InsightsDigital

Woohoow I received my test-account today =D I can use the google wave preview version now

Member Avatar for jay 11
0
115
Member Avatar for Kruptein

Hi I'm trying to find a way to find the first avogadro cipher whose digital sum exceeds 100, I've come to: [code=python]#!/usr/bin/python def dig_sum(n): lst = list(str(n)) ln = len(lst) sm = 0 while(i < ln): sm += int(lst[i]) return sm def avo(i,j,k,c): k = j j = i + …

Member Avatar for Kruptein
0
316
Member Avatar for Kruptein

I have this table(building_lvl): [icode]lvl | building_id | region_id[/icode] And I want to get the region_id for which building_id=3 has lvl 2 and building_id=2 has lvl 5 [code]SELECT * FROM building_lvl INNER JOIN regions ON regions.region_id = building_lvl.region_id WHERE ((building_lvl.building_id='3') && (building_lvl.lvl > 1)) && ((building_lvl.building_id='2') && (building_lvl.lvl > 4)) …

Member Avatar for Kruptein
0
78
Member Avatar for Silvershaft

Can you tell how you fixed it, to solve the same problem for other users.

Member Avatar for Kruptein
0
65
Member Avatar for raigs

try this: [code=bash]for WORD in $SEARCHQUERY do GREPINPUT = $GREPINPUT + " | grep --ignore-case --files-with-matches -e '$WORD'"; done[/code] btw do you get an error message? if yes, which one?

Member Avatar for Kruptein
0
109
Member Avatar for Bhuddha

a) You have a problem with your defined br b) You have to backslash your ' as you can see in your source code above there are large blue parts that are caused bye: Don't know You should write that as: Don't know

Member Avatar for Bhuddha
0
88
Member Avatar for pyprog
Member Avatar for pythopian
0
117
Member Avatar for mrjoli021

You have to do: [code=php]echo '<form method ="get" action = "tele.php"> Phone: <input type = "text" name ="number" value= ""> <input type="text" name="fname" value="' . $tesing . '"> <br>';[/code]

Member Avatar for mrjoli021
0
130
Member Avatar for Kruptein

If I run the following code the textCtrl's aren't updated, they stay empty, but if I do [icode]print self.extra201.GetValue()[/icode] I get the value that is set with the code beneath. [code]self.extra101.SetValue(names[1]) self.extra201.SetValue(names[2]) self.extra111.SetValue(str(money[1])) self.extra211.SetValue(str(money[2]))[/code] Why isn't it update !! :(

Member Avatar for Kruptein
-1
167
Member Avatar for Kruptein

1. Is it possible to draw a border line around a table and/or a cell 2. Is it possible to draw a color to the background of a label. 2bis If not, is there an other element that can have background colors 3 How can I set the default height …

Member Avatar for Kruptein
0
137
Member Avatar for newsguy

Opera is the best :p I thought, "lets see how opera is", I downloaded it and I fell in love with it, I only use ff for some plugins and that's it. There is a browser war, but I hope IE will lose it (and safari too) and Opera Chrome …

Member Avatar for ahsanpervaiz
1
358
Member Avatar for Kruptein

In my browser(opera), my background image takes up the full height off the screen, but on my friends(firefox) there appears a large black banner beneath it (black because that is the bgcolor) I give you the css hopefully you guys can help me. [code=css]body { color:#C00; background-color:#000; background-image:url('../background.jpg'); background-repeat:no-repeat; background-position:top; …

Member Avatar for MidiMagic
0
110
Member Avatar for Kruptein

with the function: list(string) you put every letter from the string in a list, I want to put each 2 letters in a list so If I had the string: ThisIsATestt I want to get a list: ['Th','is','Is','AT','es','tt'] (There will never be a letter alone, so you don't have to …

Member Avatar for jice
0
104
Member Avatar for Kruptein

I need to split a float in 2, but the split function doesnt work with floats... What is an alternative for this? If I have 2.4 I want to get 2 and 4 In math you've got a function fpart and ipart, but I don't know this is possible in …

Member Avatar for jlm699
0
262

The End.