Posts
 
Reputation
Joined
Last Seen
Ranked #707
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
5
Posts with Upvotes
3
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
5 Commented Posts
~35.7K People Reached
About Me

Finishing my CS master thesis in system development. Working as a java consultant at Know IT Objectnet in Oslo, Norway.

I program java, python, php and do some web development.

Interests
Music, computers
PC Specs
Dell xps M1730, T9300 @ 2.5GHz, Windows Vista (urk), 2x Nvidia 8800M GTX in SLi.
Favorite Tags
java x 13
php x 10
c x 6
Member Avatar for shinoske

you can compile java codes in dos environment right? is it possible that errors in the codes found by the compiler be forwarded in a .txt fie?

Member Avatar for Swap_1
0
133
Member Avatar for Stefano Mtangoo

I started this for any information on new python modules apart from standard library. Many people (Including me), aren't willing to move into p3k due to lack of external/non-standard modules. So I started this to keep ourselves informed on New Python 3 Modules. No Limitation, ANY PYTHON 3 MODULE

Member Avatar for vegaseat
0
978
Member Avatar for txwooley

In the book "How to Think Like A Computer Scientist" on the website openbookproject.net the tutorial leads you to draw a house with a pre-written script. It then instructs you to: # Wrap the house code in a function named draw_house(). # Run the script now. Do you see a …

Member Avatar for shasta90
0
584
Member Avatar for ramjeev

How to kill the running .jar file from another jar in java? There are two jars running A.jar & B.jar Both jars are running. I want to kill B.jar from A.jar. Pls let me know, if any one knows. Thanks in advance.

Member Avatar for valatharv
0
4K
Member Avatar for kartal

Hi I have started using Eclipse as my ide. I would like to integrate python help into eclipse for convenience. Is it possible to replace internal Eclipse help with Python help? thanks

Member Avatar for patrickwang
0
255
Member Avatar for einhachi

Here is a basic program I compiled and tried to run. import javax.swing.*; [code]import java.awt.*; public class GUITest extends Frame{ public GUITest(){ super("A basic GUI"); JPanel panel = new JPanel(); panel.setLayout(new GridLayout(2,2)); setVisible(true); } public static void main(String [] args){ new GUITest(); } } [/code] When I run it, the …

Member Avatar for painless
0
180
Member Avatar for action_owl

Can I use python to read the contents of a text file on a server and dynamically update text on a web page(based on the text in that file)? This is something that I need to accomplish but I'm not sure if python is capable or if I should be …

Member Avatar for vidaj
0
141
Member Avatar for coolmind259

HI, I need help in .htaccess to hide php extension. if someone request [url]www.mysite.com/profilename[/url] , then profile should be open of the particular person. Please help me in this, how can i accomplished this using .htaccess?. Your help in this will be highly appreciated. Thankyou, syed.

Member Avatar for vidaj
0
451
Member Avatar for EvanPM

Ok, Is there an easy way to do this: I want to take a string and convert it to a binary string with base of my choice and convert it back. So base 2 would be 1's and 0's, etc. example: [CODE=syntax] in_string = "testing" binary_string = string2binary(in_string, base = …

Member Avatar for vidaj
0
148
Member Avatar for ero100@live.com

HI, DOES ANY ONE KNOW WHAT IS THE RIGHT STEPS TO MAKE THIS FORM MAIL TO WORK? [B]HE IS THE CODE:[/B] 1. <html> 2. <head> 3. <title> send mailf from the form </title> 4. </head> 5. <body> 6. <?php 7. echo "<p> your name is: <b>$_POST[name]</b>,</p>"; 8. echo "<p> your …

Member Avatar for cwarn23
0
146
Member Avatar for Undermine

hi, im trying to learn python and this is giving me [ICODE]>>> x=input("Enter a value: ") if x % 2 ==0: print ("even") else: print ("odd")[/ICODE] then when i execute: Enter a number: then i enter a number but it does not print even or odd. why?

Member Avatar for Undermine
0
78
Member Avatar for Vihaio2012

Hello, I want to total up a variable that changes every time a function is run. [code]import random def flip(): h,t = 0,1 cheads, ctails, = 0,0 cflips = random.choice((0,1)) if cflips == 0: cheads += 1 return 'h' else: ctails += 1 return 't' def repeat(f,n): for i in …

Member Avatar for vegaseat
0
109
Member Avatar for mbabaali

am doing a classroom project but am stuck with the registering users script it does send the data to the mysql database ppliz help me out thanks here are both the html and php codes . [code=html] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" …

Member Avatar for somedude3488
0
196
Member Avatar for besktrap

hi everyone! I have two files, main.py and sprite_class.py. sprite_class.py is in a separate folder called lib. here's a quick diagram: ------------------------------------ /folder engine/ main.py /folder lib/ sprite_class.py ------------------------------------ ...sprite_class.py contains a class called Sprite: [CODE] # sprite class class Sprite(): def __init__( self, start_x, start_y, image_path ): self.x = …

Member Avatar for besktrap
0
10K
Member Avatar for Dart82

Hello, Im currently writing code for a program that translates a line of text from English into German then back again. Its a big loop that needs to be executed the same number of times as words in the text. I'm almost there but there doesn't seem to be anything …

Member Avatar for Dart82
0
93
Member Avatar for gbrokaw

Hey everyone, I'm writing a program with a Tkinter GUI for my job and I was wondering whether there is a way to create an icon on my desktop to start it so I don't have to start Idle and run the program from that (computer un-savvy people will need …

Member Avatar for gbrokaw
0
134
Member Avatar for ihatehippies

I have a shared drive that I'm trying to access from another computer on the network with a script. I keep getting IO errors(does not exist), is there a module that deals with network locations? -thanks

Member Avatar for vidaj
0
90
Member Avatar for yemu

Hi All, I've been learning python for some time, and I really like it. I used this forum many times, and found answers for many of my questions. Unfortunatelly I can't find answer for my current problem: I have two lists (both the same size) and I need to sort …

Member Avatar for vidaj
0
2K
Member Avatar for vidaj

Hi, In my current project I'm trying to compose some objects at runtime based on a string containing the object-configuration. Based on the "Favour composition, not inheritance" pattern, but done runtime. My usecase: I have a downloader that downloads web-pages. The downloader is configured with a set of request-handlers and …

Member Avatar for vidaj
0
102
Member Avatar for jmil2

I am working on a problem that requires that i create a 3x3 matrix in python using the list function. these are the functions that im required to use to create my matrix: def mlist(size): list = [] for i in range(size): list = list + [None] return list def …

Member Avatar for adam1122
0
8K
Member Avatar for katamole

Hi there, I've been searching the documentation but I can't find any answers (perhaps I'm asking the wrong questions). Say we have a list of animals: Sheep, Cow, Pig, Horse. All of these animals have attributes (4 legs, etc.) We have the name of the animal and the attributes stored …

Member Avatar for katamole
0
395
Member Avatar for tivrfoa

hi!! to show the source code I thought it is supposed to do this (at least it worked using ipython with version 2 of python): >>> method?? I'm using version 3. How can I show the source of a method. eg: >>>def sayHi(): print('Hi') >>>sayHi?? then show the source code. …

Member Avatar for vidaj
0
180
Member Avatar for stevnlon

HI, aLL [code]final int[] fromStop = {1, 2, 3, 3, 4, 5}; final int[] toStop = {3, 4, 5, 1, 2, 3};[/code] im trying to write a loop to create and start passenger threads with the respective from and to stops in the arrays above. e.g. Passenger 1 goes from …

Member Avatar for stevnlon
0
2K
Member Avatar for jameswoodhouse

Hi there what i'm trying to do is: return a car manufacturer from a MySQL database and have the text returned a hyperlink to the car manufacturer website. The below just returns the manufacturer without a hyperlink: [B]$row['manufacturer'][/B] Would i make a row in the database called 'carmakeurl', store the …

Member Avatar for vidaj
0
194
Member Avatar for kssi89

Hello everyone! I've been able to successfully implement this bit of php that alters the color of tables for each row, but I am having a difficult time implementing it on our current web app. I am thinking I have misplaced something because the output shows one grey row where …

Member Avatar for komang80
0
151
Member Avatar for smb3d

Hi, I've written a python cgi app that lists image files in a directory then when the user clicks on a link it converts the image to a .jpg and displays it in a simple html page. I'm using tempfile.NamedTemporaryFile to create a temp file that the converter can write …

Member Avatar for smb3d
0
148
Member Avatar for max.yevs

yet another quick question... I wrote this at the end of a script [code]y = 1 n = 0 i = input("Again? Y/N: ") if i is 0: print ("Good bye!") exit if i is 1: execfile ("program2.py")[/code] now of course if i is 0, they won't be able to …

Member Avatar for adam1122
0
105
Member Avatar for leegeorg07
Re: 2to3

i have python 2.5 and 3 and i want to use 2to3 to convert all of my programs to python3 but i dont know how to use it, if it helps in the Lib folder of python3 it is called lib2to3. any help or examples welcome.

Member Avatar for leegeorg07
0
191
Member Avatar for docesam

i want to start programming a new program (electronic health care center) in python and before start learning python i wanna make sure that python does have all the features i need to accomblish this project so i wanna ask you does python able to support these features : 1- …

Member Avatar for Mearah
0
164
Member Avatar for shaun.b

Hi Everyone, I have got a program which takes a html file as an argument, parses it, and outputs the data to a CSV file. It does this no problem. BUT, i need it to take more than one html file, parse them and put all the data collected into …

Member Avatar for adam1122
0
183