15,408 Topics

Member Avatar for
Member Avatar for Begjinner

Hey, I was looking at some old Python topics and they contain nice info, but they also use the PHP tag for showing code - which doesn't work. Maybe these old topics can automatically be changed with the proper tag for python code? Thanks, Lars

Member Avatar for Begjinner
0
107
Member Avatar for abhinemo
Member Avatar for Impact4ever

Hey, guys! having a little problem in python, how can I square root number or a varible in python? And I'm trying incoparate the os function of unix, like using the clear command. How could I do that in python Thanks for your help

Member Avatar for Impact4ever
0
105
Member Avatar for mg0959

Hi, I am trying to write program that will recognize when a device such as a magnetic swipper is used. I was thinking that I could somehow bind the device to something in my program but I am not sure what I would use to bind it. I thought that …

Member Avatar for mg0959
0
79
Member Avatar for AsymptoticCoder

I am hoping somebody can help with a very frustrating problem I am facing. I am working with a MDIChildFrame that has one panel called mainPanel. I set the background style of both the panel and the child frame to wx.BG_STYLE_SYSTEM. Yet, when I run the program the background is …

Member Avatar for vegaseat
0
155
Member Avatar for myheartbits

please write a simple script to check for the existence of all the frames in the directory. So, you give it to frame range and it makes sure that all the subdirectories have the right number of frames. Doesn't check whether the frames are black or not but certainly whether …

Member Avatar for vegaseat
0
70
Member Avatar for terryt

Hi All as a 70+ retired engineer I thought my computer bashing days were over, but a very enthusiastic 12 year old Grand-daughter has other ideas!! She is tasked with learning programming (specifically Python) as a subject and I have by default inherited the job of Mentor. Now this would …

Member Avatar for jaepi
0
72
Member Avatar for sarabhjeet

Hello all, actually i need to open a CHM file when i click on Help's submenu "Documentation",how to do this,how to open a file.Please help me.

Member Avatar for sarabhjeet
0
114
Member Avatar for kimvolker

I'm running Python with: DrPython 165 wxPython Version: 2.8.7.1 wxPython Platform: wxMSW, unicode, wx-assertions-on, SWIG-1.3.29 Python Version: 2.5.1.final Python Platform: win32 When I open a *.py file, I get the following error messages (see attached PDF file) in the drpython.pyc window. How can I get rid of these erros?

Member Avatar for vegaseat
0
343
Member Avatar for penguin47

Hello all, I am very new to programming and my teacher has started us on Python. While I think Python would be a great choice for most people, I have come to the conclusion that I am not cut out for programming. I am finding it very difficult, though fun. …

Member Avatar for vegaseat
0
123
Member Avatar for sasdap
Member Avatar for vegaseat
0
57
Member Avatar for sasdap

Hi frenz, Many of the programs are written in C/C++ language. I want to call a function in C/C++ from python program. Can anybody tell me how to do it?

Member Avatar for vegaseat
0
221
Member Avatar for Begjinner

Hello, I created on a different website a Python topic with general information and some more CGI specific. Check it out: [url]http://www.stonerocket.net/forum/viewtopic.php?t=5869[/url] [b]This is what the topic contains:[/b] [list] [*]What is and Why Python? [*]The logo [*]Who uses Python and for what to use Python? [*]Future of Python? [*]Where to …

Member Avatar for vegaseat
0
103
Member Avatar for sasdap
Member Avatar for sasdap

hi, what is the process going on when a command is given in command prompt? How the executables are called when a command is given? Can anybody tell in detail?

Member Avatar for sasdap
0
207
Member Avatar for ssakhamuri
Member Avatar for sarabhjeet

Can u please tell me how to detect ascii and non-ascii strings in python? Editor's note: In the future, please give your thread a meaningful title.

Member Avatar for woooee
0
113
Member Avatar for sasdap

How to integrate python and c++? Can you help by telling the steps to follow?

Member Avatar for sneekula
0
47
Member Avatar for sasdap

How to incorporate text to speech conversion in python? Is it possible? If so How to do it?

Member Avatar for sasdap
0
53
Member Avatar for agarzo

Hi, I'm new in this forum and a beginner in python, but I need your help. I'm doing a program using opencv libraries. In this library there are some functions to create a window, to display a cam iamges. I want to control if the user is closing the window …

0
58
Member Avatar for sigkill9

I'm new to Python and am trying to figure out how to streamline the code at bottom to get it more simple but am having trouble. I was hoping that someone here could help me out? The program I am trying to create simply asks the terminal operator for five …

Member Avatar for vegaseat
0
222
Member Avatar for Racoon200

Problem: I keep getting this error when I press the button to trigger Publish from 2nd time and on. Error: [CODE] AttributeError: 'NoneType' has no attribute 'sendall' [/CODE] The error is caused basically by every server.(any ftp host action) I say this because the function the button called said: [CODE] …

Member Avatar for Racoon200
0
188
Member Avatar for sarabhjeet

Actually i need to save the file's name in file menu history whenever we close the application from filemenu's exit button.Whenever i close the application from windows close button the entry is coming to file menu but when i close from file menu exit it should make an entry to …

Member Avatar for sarabhjeet
0
82
Member Avatar for Noliving

Hello everyone, well its my first time ever really using java but I did do some programming in python. Basically my first assignment is this and seems pretty easy: [url]https://mavdisk.mnsu.edu/lct/IT214/Assignment%201.pdf[/url] I have never done anything with class paths but it seems simple enough. First things first, is this the correct …

Member Avatar for Noliving
0
105
Member Avatar for Racoon200

Hi. I would like to know how to get the position of the cursor (blinking line in any text control) to insert there a string. I would also like to know how to get the value of a text widget and store it in a variable.

Member Avatar for Racoon200
0
6K
Member Avatar for rmansuri

Hello Pythoner, I have found good website which is list of almost all python website including beginner to advance level tutorial.. Jst thought to share with community. [COLOR="Green"][URL="http://python.objectis.net"]http://python.objectis.net[/URL][/COLOR]

Member Avatar for vegaseat
0
112
Member Avatar for sneekula

I have a dictionary of chemical symbols and names, to look up the symbol and get the name is easy, but to find the symbol of a given chemical name seems to be more akward. Am I missing something here? [code=python]# small dictionary of chemical symbols symbol_dic = { 'C': …

Member Avatar for jrcagle
1
245
Member Avatar for Racoon200

I get this error when uploading a file with the ftplib via storbinary method after retrieving a file via retr method. Why does it happen and how can I fix it?

Member Avatar for Racoon200
0
2K
Member Avatar for slipkid

Hiya, First off, A Python conumdrum, I have done the searching to no avail. I am having trouble with the command line. Everything loads up and is recognized yet when I attempt to run a file all I get are errors. The trusty ole Hello World runs but nearly everything …

Member Avatar for slipkid
0
97
Member Avatar for gusbear

how after drawing a square with two points at opposite corner would i find the width of it?? thanks

Member Avatar for Narue
0
112
Member Avatar for Mr.popo

Im having a problem. I am sick of using a problem such as dr python or geany which when you execute the program a script is made along with the python script which alows it to execute. Well anyway i want to be able to use gedit and then execute …

Member Avatar for Racoon200
0
149
Member Avatar for furkankamaci

Hi; I have two buttons and one function.When a user click button1 or button2 program should call the function and the function will write to the screen whic button clicked.I mean if i click button1 there will write "Button1 clicked" on the screen.All in al i want to learn how …

Member Avatar for Racoon200
0
124
Member Avatar for mhslax13

Im in a computer security class and am working on a project involving linux viruses. If anyone knows anywhere I can obtain some code to work with it would be greatly appreciated as I'm really struggling finding any.

Member Avatar for woooee
0
71
Member Avatar for ryan_vietnow

Hello everyone,i'm starting to learn pytho now.Could anyone give me some advice of what is the best IDE for python there is based on your experiences guys. thanks.More power to the open source community.

Member Avatar for sneekula
0
152
Member Avatar for hellsing

I using window Vista home premium(32 bit) and I cannot use python after I save a file once I get the following error messages "socket connection error" "IDLE's subprocess didn't make connection. Either IDLE can't start a subprocess or personal fire wall software is blocking the connection" I have to …

Member Avatar for Duoas
0
94
Member Avatar for jliu66

Hi, Dear my friends, I have a trick questions to ask you about python scripts for help. How can I set up a complied python code with a password so that nobody can touch or modify it and even copy it from one PC to another PC? In other words, …

Member Avatar for BearofNH
0
187
Member Avatar for fonzali

hi everybody , I have a program (below) but don't know how to direct the out put to the printer , can anyone help thanks [code=python] from calendar import * setfirstweekday(5) #saturday prcal(2008) raw_input('hit a key') [/code] another question is that I tried writing " saturday " instead of "5" …

Member Avatar for fonzali
0
309
Member Avatar for mhslax13

Ok im pretty new to coding in general and have two questions. 1. I downloaded a python script that packages my programs into an executable however im running Windows Vista(i believe this to be the problem) and when i try to run the executable i get a win32 error. 2. …

Member Avatar for mhslax13
0
88
Member Avatar for gusbear

when i start my program i write import graphics * def main(): but then when i try to create a button it doesn't work anyone know the problem??thanks

Member Avatar for Ene Uran
0
2K
Member Avatar for LuisPorras

Happy new year to all. I am new to this site and like what I see. I am new to python and looking forward to learning from others.

Member Avatar for btajik
0
50
Member Avatar for gusbear

can someone please post the correct method of the five click house or the newton's method from zelles book, reward promised,it is xmas?? thanks a mill need this for xmas tests!

Member Avatar for Duoas
0
281
Member Avatar for tuse

I am an absolute beginner to python. I would like to know how to download and install the modules. I am working on Windows. I am specifically looking to use the 'gasp' module. Any help would be highly appreciated.

Member Avatar for tuse
0
108
Member Avatar for jliu66

Hi, Dear my friends, I has been using python for a while. But I just realized that when you make a copy of python class, it is copying a link to the class. So when you make the change to the attritutes of objects, it will change other attributes in …

Member Avatar for jliu66
0
206
Member Avatar for a1eio

Hello, I was wondering whether it was possible to embed something made with pygame, like some sort of animated display or bouncing ball whatever, into a Tkinter made window, with tkinter buttons/frames etc... Anybody heard of this or know of if it can be done? Thanks a1eio

Member Avatar for a1eio
0
809
Member Avatar for johnnybgoode

I am trying to activate the Help > About button with no succes. I made a GUI with Glade3 with only a menu item in the main window. Here's my code: [code] #!/usr/bin/env python import sys try: import pygtk pygtk.require("2.0") except: pass try: import gtk import gtk.glade except: sys.exit(1) class …

Member Avatar for johnnybgoode
0
157
Member Avatar for nightwalker

Hello everybody, my name is Ludvig, I am a swedish student who educates myself to become an engineer. For my programming course I have made a minesweepergame, but to get the highest grade availible, I have to make it in graphics. I have succeded in doing a version without the …

Member Avatar for vegaseat
0
110
Member Avatar for voodoo_doctor

Hey there! Right now I'm working on a system that is built according to MVC-model. All three levels have try/catch statements for things where errors might occur. The problem is that I want all those messages to show up in GUI (View). Right now I'm having some troubles doing it …

Member Avatar for voodoo_doctor
0
69
Member Avatar for Mr.popo

Ive got my own python modules which I need to place somewhere so python can read them. Ive got two questions. 1. Wheres the best place to put modules? 2. It wont let me add modules to /usr/lib/python2.5? Thanks Mr.popo

Member Avatar for Mr.popo
0
1K
Member Avatar for laspal

Hi I wanted to know how can I make sure that table exist in my database. [code] class Record: def __init__(self): self.conn = MySQLdb.connect( host = 'localhost', user = 'root', passwd = 'abcd', db = 'justfun') self.cursor = self.conn.cursor() self.cursor.execute("DROP TABLE IF EXISTS book") self.cursor.execute( """CREATE TABLE book (name char(40), …

Member Avatar for katharnakh
0
3K
Member Avatar for Mr.popo

Hello this is my first post. This website looks great for me seeing as I am a Python beginner. I hope I learn more from this forum :) Thanks Mr.popo

Member Avatar for nav33n
0
39

The End.