LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-17-2003, 07:37 PM
|
#1
|
|
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86; Gentoo PPC; Gentoo Sparc64; FreeBSD; OS X; Solaris
Posts: 3,731
Rep:
|
python rules
Well, my success story doesn't so much have to do with Linux itself, but with programming. I have always wanted to do some programming but it was so obtuse. I would read the source-code and just think whaaaaaaaaaa? I thought it would always be beyond my grasp.
Finally I sat down with the Advanced Bash Scripting Guide (from the tldp) and started writing scripts. I ended up writing a script that converts mp3s to oggs (dir2ogg), learning more and more along the way. The script was all right, but it was limited in the things it could do. I needed a more powerful language.
Using Eric S. Raymond's 'How to be a Hacker' as my inspiration, I tried some stuff with python. The docs are good, the language is clean, and it is much faster than shell scripting.
I decided to rewrite dir2ogg in python. It took all of an hour, and it worked correct on the third attempt. I also got it to preserve the ID3 tags while converting (something the shell version could not do). Talk about breakthrough, I just reached that level when previously baffling things start to make sense.
I am now getting the crazy, foolhardy urge to prototype a cross-platform p2p filesharing app in python, using a gui toolkit (not sure which one yet. Why p2p? Because in my opinion that is the one missing app that Linux needs.
It may take years to get this project in any sort of useable form, but at least now I have the confidence to start it.
Anyway, that's my story and I'm sticking to it.
|
|
|
|
05-18-2003, 08:56 PM
|
#2
|
|
Guru
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280
Rep:
|
i use limewire, that's p2p written in java (cross platform).
|
|
|
|
05-18-2003, 09:40 PM
|
#3
|
|
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86; Gentoo PPC; Gentoo Sparc64; FreeBSD; OS X; Solaris
Posts: 3,731
Original Poster
Rep:
|
I know about all of them....and don't like any of them....I don't think they are very good at all. What I want to do is something like imesh without all the spyware....
|
|
|
|
05-18-2003, 09:56 PM
|
#4
|
|
Senior Member
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,694
Rep:
|
you might try pyQT, same exact code will run on linux or win (and soon mac). if you have pyQT installed try:
import sys
from qt import *
app=QApplication(sys.argv)
button=QPushButton("python rocks",None)
app.setMainWidget(button)
button.show()
app.exec_loop()
ok, this doesn't do much at first glance, but it inherits the native windowing systems controls(close, minimize,restore,and menu) plus the button automagically repaints itself after its been obscured. thats alot of horsepower for 7 lines of code.
|
|
|
|
05-19-2003, 02:25 AM
|
#5
|
|
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86; Gentoo PPC; Gentoo Sparc64; FreeBSD; OS X; Solaris
Posts: 3,731
Original Poster
Rep:
|
That's actually what I was thinking, I do prefer qt to gtk...the only prob is that the end user must have it installed as well.
Another option I was considering was using anygui ( www.anygui.org) which apparently can use any python gui toolkit installed (or at least all the major ones...)
|
|
|
|
05-19-2003, 12:54 PM
|
#6
|
|
Senior Member
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794
Rep: 
|
wxPython, uses wxWindows. I've had a lot of fun cloning apps in Python for windows to teach myself the language. 
|
|
|
|
06-16-2003, 01:58 AM
|
#7
|
|
Member
Registered: Apr 2003
Location: East Coast USA
Distribution: Slackware
Posts: 59
Rep:
|
There is a great p2p for linux called pysoulseek. (THe windows version is soulseek) It's coded in python using wxwindows. Best p2p out there imho. Check it out.
home page here http://www.sensi.org/~ak/pyslsk/
|
|
|
|
06-16-2003, 01:10 PM
|
#8
|
|
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86; Gentoo PPC; Gentoo Sparc64; FreeBSD; OS X; Solaris
Posts: 3,731
Original Poster
Rep:
|
Quote:
|
There is a great p2p for linux called pysoulseek
|
I'm using it now.....highly recommended
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:46 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|