September 9th, 2008
msquared (Administrator)
|
What is your OS and Python Version
For the benefit of those of us who answer questions, PLEASE REPLY in this thread with your operating system, version of python that you are using,... more »
sticky
|
|
New (Firefox)!!! Instructions for copying code from these threads (also IE)
If you are using Firefox as you browser, you'll probably have discovered that the new-style tags don't allow you to copy posted code without an... more »
sticky
|
|
Regular expression/tokenizing
just a quick question,
does anyone know how to write a regexp for tokenization??????????? to get all email addresses and abbreviations as 1... more »
|
|
getting the last index of an array
Hi folks
i am totally novice to python, that's why i have to learn it for my final year project.
Any way i have been using a python module for... more »
|
|
log files
I have this code here
import string
def count_and_sort():
filer = {}
f = open("loggfil.txt","r")
f2 = open("lab5.out","w")
person =... more »
|
|
Question regarding int
x = input ("Number of Guests: ")
y = input ("Number of beers: ")
print "Full beers per person: " + str(float(y / x))
print "Left over beers: " +... more »
|
|
Decimal
I want to see if a number is decimal what is the way to do it? more »
|
|
read in from file
Hi all,
trying to write a program that will read a file in like:
python myprog < inputFile
the program needs to store each line a an entry in a... more »
|
|
finding filename in log file
I have a log file with this line
lisa.sm.luth.se - - "GET //csee/csn/include/div.cfg HTTP/1.0" 200 447 "-" "-"
I want to extract the filename... more »
|
|
Edit text file to add row numbers
Hi guys!
I just arrived here on this forum, and I hope you people can help me a bit with Python.
What I want is to edit a few large text files, by... more »
|
|
process monitoring in Py
Hi,
I am working with a test harness and I need to monitor a process. If the process isn't done in a specific alloted time, I need to abort the... more »
|
|
Input and IDLE
Howdy,
New to python and have two quick questions.
I need to write a program that is executed like:
python myprogram < input.txt
on the command... more »
|
|
Python Compatability and Upgrading Python on Mac OS X
Hey,
My prof just out of the blue decided that we would teach ourselves python over the weekend.
I am running Mac OS X Version 10.4.10 and Python... more »
|
|
coin flip
I am creating a python program that will flip a coin 100 times and then tells you the number of heads and tails. This is for a class I am taking, I... more »
|
|
Hangman(game) problem
i have a problem with the following
(some vaiation of a word quiz game)
(ignore first group of hashs)
import... more »
|
|
gmpy
1 Reply |
Posted by: zakad
| Last post by casevh, 5 days ago
python 2.5.2
ubuntu 8.04 LTS
(1) I find that python/gmpy is about 3 times slower than c++/gmp.
Is this the general experience, or am I doing... more »
|
|
Need Help in Scrambling! Thank you
I would like to make a code in which I scramble the words in the middle of a sentence so the first and last letter remain the same.
example: The... more »
|
|
wx.Button in place of wx.Menu and wx.Notebook
Hello all,
I want to create a menu without using wx.Menu,shall i do this task using wx.Button.Actually wx.Menu uses the windows style so we can't... more »
|
|
line print out for sudoku solver
1 Reply |
Posted by: Thekid
| Last post by kaarthikeyapreyan, 6 days ago
Hi, I found this sudoku solver online and it works good but I was wondering how I could get the answer that's in matrix form, to also print out in a... more »
|
|
pySqlite cur.executescript problem
Hello
I'm using pySqlite and can return data using SELECT statement in SQLite
ie cursor.execute ('select * from work order by name,ext')
which... more »
|
|
I Need A Good Python Book
I've tried using several online tutorials, and most of them are great, but I'd like to have a good Python book on hand. Any suggestions? One of my... more »
|
|
re-enumeration problem
I have developed a piece of hardware that has an embedded micro-controller with usb controller. I communicate with the device via Interrupt... more »
|
|
word frequency
I'm trying to print email address and each of their frequency on it's right by reading a text file. The counting part is correct but it prints other... more »
|
|
Encryption and Decryption from a dictionary.
well, i started messing around with dictionaries, yet, most of the pages i found about them always talk about getting only one word out of it and... more »
|
|
Troubles with file operations
I've started out on python a couple of weeks ago, and today I came to "7. Input and Output" in the python docs tutorial. So I tried some of it... more »
|
|
how to gernerate the fingerprints of a documents in python
i want to write a application for detecting near to duplicate document using rabin karp algorithm for generating fingerprint technique.
please any... more »
|
|
Recognize a word from a list within a user input
Hello, i am trying to make a program that recognizes a certain word from a list (as shown below),
My main problem is-
how do i make something that... more »
|
|