| |
Rating
Thread /
Thread Starter
|
Last Post  |
Replies |
Views |
|
 |
by admin
The GIDForums™ Team is proud to announce that GIDForums™ is now among one of the very first Webmaster / Programming forums to offer a custom-written Python Syntax Highlighter BBCode ( bb code) to it's valued members and readers.
Please use the and tag pair to enclose any python code so that it...
|
|
1 |
3,324 |
|
 |
by crystalattice
I just posted a GID Community blog entitled: Simple Python Inventory Program.
Please let me know what you think.
This is an auto-generated message posted by GIDNetwork™ on behalf of the author.
|
|
12 |
1,780 |
|
|
by markwalker84
Hi!
Im really struggling here...
Im trying to communicate with a piece of hardware that accepts a specific package format for control.
I need to be able to send an 8 bit data word via a serial connection from my Python program.
I have been using USPP & PySerial so far but have found a problem....
|
|
5 |
828 |
|
|
by Soccerplayer131
So this new wireless USB hub from Belkin is coming out very soon its date is mid December, so soon, but I was wondering if anyone knew how I could write a program in python or could you possibly do it for me which would tell the computer to extract the images from the camera automatically to the...
|
|
3 |
2,149 |
|
|
by vbnet2005
hi there. i have an small exercise to write a basic spam filter but im stuck on some stuff
#!/usr/bin/python
import getpass, imaplib, string
from StringIO import StringIO
#
# getBody - strips of the header from an email message
# Only the body of the message is returned.
|
|
7 |
750 |
|
|
by briand
I need to make a python program that converts a number(between 1 and 9999.99) to its english equivalent(ex. 1345 - one thousand three hundred fourty five). Any suggestions would help. Include code please:lol:
|
|
1 |
615 |
|
|
by briand
Heres some C code i need converted to Python:
#include <stdio.h>
#include <stdlib.h>
/* special names for values */
struct nx {
char name;
int value;
};
|
|
0 |
649 |
|
|
by greendrake
Part II: Programming
For this assignment, your job is to create a program that plays the children's card game "Go Fish". Name your program fish.py.
The Rules
|
|
0 |
1,190 |
|
|
by greendrake
operating system: Windows XP.
So, im trying to make a tic tac toe game to look like this:
Game play should (eventually) look like this:
TIC TAC TOE:
0|1|2 | |
----- -----
|
|
3 |
809 |
|
 |
by danielfolsom
Question: Can there be a space in a class name:
I.e. rather than this:
ab = class()
THIS:
a b = class()
|
|
2 |
527 |
|
 |
by crystalattice
For those who don't know, Python does not have a switch() function, unlike many other languages. Instead you have to use if/elif statements, like so:
if x == 1:
print "one"
elif x ==2:
print "two"
else:
print "three"
|
|
4 |
943 |
|
|
by jstarr
I've been following the tutorial by Alan Gauld, so far everything has worked. Then when I got to a certain script, everything stopped. Here is the script and the result:
class Address:
def _init_(self, Hs, St, Town, Zip):
self.HsNumber = Hs
self.Street = St
...
|
|
9 |
3,399 |
|
 |
by crystalattice
I just posted a GID Community blog entitled: More OOP in Python.
Please let me know what you think.
This is an auto-generated message posted by GIDNetwork™ on behalf of the author.
|
|
2 |
933 |
|
|
by danielfolsom
Ok, I'm trying to do a code just to get used to OOP, i'm kinda a newbie, but ... here's the code:
class Ipod:
def _init_ (self, type, color, space):
self.color = color
self.space = space
self.type = type
def show(self):
|
|
5 |
549 |
|
|
by elishavfx
Hello,
Sorry for this really elementary question... I need to do a system call from Python and have it return me the result from the call. os.system() only returns to me success/failure -- which isn't what I want. Are there any other ways or function/modules that would allow me to retrieve the...
|
|
6 |
789 |
|
|
by derkin
I had to test a macro integration for work and they wanted it automated. I hope some one here will be able to use it. Or learn from it in some way.
#word
#Simple word binding to allow test intagration to work.
# Author: Erin
#
# Changelog
# Author Date Description
|
|
2 |
909 |
|
|
by ash.shuklaa
Hi,
I am making a GUI with the help of python. The problem is that when I destroy a certain frame the data structure assciated with it, does'nt change. Can anybody offer any help on this?:cry:
I have attached the program and it would be great if anybody can offer some useful suggestions.
|
|
10 |
1,171 |
|
 |
by crystalattice
I just posted a GID Community blog entitled: GUI design in Python.
Please let me know what you think.
This is an auto-generated message posted by GIDNetwork™ on behalf of the author.
|
|
2 |
1,074 |
|
|
by fatsheep
I'm an Ubuntu linux user (very new to python by the way) and I'm just trying to get some scripts to execute. Here's my script:
#! /usr/bin/python
import os
if os.environ:
print 'Hello, '+os.environ
I have it saved as "test.py"
|
|
2 |
514 |
|
|
by Jamesthe4th
Hi, I am writing a script for my friend. He is running Mac os 10.4. The script works. My question is, can he just click it and have it run? Or does he have to go through some special steps?
|
|
3 |
533 |
|
|
by Cyripticghost
Hello everyone! I'm new to programming and was wondering what is an easy language to learn and maybe even make a few small games in:D I really need an easy to understand language that could get me somewhere and is good for making games. Thanks eveyone!!!
---Gh0sT
|
|
1 |
614 |