Forum: Python Dec 3rd, 2005 |
| Replies: 7 Views: 2,924 let us know your solution, we are curious :-) |
Forum: Python Dec 3rd, 2005 |
| Replies: 7 Views: 2,924 if it was a unix/linux system, you could call a command line program like mplayer or mpg123. |
Forum: Python Oct 3rd, 2005 |
| Replies: 4 Views: 22,986 good point, I was not sure on the exact difference |
Forum: Python Oct 3rd, 2005 |
| Replies: 4 Views: 22,986 are you just looking for a was to copy a file(I might be missing something)
import shutil
shutil.copy2('e:/disk/vm.xls', 'new_name_of_copy')
I have only tested this on my linux system, but... |
Forum: Python Sep 17th, 2005 |
| Replies: 10 Views: 3,239 shows you how little I know about programming, I thought that(memory allocation) was nessesary for just about anything with C .
I guess you do not have to allocate memory to program "hello world"... |
Forum: Python Sep 17th, 2005 |
| Replies: 10 Views: 3,239 what are some of the arguments for using python that have been discussed at your university(just curious) |
Forum: Python Sep 17th, 2005 |
| Replies: 10 Views: 3,239 I am not much of a programmer, so I don't probably have a great perspective, but I have an opinion :-) Python is not teaching bad habits, it seems to just be teaching on a higher level(language... |
Forum: Python Sep 17th, 2005 |
| Replies: 10 Views: 3,239 I am learing python as my first language. I really enjoy it, it has kept my attention. I suppose I like the ease of it(I am not sure i have a programmers mind). For an introductory course, it seems... |
Forum: Python Sep 12th, 2005 |
| Replies: 6 Views: 12,859 do acronyms even have periods in them? |
Forum: Python Sep 12th, 2005 |
| Replies: 6 Views: 12,859 this code is a little more polished
userinput = raw_input('> ')
split_input = userinput.split()
x = ""
for i in split_input:
x = x + i[0] + "."
print x.upper() |
Forum: Python Sep 12th, 2005 |
| Replies: 6 Views: 12,859 you could use the split method
>>> "the dog is going home".split()
['the', 'dog', 'is', 'going', 'home']
I hope I did not ruin your fun , but here is the code I would use
userinput =... |
Forum: Python Aug 29th, 2005 |
| Replies: 10 Views: 6,319 the very popular(notorious) program bittorrent is written in python. I wonder if the bittorrent windows executable used Py2Exe. |
Forum: Python Aug 15th, 2005 |
| Replies: 2 Views: 3,151 you can test your code immediatley, to see how something will work. Being a beginning programmer I find that very useful. |
Forum: Python Aug 10th, 2005 |
| Replies: 7 Views: 2,024 I too am struggiling a with classes. all of those self.sometihings just mix me up. should I base my class on object or nothing. I figure if I keep trying to use them, someday it will just make... |
Forum: Python Aug 10th, 2005 |
| Replies: 9 Views: 3,413 Since this post was taliking about how programming languages handle data types I thought the following was interesting. This how the new windows scripting language monad handles data
I am not sure... |
Forum: Python Aug 1st, 2005 |
| Replies: 2 Views: 7,709 you might find some good info here
http://www.daniweb.com/techtalkforums/thread20774-2.html |
Forum: Python Jul 29th, 2005 |
| Replies: 8 Views: 2,667 I got the same book, I really like it. It is the perfect beginners book. It keeps you interested. |
Forum: Python Jul 29th, 2005 |
| Replies: 4 Views: 4,135 thanks for the explanation :-) |
Forum: Python Jul 28th, 2005 |
| Replies: 4 Views: 4,135 you say "the closest". isn't that exactly what it does, or is it lacking in some way? |
Forum: Python Jul 27th, 2005 |
| Replies: 3 Views: 3,844 http://www.python.org/doc/2.3.5/lib/lib.html |
Forum: Python Jul 24th, 2005 |
| Replies: 6 Views: 4,294 I am pretty new to python(and programming) but this might work
while not cursor.EOF:
for row in cursor.fields:
url = row
print row
cursor.MoveNext()
now you should... |
Forum: Python Jul 24th, 2005 |
| Replies: 6 Views: 4,294 forgive me if I am saying something dumb, but is the output you need being produced by this code
#!/usr/bin/env python
import MySQLdb
import adodb
import feedparser
conn =... |
Forum: Python Jul 12th, 2005 |
| Replies: 3 Views: 3,158 why when running this code do i get this error
shane@mainbox shane $ python test
File "test", line 9
retries = retries - 1
^
SyntaxError: invalid syntax
does this not run in... |
Forum: Python Jul 7th, 2005 |
| Replies: 12 Views: 4,868 Python is my first language I am learning, other then some bash scripting. I am really enjoying it.
I am a big open source(linux) guy, so i was attracted to python for that reason. I also like the... |
Forum: Python Jul 7th, 2005 |
| Replies: 12 Views: 4,868 how is it compiled, I thought it is just interperted? |
Forum: Python Jun 30th, 2005 |
| Replies: 4 Views: 2,378 I was trying to figure out a way to do it manually(without the split method). I feel like I am always trying to reinvent the wheel. |