Computer Science
Computer science is the study and the science of the theoretical foundations of information and computation and their implementation and application in computer systems.
Forum Post

Fatal Python error: GC object already tracked

media.show(pic) Yours, Frustrated.
Forum Post

Help with searching and dictionary text files

I have a dictionary text file and I was trying to find a quick and efficient way to determine whether a word was in the text file. I'm pretty new to programming so any advice or suggestions would be...
Forum Post

Python Tkinter and UTF-8

Hi. I have a problem. I am meking a program which amkes .txt documents. The problem is a have to insert words, which have charecters like this: č,š,ž. You can find them in UTF-8 cade, but Idel...
Forum Post

Jython: read array from a text file

Hi, I have a question about reading float data from a text file and hope somebody can give me some ideas, code is strongly appreciated! I wrote some float numbers in a text file as below: 0...
Forum Post

Re: how to convert .pyc files to .py files in python

Hello, 2 things: 1. Make sure the project that you have is OK with you changing their software, otherwise what you're doing is illegal. 2. I found a couple of places where this could be...
Forum Post

MVC Website in Python

Hi All, I'd like to build a website in Python, and I'd like to use the popular "Model View Controller" design pattern while doing it. I was wondering if anyone knew of any books on doing such a...
Forum Post

Py Script for html/comment/adsense mass replace in one directory

Hi, I have old big (~2000 pages ) html site with standard template. Idea is to make php cms to reduce hand coding in future. I want to strip all html tags, all comments in html and all...
Forum Post

Python Programming help please

Hi there, I got this txt file with following contents: My Glossary stuff The above text is saved in test.txt file. I need to write a python script that would load the above file as...
Forum Post

Calling Java Value objects from Jython

I need to pass Java POJO's as parameter to the java class I would be calling from Jython. I declared a java project and created a pojo, under the package com.pojo.util and the pojo name is User. I...
Forum Post

Atrribute error- Help please

') if input=="yes": print "te doy "+price else: print "lo siento no puedo comprarlo hoy" def get_price(self): return self.price price=property(get_price)...
Forum Post

Re: Invoking python script from Java

Nevermind...I figured it out. jythonc isn't very useful because it hard-codes the path to your python script into the java code. This isn't portable at all. However, I installed jython as a jar...
Forum Post

Re: Programming in Python

#!/usr/bin/env python import string my_file=open('test.txt') my_dict={} for eachline in my_file.readlines(): #eachline= eachline=string.replace(eachline,';','')...
Forum Post

zope, portal_types

Hi, i create new portal_types in zope. How my new portal_types assign a file (Document)
Forum Post

JAX-WS jython

jython webclient.py Traceback (most recent call last): File "webclient.py", line 12, in eif = service.getPort(TimeServer.class) AttributeError: instance attr: class any ideas?...
Forum Post

str.format problem

I have made a function that will output '{0}' when 0 is given and '{1}' for everything else. class offset(str): def __init__(self,x): self.x=x def __repr__(self):...
Forum Post

Re: Python Inheritence Help

actually came up with this: class CustomButton(Button): def changeColors(self,label,bg,outline): self.label.setFill(label) self.rect.setFill(bg) self.rect.setOutline(outline) and...
Forum Post

Python Inheritence Help

I have a simple button class to make buttons from graphics import * class Button: """A button is a labeled rectangle in a window. It is activated or deactivated with the activate()...
Forum Post

Re: Function Variable

question is just a string that gets displayed with every call to raw_input. response is a string that stores the result of the call to raw_input. They don't really have anything to do with each...
Forum Post

Re: Indexing Strings

Thanks for the help. I really appreciate it.
1 2 3 4 5 6 7 8 9 10 11  Next
 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.