Project 1999

Project 1999 (/forums/index.php)
-   Off Topic (/forums/forumdisplay.php?f=19)
-   -   Learn Python for personal P99 apps? (/forums/showthread.php?t=277397)

Treefall 07-10-2017 02:05 PM

Learn Python for personal P99 apps?
 
Hi all,

I'd really like to learn programming for fun. I know 0%. It would not be something I'd ever make a career out of.

With that said, I've read that it's all about finding problems/projects you're motivated to fix/make happen.

Would Python be capable of reading p99 chat logs and then using that information to display related information?

My goal isn't to make anything that messes with the software or automates, rather I just want to try making fun projects that turn data into relevant information.

Would another language be better suited?

Crookstinger 07-10-2017 02:34 PM

Python works fine for writing a log parser. I've written my own in Python that does a variety of tasks. I don't know any other languages extensively, so I can't speak to whether or not Python is best, but for what I need it to do, it works great. I'm sure there are several other languages that would work as well if not better, but I myself am learning Python so that's what I used.

Izmael 07-10-2017 03:25 PM

If on Linux or Mac, I'd recommend just shell scripting. That will teach you a lot of Unix basics that a "real" language won't.

I do not recommend Perl as first language to learn in 2017.

Python pretty good if you end up disliking shell.

loramin 07-10-2017 03:26 PM

Python is a great option. Javascript might be a better one, because it can be used in places Python can't (eg. web), but for pure file parsing Python is probably easier to learn.

loramin 07-10-2017 03:28 PM

Quote:

Originally Posted by quido (Post 2553658)
I like Perl for log monitoring.

The 1990s called: they want their programming language back :p

skarlorn 07-10-2017 03:43 PM

when former guide moregan and I were planning on creating custom server events, I started learning Perl to write stuff for EQ

then he went crazy.

so maybe Perl would be a good idea, since a GM and Jeremy both suggest using it

maskedmelonpai 07-10-2017 03:45 PM

i thought perl is what all the eqemu quest scripts is written in? I learned little bit for when I was gonna make my own server I made a Orator of Faiths NPC to change religion so my dark elf could warship the Duke and it work. it was just a proof of concept thingy, but then I realize the stock axclassic database that I was using was full a bunch a garbage :c and i not liek the idea of all that sql editing since I dunno nothing about it.

skarlorn 07-10-2017 03:51 PM

Quote:

Originally Posted by maskedmelonpai;2553717I
made a Orator of Faiths NPC to change religion so my dark elf could warship the Duke and it work.

Quote:

Originally Posted by skarlorn (Post 2553724)

*Triggered 4 squirt*


Patriam1066 07-10-2017 04:05 PM

Quote:

Originally Posted by quido (Post 2553741)
Which language is better for extraction and manipulation?

Hebrew

skarlorn 07-10-2017 04:10 PM

hueheueheu


All times are GMT -4. The time now is 12:32 AM.

Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.