14,948 Topics

Member Avatar for
Member Avatar for Furtano

Hello, I want to use an new library i downloaded e.g. chilkat library ([url]http://www.chilkatsoft.com/python.asp)[/url], how do i do that ? I tried to put on the beginning of my code: [code=python] __path__ = ["dir_with_chilkat_pyd"] require chilkat [/code] but does'nt work. What i want to run: [url]http://www.example-code.com/python/http_loginForm.asp[/url]

Member Avatar for leegao
0
1K
Member Avatar for SuperMetroid

Why don't either of these implementations actually write to the file? Code v1: [CODE] txtfile = open('C:/Python31/SKUs.txt', 'w') with txtfile: num = 817 while num <= 820: x = "G" + str(num) print(str(x), end=" ") num += 1 txtfile.close()[/CODE] Code v2: [CODE]txtfile = open('C:/Python31/SKUs.txt', 'w') num = 817 while num …

Member Avatar for SuperMetroid
0
152
Member Avatar for fallopiano

Hi all. I'm having a bit of trouble (maybe it's easier than I think..) finding the lowest and highest number in a tuple of lists. Here is my main tuple: [CODE=python]list_of = ([0,7],[100,25],[150,59],[300,189]) [/CODE] so pretty much, I need python to return the lowest and highest number for each 'item' …

Member Avatar for snippsat
0
268
Member Avatar for Aiban

Hi there. Iim wanting a button pressed to do TWO commands .. one after another. EG. instead of my current code musicbu = Button(root, text = 'Backup Music', width = 17, command = musicback1) and musicback1 is a def (): with a complete and working script, i wondered if i …

Member Avatar for shadwickman
0
251
Member Avatar for bsod1

Hi guys, firs of all, im sorry for my bad english.. How can i learn OOP, its really hard and detailed. Firs of all, i dont know why i must use OOP. Thanks..

Member Avatar for bsod1
0
113
Member Avatar for SuperMetroid

Sigh. This error keeps appearing, and never ceasing -- ever: [CODE] *** Unrecoverable, server exiting! ---------------------------------------- ---------------------------------------- ================================ RESTART ================================ >>> Unhandled server exception! Thread: SockThread Client Address: ('127.0.0.1', 4323) Request: <socket.socket object, fd=1856, family=2, type=1, proto=0> Traceback (most recent call last): File "C:\Python31\lib\socketserver.py", line 281, in _handle_request_noblock self.process_request(request, client_address) …

Member Avatar for SuperMetroid
0
374
Member Avatar for scuzzy21

I can't figure out how to make the stars go from 5 back down to 1, printing only 1 star at a time, I did half of it but now I'm confused. Here's the first part I've done:[CODE]#nested for loop # index = "*" count = "*" for index in …

Member Avatar for pythongt
0
80
Member Avatar for Spartan697

i just got into this python thing and i asked my friend how to do this and he doesnt know he told me to write this here so you guys can understand how to make an if statement (if x == 10 to 24) with proper syntax

Member Avatar for shadwickman
0
71
Member Avatar for rajasekhar1242

Hi I am developing a small application in that i have only labels. My Output like this.. S.No Customer Name Customer Code City 1. Raja 1242 Vsp 2. Sekhar 1243 Hyd 3. Ram 1244 Bang Hear i want to develop my application with one control ie, for example i have …

Member Avatar for rajasekhar1242
0
84
Member Avatar for catcit

Hi everybody! For the last five days I`m working on a project and I see only python syntax in from of my eyes. I have a small problem and I got stuck. I have a string like this : file = "E:\xxx\yyy.txt" and I want to format it in order …

Member Avatar for vegaseat
0
110
Member Avatar for b_bayaraa_d

hi everybody! what plugin download in ecplise for phyton. sorry for my english skill

Member Avatar for vegaseat
0
82
Member Avatar for fleem
Member Avatar for Zebibyte

I just started learning Python a couple days ago, and my main goal for now is a text-based game, in which the user inputs commands to interact with the virtual world. My problem thus far, however, has been splitting a string up so that I can detect what action the …

Member Avatar for Zebibyte
0
106
Member Avatar for znice

Hey all. First post to this forum, though I have casually browsed threads here often in the past. I'm pretty new to Python but have several years of experience programming in C, C++ and Java. I've got a Java app currently deployed to Google App Engine and wanted to be …

Member Avatar for znice
0
116
Member Avatar for Zetlin

Hello everyone, ok so I am working on this code that takes a string and splits it using the re module. The string contains words in between "<" and ">" (sometimes multiple words). Now what the program does is it splits the string using the two characters above. Then it …

Member Avatar for Zetlin
0
123
Member Avatar for willygstyle

Hello all I have been a hobbiest programmer for quite some time now and recently got back into it. I'm starting with a pretty simple program that will track inventory for my moms buisness. I've worked through most the common problems but can't seem to figure out why im getting …

Member Avatar for willygstyle
0
127
Member Avatar for smoore

Okay just started teaching myself python recently and am on to pickling stuff. I just wrote a simple program exactly like the tutorial said (a few different ones actually) and I am getting an error. Here is my code: [CODE] import pickle file = open('./text/pickle.txt','w') list = ['one',2,'three',4,'five'] pickle.dump(list, file) …

Member Avatar for smoore
0
239
Member Avatar for penguin22

hi guys i can build and clean the vs solution in python and get the exe's to build but don't know how to create a window installer

Member Avatar for jlm699
0
141
Member Avatar for funfullson

Sorry I am asking a beginners problem between professional discussion.But I realy confused witch one is better.qt, gtk, wx, opengl or one else.please guide me with a clear comparison. Thanks dears. Editor ... moved from Re: Python GUI Programming (rule is: ask question in regular forum)

Member Avatar for funfullson
0
140
Member Avatar for leanne86

I'm wondering if anyone can help me. I don't know anything about python, but I have done some coding (javascript, PHP and a little bit of C) and I've just started my job and found out there is python installed on our server. A couple of months ago we had …

Member Avatar for jlm699
0
186
Member Avatar for denniskhor

As title mentioned, i wan check the process of a application. What i wan is like tat: When i start a process A, then the process A completed, process B will start after that. Once the process B started, then the script will start execute next step. Thanks for help. …

Member Avatar for jlm699
0
117
Member Avatar for b_bayaraa_d

hi i'm bayarja. i begin learning phyton. so what editor am i need? sorry for experts my english skill not good i hope you that you understanding my questions.

Member Avatar for snippsat
0
51
Member Avatar for huzech

I'm writing a sweepMine program, but i do not know how to active the "click left and right mouse at the same time" event. how can i got it Thanks very much

0
41
Member Avatar for Aiban

Hello I'm wondering if there is a simple piece of code, simple enough to add to an existing piece of prograaming that can tell me how much space is free on my drive. The program will run from a changing USB drive letter (changing since each computer will assign a …

0
54
Member Avatar for no_spam_for_dan

I happened to see (and isolate) the following problem and have 2 questions: 1) tkMessageBox is used extensively in my code. How do I make my code work without a significant re-write? 2) how do I tell the wonderful tkinter developers that there is a problem? The problem is seen …

Member Avatar for harishankar
0
187
Member Avatar for artemis_f

Is there anything available compatible with Windows XP, wxPython 2.8 and Python 2.5 that could help me generate diagrams like this: [url]http://www.codeproject.com/KB/scripting/graphic_javascript_tree.aspx[/url] Basically I want to be able to use my data and make a mindmap with nodes that I can move around and double click to do stuff etc. …

0
102
Member Avatar for Dixtosa

Hello All :) i have an IP : 93.93.165.125 and my friend has an IP : 96.156.25.125. and i want to send file(200KB) . what can i do? sory for my english.:)

Member Avatar for leegao
0
83
Member Avatar for atencorps

This a newbie question so I appologise before hand. Ive downloaded the python program and have started to ticker around using the newbie thread above. My question relates to an opensource project. Ive download the project and its in python. The project composes of client and server side software. Im …

Member Avatar for ivmx
0
69
Member Avatar for tlaloc58

Greetings, I've just got 2 python books that are a few years old, they talk about python 2.3. My question is if they would still be useful to learn python? Or if python 2.3 is really that different from 2.6 are they worthless? Thank you.

Member Avatar for vegaseat
0
99
Member Avatar for bumsfeld

Is there a good way to access browser like IE and run an HTML file from within Python code?

Member Avatar for you2
0
211

The End.