15,408 Topics
![]() | |
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 | |
Using python API ,I want to pass 3 arguments in startprocess.Can anybody help me out. | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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? | |
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. … | |
Is it possible to execute shell script commands from python module? how to do it? | |
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? | |
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 … | |
Is text to speech possible using python in linux? | |
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? | |
can any one help me to create safearray in python | |
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. | |
How to integrate python and c++? Can you help by telling the steps to follow? | |
How to incorporate text to speech conversion in python? Is it possible? If so How to do it? | |
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 … | |
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 … | |
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] … | |
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 … | |
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 … | |
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. | |
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] | |
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': … | |
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? | |
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 … | |
how after drawing a square with two points at opposite corner would i find the width of it?? thanks | |
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 … | |
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 … | |
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. | |
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. | |
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 … | |
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, … | |
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" … | |
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. … | |
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 | |
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. | |
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! | |
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. | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 | |
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), … | |
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 |
The End.