Search Results

Showing results 1 to 26 of 26
Search took 0.01 seconds.
Search: Posts Made By: shanenin
Forum: Python Dec 3rd, 2005
Replies: 7
Solved: Play a playlist
Views: 2,924
Posted By shanenin
let us know your solution, we are curious :-)
Forum: Python Dec 3rd, 2005
Replies: 7
Solved: Play a playlist
Views: 2,924
Posted By shanenin
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
Posted By shanenin
good point, I was not sure on the exact difference
Forum: Python Oct 3rd, 2005
Replies: 4
Views: 22,986
Posted By shanenin
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
Posted By shanenin
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
Posted By shanenin
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
Posted By shanenin
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
Posted By shanenin
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
Posted By shanenin
do acronyms even have periods in them?
Forum: Python Sep 12th, 2005
Replies: 6
Views: 12,859
Posted By shanenin
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
Posted By shanenin
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
Posted By shanenin
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
Posted By shanenin
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
Solved: Classes in Tk
Views: 2,024
Posted By shanenin
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
Posted By shanenin
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
Solved: Day of Week
Views: 7,709
Posted By shanenin
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
Posted By shanenin
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
Posted By shanenin
thanks for the explanation :-)
Forum: Python Jul 28th, 2005
Replies: 4
Views: 4,135
Posted By shanenin
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
Posted By shanenin
Forum: Python Jul 24th, 2005
Replies: 6
Views: 4,294
Posted By shanenin
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
Posted By shanenin
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
Posted By shanenin
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
Posted By shanenin
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
Posted By shanenin
how is it compiled, I thought it is just interperted?
Forum: Python Jun 30th, 2005
Replies: 4
Views: 2,378
Posted By shanenin
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.
Showing results 1 to 26 of 26

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC