Closed Thread
Results 1 to 7 of 7
-
06-14-2009, 06:56 AM #1
Registered User
- Join Date
- Jun 2009
- Posts
- 2
Programming With Python (IRC Scripts)
Hi,
I am a new Ubuntu user, and love that it comes with Python on it.
Long story short, I am using Gutsy Gibbon, which has reached the end of its life. My DVD burner writes too fast, and does not have a slow enough setting to burn Hardy or later. So I've ordered copies. In the mean time. Is there a way to get to Python to write some IRC scripts while I wait for my Jaunty to arrive?
According to Add/Remove Programs and Synaptic, its installed, but I can't figure out how to open it...
_____________________-
[url=http://www.y3.com/search-results/121333/drag-racer-v5]drag racer v5 online game[/url]
[url=http://nureachglobal.com/search-engine-optimization-services.html]seo services[/url]
-
06-23-2009, 05:18 AM #2
Registered User
- Join Date
- Jun 2009
- Posts
- 2
Python is another program; its an interpreter (a program that interprets code for programs). It just launched inside a shell. There are plenty of GUI python shells to (with syntax highlighting and stuff), search around the forums for them (an example is IDLE, but that one isn't so good on Linux for some odd reason).[url=http://www.lamosca.fr/enterrementdeviedegarcon.htm]enterrement de vie de garçon[/url] [url=http://www.flashtrackz.com]Free Games[/url]
The next step is as others said, learn the language.
-
07-08-2009, 07:00 AM #3
Registered User
- Join Date
- Jul 2009
- Posts
- 2
Seems to work fine for me -- I input some numbers, it prints out the smallest and biggest damage values. What version of Python are you using? How are you running the script? is there any message on the command line when it exits? (if you're running the script by double-clicking the icon in explorer, try running it on the command line so that you can see the error message).
Last edited by gordo; 07-08-2009 at 03:57 PM.
-
07-19-2009, 11:12 PM #4
Registered User
- Join Date
- Jul 2009
- Posts
- 3





-
08-10-2009, 11:10 PM #5
Registered User
- Join Date
- Aug 2009
- Posts
- 2
The first and most obvious thing to do is download Python and start playing! The complete Python package from python.org is about five megabytes, and includes a complete programming environment and enough documentation to have you learning and programming within minutes, especially if you've ever programmed in any modern language at all. Another option is to download ActivePython from ActiveState. If you refer to either of these Python distributions in any Python forum or email list, you should have little trouble finding someone who uses the same environment.
There are several additional options, including:
* Jython ("J" for "Java")
* Pippy (for the Palm)
* VPython (which "offers real-time 3D output")Last edited by gordo; 08-11-2009 at 06:22 AM.
-
01-16-2010, 02:54 AM #6
Registered User
- Join Date
- Jan 2010
- Posts
- 1
That is a good question, But to save you about $150.00 call Windows, If that is the program your computer runs [URL=http://www.testking.net/Microsoft-Certification-Training.htm]microsoft exams[/URL] on. It is easy and so not stressful. They do it all and will explain how it happened,what you need to do to have it not happen again. Keep all and any info they give you just in [URL=http://www.testking.net/Network-plus-certification-training.htm]network+ training[/URL] case it may happen again. Whenever I download from RapidShare as Free user it always has an error and saying that my I.P. address is downloading something even if there's not . . . . . . Why? Is it because of Faronics [URL=http://www.testking.net/Security-plus-certification-training.htm]security+ certification[/URL] DeepFreeze 5 Im using? please anyone who knows answer me.
-
01-16-2010, 03:13 AM #7allan888 Guest
As a matter of fact, it's not so different. The core is obviously the same, see the unused "readbuffer" variable in the code published here for example.
Since TCP is a stream and not based on datagrams, the code in this article fails but the one at oreilly.com works. So, the author who modified the simplebot.py broke it. The bot here will fail to process messages under lag or flooding as a result of these undesirable changes.
Funny enough, backslashes have died during submitting, and even the security check in place (testing owner name) will fail under flood. Just send enough data and the lack of buffering will cause the bot to eventually process PRIVMSG contents as a raw irc protocol message...
The original source should've definitely been credited.
___________________________________________
[url=http://www.foxyfishnets.com]crotchless fishnet[/url]
[url=http://www.parfems.sk]Parfemy parfums[/url]


