|
More site info...
Python Programming | Forum profile
|
|
Forum profile page for Python Programming on http://www.devshed.com.
This report page is the aggregated overview from a single forum: Python Programming, located on the Message Board at http://www.devshed.com.
This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period.
Additional forum profile information for "Python Programming" on the Message Board at http://www.devshed.com is also shown in the following ways:
1) Latest Active Threads
2) Hot Threads for Last Week
Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.
|
|
|
|
|
Posting activity on Python Programming:
|
|
Week
|
Month
|
3 Months
|
|
Threads:
|
24
|
94
|
386
|
|
Post:
|
48
|
195
|
888
|
|
|
Python Programming Posting activity graph:
|
Top authors during last week:
user's latest post:
Quiz in Python and GUI
Published (2010-01-01 11:18:00)
To time it, store the timestamp (time() from the time module) at the start of the quiz and subtract it from the timestamp the quiz is finished. Restart/Undo is a bit more complicated without goto... I'd store all the questions in one list and all the answers in another list, looping through both: python Code: Original - python Code questions = ['first question', 'second question', 'third question']...
user's latest post:
Sending AT commands...
Published (2010-01-04 02:36:00)
Quote: Originally Posted by Scorpions4ever Does your code even run?? Did you read the documentation for the serial class. If you look at the documentation, read() accepts a parameter, the # of bytes to read in. You are calling it with no parameters. I got it now, thanks... "serialPort.read()" reads whole string at a time from buffer.
user's latest post:
How to determine if a variable...
Published (2009-12-27 07:51:00)
Quote: Originally Posted by delnan Are the suites indented correctly? What you've posted here is not correct (btw, use [CODE.] Tags please), but the interpreter would have complained if your code wasn't indented correctly... Does "except:" catch it? It must catch it... if it doesn't, you've got a serious problem. Apparently it doesn't recognize it as GraphicsError or TclError or IndexError etc......
user's latest post:
Help Regarding Memory Error
Published (2009-12-27 01:15:00)
Quote: Originally Posted by delnan I guess I know why it freezes... your giant if clause alway evaluates to True (thus, all characters are appended and the loop never ends). The interpreter evalutes If c is actually "a", it got the single true condition it needs to cosider the whole if statement True. If c is not "a", it continues and evaluates Code: "A" because the "or"...
user's latest post:
Problem with how to solve a problem
Published (2010-01-02 09:49:00)
Quote: Originally Posted by AKalair Hi, Thanks for the replies, so say for example I have the following hand: {a:1, b:1, t:1} (The actual hand in the game has 7 letters but this is simpler for an example) Now for a human its obvious you can make either 'bat' or 'tab' or 'at' But how can I get the computer to make either of those words? You will have to create a file with all available words that can be used given...
user's latest post:
Problem with how to solve a problem
Published (2010-01-02 14:43:00)
You can use combinations in itertools http://docs.python.org/library/itertools.html to give the letter combinations for 2 lettters, then 3 through 7 letters, and check those against words sorted on letters. You could use permutations and not sort the words you compare to, but that is many, many more lookups since abc would yield one sorted lookup, but you would have to look up 'abc', 'acb', 'bac',...
user's latest post:
Threading multiple processes
Published (2009-12-26 01:41:00)
I'm creating a python script to measure and display the temperature of my computer and I'm wanting to accept user input to terminate the program, increase and decrease time interval between measurements and pause the application. Here's what I've tried (note this isn't the whole thing, cut out a lot): Code: # Import all the stuff def main(self): # I set up screen stuff here inpt = checkInput(screen) inpt.start()...
user's latest post:
Simple word stemming
Published (2009-12-26 16:42:00)
I'm new to this forum (and rather new to Python), so hello to all and bear with me I'm trying to make a word stemmer for the Danish language. Basically I want to do what Martin Porter has already done (and I am not allowed to post URL's but google "Danish stemming", first hit), but since his Python wrapper is too much for me to handle right now, I was wondering if anyone can help me get started implementing...
user's latest post:
Help get it to work -...
Published (2009-12-26 10:50:00)
hi there! doesn't have anybody any idea about this?
|
|
|
|
Latest active threads on Python Programming::
Started 2 days, 8 hours ago (2010-01-03 23:46:00)
by Scorpions4ever
Call serialPort.read(SOMESIZE) to get back data from the serial port. What you're getting back from serialport.write() is whether the write succeeded or not.
Code:
# Read upto 10 bytes from the port.
retdata = serialPort.read(10)
Started 1 week, 3 days ago (2009-12-26 16:42:00)
by stonieh
I'm new to this forum (and rather new to Python), so hello all and please bear with me
I'm trying to make a word stemmer (automatically find the root form of a word) for the Danish language.
Basically I want to do what Martin Porter has already done (and I am not allowed to post URL's but google "Danish stemming", first hit), but since his Python wrapper is too much for me ...
Started 4 days, 14 hours ago (2010-01-01 17:49:00)
by msprayb
You will need to assign values to the individual letters. Then the program will be able to calculate the highest possible score or value for the word.
I hope this helps.
Started 4 days, 19 hours ago (2010-01-01 13:10:00)
by Nik
please someone help me a bit to get started
Started 5 days, 15 hours ago (2009-12-31 16:53:00)
by stringzar
Supposedly pyinstaller can create a single standalone executable file, but I've never actually tried it.
http://www.pyinstaller.org/
Started 4 days, 21 hours ago (2010-01-01 11:18:00)
by delnan
To time it, store the timestamp (time() from the time module) at the start of the quiz and subtract it from the timestamp the quiz is finished.
Restart/Undo is a bit more complicated without goto... I'd store all the questions in one list and all the answers in another list, looping through both:
python Code:...
|
|
Hot threads for last week on Python Programming::
Started 4 days, 14 hours ago (2010-01-01 17:49:00)
by msprayb
You will need to assign values to the individual letters. Then the program will be able to calculate the highest possible score or value for the word.
I hope this helps.
Started 2 days, 8 hours ago (2010-01-03 23:46:00)
by Scorpions4ever
Call serialPort.read(SOMESIZE) to get back data from the serial port. What you're getting back from serialport.write() is whether the write succeeded or not.
Code:
# Read upto 10 bytes from the port.
retdata = serialPort.read(10)
Started 4 days, 19 hours ago (2010-01-01 13:10:00)
by Nik
please someone help me a bit to get started
Started 5 days, 15 hours ago (2009-12-31 16:53:00)
by stringzar
Supposedly pyinstaller can create a single standalone executable file, but I've never actually tried it.
http://www.pyinstaller.org/
Started 4 days, 21 hours ago (2010-01-01 11:18:00)
by delnan
To time it, store the timestamp (time() from the time module) at the start of the quiz and subtract it from the timestamp the quiz is finished.
Restart/Undo is a bit more complicated without goto... I'd store all the questions in one list and all the answers in another list, looping through both:
python Code:...
Started 1 week, 3 days ago (2009-12-26 16:42:00)
by stonieh
I'm new to this forum (and rather new to Python), so hello all and please bear with me
I'm trying to make a word stemmer (automatically find the root form of a word) for the Danish language.
Basically I want to do what Martin Porter has already done (and I am not allowed to post URL's but google "Danish stemming", first hit), but since his Python wrapper is too much for me ...
|
|