Python
Python is a general-purpose, very high-level programming language. Its design philosophy emphasizes programmer productivity and code readability.
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

How can I dial GPRS/EDGE in Win CE

Hello all. I am developing application in python on Windows CE which needs connection to the internet (via GPRS/EDGE). When I turn on the device, the internet connection is not active. It becomes...
Forum Post

Re: Somehow this won't work.

The highest index of a list is len(list) - 1 (b/c it's zero-indexed). Say my list looks like this: a = Then, len(a) == 3 However, a == 3 a == error In your code, after a while, it tries to...
Forum Post

How to split the words of a text

I'm trying to write a program to encrypt and decrypt the messages. I get help from ACII to do it. My code works. But sometimes I get error. That's why my code get error : list = In this...
Forum Post

Somehow this won't work.

I wanted to do this little program that shows a list of names and give them random numbers. The user have to memorize each name-number set and must give the correct number to the name chosen randomly...
Forum Post
Forum Post

Re: I seem to be missing a crucial piece here.

You can declare a variable with None value (It's the same as NULL in c), it means 'Nothing': name = None for tuples, dirs, arrays you can do this: t = () d = {} a = [] If you want to change a...
Forum Post

I seem to be missing a crucial piece here.

Hi everyone, this is my first post here. I've started python a few days ago and having programmed in VB for a couple years I'm fooled by this new language. There are a couple of concepts that I may...
Forum Post

Jython, Python, and Java

Hello all, I am second guessing my choice of language(s) to learn at an early stage and was looking for input and advice. My original plan was to learn java first, then learn jython (which as I...
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

Re: 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

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: Help with returning variables

Thanks a lot got it working
Forum Post

Re: Help with returning variables

: def main(): : t_s = input('what were the t_s?') : s_t(t_s) : c_t(t_s) : t_t(s_t,c_t) : print 'your t_t ', t_t : : : def s_t(value): : return float(value)*2 :...
Forum Post

Help with returning variables

Hello i am a n00b with python i need help. i cannot get the code below to work def main(): t_s = input('what were the t_s?') s_t(t_s) c_t(t_s) t_t(s_t,c_t) print 'your...
Forum Post

Re: 2-dimensional lists

0 I suppose you could build it manually, or with a loop, if you like. e = [] for x in range(10): e.append([])
Forum Post

AS3 and python communication in a standalone aplication

Hi, i am currently developing a standalone aplication in python, i am very new in this language so i don't know much of it... I need your help, i need to know a way to communicate python and AS3 so i...
Forum Post

2-dimensional lists

I'm somewhat of a newb to Python and I don't know how to make 2D lists. Could anyone help me?
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

Invoking python script from Java

foo.py $ cat foo.py import os print "SUCCESS" print "ASDF" $ java Foo SUCCESS ASDF The only problem with this method is that it requires the user to have a python interpreter...
Previous  1 2 3 4 5 6 7 8 9 19 29 39  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.