Forum: Python
01-18-2011, 12:58 AM
|
|
Replies: 0
Views: 465
to caluculate difference
hi all........ file1 99 root S 5176 95 *41.2* 8.3 snmpd file2 99 root S 5176 95 *1.0 * 8.3 snmpd i want to caluculate difference between two files fifth column(i.e...
|
Forum: Python
01-17-2011, 10:54 AM
|
|
Replies: 0
Views: 1,153
Find max with exceptions
Hi, I'd like to find the maximum value in a list but be able to state certain exceptions. For example: if list A=[1,5,3,4] I want to say <div class="codeblock"> <div class="spaced"> <div>Python...
|
Forum: Python
01-17-2011, 10:54 AM
|
|
Replies: 0
Views: 281
wx.StyledTextCtrl and box sizers
How can I get my editor to expand both horizontal and vertical? I have a simple test application that uses a subclass of a StyledTextCtrl. I create my editor object in a subclass of wx.Frame. ...
|
Forum: Python
01-17-2011, 10:54 AM
|
|
Replies: 0
Views: 229
PyQt
Hi... I want to start with PyQt and I don't from where should I beggin !! I'm using Fedora Linux 14 !
|
Forum: Python
01-17-2011, 10:54 AM
|
|
Replies: 0
Views: 241
raw_input & time
Hi... Let's say that we have this: <div class="codeblock"> Python Syntax (Toggle Plain Text (http://www.domainnameforum.org/#))
<div id="code1009806108_1"><ol>
|
Forum: Python
01-17-2011, 10:54 AM
|
|
Replies: 0
Views: 276
noobish question regarding pyserial
hello there guys. im quite confused regarding the use of pyserial classes. ive been reading up on the pyserial documentation. i followed an example and used the code below <div class="codeblock">...
|
Forum: Python
01-17-2011, 10:54 AM
|
|
Replies: 0
Views: 228
function calling:
plz see this code x=raw_input('enter any number :') def adder(d): d=d+1 adder(x) in this function when x is passed to function adder ,,is 'x' and 'd' are copy of each other or d is reference of x..
|
Forum: Python
01-17-2011, 10:54 AM
|
|
Replies: 0
Views: 288
|
Forum: Python
01-17-2011, 10:54 AM
|
|
Replies: 0
Views: 259
PaintDC help
Chances are this is a dumb question, but hey, I don't have anywhere else to go. I wrote a basic hangingman game on my pc desktop using a paint event to draw the hangman. Unfortunately, this code...
|
Forum: Python
01-17-2011, 10:54 AM
|
|
Replies: 0
Views: 241
finding what a string starts with
I'm looking for a way to get the first letter of of a string. I already know about the .startswith() but that is for "if" statements I want something like <div class="codeblock"> <div...
|
Forum: Python
01-17-2011, 10:54 AM
|
|
Replies: 0
Views: 226
search problem
hi all, im new to python, and i have a problem that needs to be solved. i have the following set: [[5,5,5],[5,5,5,5,5],[]] which needs to end up being: [[5,5,5,5],[],[5,5,5,5]] has anyone got any...
|
Forum: Python
01-17-2011, 10:54 AM
|
|
Replies: 0
Views: 223
Developing For Google's New Chrome Web Store!
Hey all, It's been a really really long time since I did any Python programming; upon the launch of the Web Store - I've been interested in developing a basic app myself. So here I am! Anyways, can...
|
Forum: Python
01-17-2011, 10:54 AM
|
|
Replies: 0
Views: 584
My Python3 Spell checker is broken...
Dear All, I am a total newbie to Python and programming in general. I know I'd find more materials for Python2, but Python3 was a reflected choice. That said, I have gone trough: ...
|
Forum: Python
01-17-2011, 10:54 AM
|
|
Replies: 0
Views: 246
wxPython's menu help
Why I have not seen any underline with the menu items although I have put "&" within the menu names. My code is as follows: <div class="codeblock"> <div class="spaced"> <div>Python Syntax (<a...
|
Forum: Python
01-17-2011, 10:54 AM
|
|
Replies: 0
Views: 263
Django - List(s) of items and form display
I have been trying to learn Django (and Python). I have a form that can have up to n elements. Each of those elements has 3 parts to it (a TextField, a TagField and a Checkbox). The form init...
|
Forum: Python
01-17-2011, 10:54 AM
|
|
Replies: 0
Views: 198
Launch Python app from a web page
I have an app that allows my users to pop up a file of any size and look at the top 10 (or more) records, or, offset to any starting point and view a batch of records. I would like to put this app...
|
Forum: Python
01-17-2011, 10:54 AM
|
|
Replies: 0
Views: 143
Networking issues,python
I have written a client server program in which the server sends a program to the client, and the client executes the received program. In this case it is a line drawing program in OpenGL. The...
|
Forum: Python
01-17-2011, 10:54 AM
|
|
Replies: 0
Views: 138
How to open multiple xls files in python
Hello, I recently started writing a small program for reading multiple xls files from one directory. While reading one file like this,works perfectly: <div class="codeblock"> <div class="spaced">...
|
Forum: Python
01-17-2011, 10:54 AM
|
|
Replies: 0
Views: 145
print error plz help
sorry for the noob question. i'm new to python. i'm trying to learn about classes and def. i created a simple one here called test2.py <div class="codeblock"> <div class="spaced"> <div>Python...
|
Forum: Python
01-17-2011, 10:54 AM
|
|
Replies: 0
Views: 138
Writing Files
Hi I want to write some variables into a file to be readable by excel. I used a loop like this to write the calculated "x" variable into the file. It works but the problem is that I get all the...
|
Forum: Python
01-17-2011, 10:54 AM
|
|
Replies: 0
Views: 184
html help
If I have example code: <div class="codeblock"> Python Syntax (Toggle Plain Text (http://www.domainnameforum.org/#))
<div id="code213448727_1"><ol><li class="li1">
|
Forum: Python
01-17-2011, 10:54 AM
|
|
Replies: 0
Views: 135
killing a process in python
hi .. im trying to terminate a process so in python i used os.system("taskkill /IM notepad.exe/T" and os.popen("taskkill /IM notepad.exe /f") neither have worked since the process does close but...
|
Forum: Python
01-17-2011, 10:54 AM
|
|
Replies: 0
Views: 139
wx.RichTextCtrl.SaveFile
Hi, Is it possible to save the contents of a RichTextCtrl with the formatting? I'm writing a text editor to learn wxpython and when I use the SaveFile method it saves the data as plain text. ...
|
Forum: Python
01-17-2011, 10:54 AM
|
|
Replies: 0
Views: 255
Calling C++ dll from Python
Hello, Is it possible to use ctypes for this? I tried a sample code from net but it is not working. <div class="codeblock"> Python Syntax (Toggle Plain Text (http://www.domainnameforum.org/#))
...
|
Forum: Python
01-17-2011, 10:54 AM
|
|
Replies: 0
Views: 225
selecting a column
hi all......... a1 a2 a3 a4 a5 a6 b1 b2 b3 b4 b5 b6 c1 c2 c3 c4 c5 c6 d1 d2 d3 d4 d5 d6 i want to select a column and i need a output like
|