Upvote Upvoted 1 Downvote Downvoted
Help with python
posted in Off Topic
1
#1
0 Frags +

I'm working on a school project (last semester of uni - engineering major). This involves some programming with python, I suck (don't know anything about it actually). The main task is to sort and categorize emails received based on their content.

Can anyone here give me an idea where to start?

p.s. I'm taking some tutorials in python to learn basics, so either any tutorials that you know of or some ideas on how the program will look like.

anything helps, I can add more description about project if needed

thanks in advanced!!

I'm working on a school project (last semester of uni - engineering major). This involves some programming with python, I suck (don't know anything about it actually). The main task is to sort and categorize emails received based on their content.

Can anyone here give me an idea where to start?

p.s. I'm taking some tutorials in python to learn basics, so either any tutorials that you know of or some ideas on how the program will look like.

anything helps, I can add more description about project if needed

thanks in advanced!!
2
#2
0 Frags +

might wanna just take a formal class on python if youre gonna be an engineering major, it might come in handy later depending on what kind of engineering you focus on

might wanna just take a formal class on python if youre gonna be an engineering major, it might come in handy later depending on what kind of engineering you focus on
3
#3
1 Frags +

sort/categorized by what exactly?

sort/categorized by what exactly?
4
#4
0 Frags +
Pellovleymight wanna just take a formal class on python if youre gonna be an engineering major, it might come in handy later depending on what kind of engineering you focus on

eh, if one is familiar with programming in other language(s) (every engineer at my school is), python is super easy to self-teach. I wouldn't waste the money (if part-time student) or time (if full-time student) on a class

[quote=Pellovley]might wanna just take a formal class on python if youre gonna be an engineering major, it might come in handy later depending on what kind of engineering you focus on[/quote]
eh, if one is familiar with programming in other language(s) (every engineer at my school is), python is super easy to self-teach. I wouldn't waste the money (if part-time student) or time (if full-time student) on a class
5
#5
0 Frags +

http://showmedo.com/videotutorials/series?name=inivcfz5b

Here is tutorial to get you started with Python databases. Your project in particular looks like it will be heavily involved in content organization and flagging using different types of sorts. Sorts are very important with databases and it could give you some idea on how to structure your project.

I'm actually shocked it's your last semester of university as an engineering major and this is your first exposure to python considering it and C/C++ are probably two of the most widely used programming languages in every engineering field.

http://showmedo.com/videotutorials/series?name=inivcfz5b

Here is tutorial to get you started with Python databases. Your project in particular looks like it will be heavily involved in content organization and flagging using different types of sorts. Sorts are very important with databases and it could give you some idea on how to structure your project.

I'm actually shocked it's your last semester of university as an engineering major and this is your first exposure to python considering it and C/C++ are probably two of the most widely used programming languages in every engineering field.
6
#6
1 Frags +
Zarsort/categorized by what exactly?

so everyday the department receives hundreds of emails. we were tasked to create a program that categorizes the email based on the content of the email. for example if you email the school department saying something like "can I set up a meeting with the academic adviser" the program will detect keywords such as 'academic adviser' and the email will be forwarded to the academic adviser.

was that clear enough?

thanks for the other tips guys, we did take a class is C++ but it was about 4 years ago and I dont remember crap, also they want the program in python...

[quote=Zar]sort/categorized by what exactly?[/quote]

so everyday the department receives hundreds of emails. we were tasked to create a program that categorizes the email based on the content of the email. for example if you email the school department saying something like "can I set up a meeting with the academic adviser" the program will detect keywords such as 'academic adviser' and the email will be forwarded to the academic adviser.

was that clear enough?

thanks for the other tips guys, we did take a class is C++ but it was about 4 years ago and I dont remember crap, also they want the program in python...
7
#7
1 Frags +

https://pypi.python.org/pypi/email

look into the email module, and do some basic python tutorials from the internet. I can hit you up with a great pdf, msg me on steam if you want it.

http://steamcommunity.com/id/pepetoads

https://pypi.python.org/pypi/email

look into the email module, and do some basic python tutorials from the internet. I can hit you up with a great pdf, msg me on steam if you want it.

http://steamcommunity.com/id/pepetoads
8
#8
0 Frags +

You could try implementing naive bayesian learning as a classifier for emails: http://artint.info/html/ArtInt_196.html (haven't actually used the text from the link myself but it seems decent at first glance). It's one of the most simple machine learning techniques to use, though of course it will produce some errors and will need a training set.

You could try implementing naive bayesian learning as a classifier for emails: http://artint.info/html/ArtInt_196.html (haven't actually used the text from the link myself but it seems decent at first glance). It's one of the most simple machine learning techniques to use, though of course it will produce some errors and will need a training set.
9
#9
0 Frags +
AvastI'm actually shocked it's your last semester of university as an engineering major and this is your first exposure to python considering it and C/C++ are probably two of the most widely used programming languages in every engineering field.

at my uni they phased out C++ courses and replaced them with MATLAB

only compsci students around here are taught python

(I graduated electrical engineering last year)

[quote=Avast]
I'm actually shocked it's your last semester of university as an engineering major and this is your first exposure to python considering it and C/C++ are probably two of the most widely used programming languages in every engineering field.[/quote]

at my uni they phased out C++ courses and replaced them with MATLAB

only compsci students around here are taught python

(I graduated electrical engineering last year)
10
#10
0 Frags +

https://www.codecademy.com/learn
this is where i learnt how to code using python, really good imo, step by step and covers majority of the language.

https://www.codecademy.com/learn
this is where i learnt how to code using python, really good imo, step by step and covers majority of the language.
11
#11
0 Frags +
AvastI'm actually shocked it's your last semester of university as an engineering major and this is your first exposure to python considering it and C/C++ are probably two of the most widely used programming languages in every engineering field.

I'm graduating in Mechanical Engineering and the only contact I had with programming languages (not counting while working) was in the first two semesters with the basics of python.
In my thesis I had to code a program in python that used a lot more than I learned in those two semesters, so I self-taught.

[quote=Avast]I'm actually shocked it's your last semester of university as an engineering major and this is your first exposure to python considering it and C/C++ are probably two of the most widely used programming languages in every engineering field.[/quote]
I'm graduating in Mechanical Engineering and the only contact I had with programming languages (not counting while working) was in the first two semesters with the basics of python.
In my thesis I had to code a program in python that used a lot more than I learned in those two semesters, so I self-taught.
12
#12
0 Frags +
lootAvastI'm actually shocked it's your last semester of university as an engineering major and this is your first exposure to python considering it and C/C++ are probably two of the most widely used programming languages in every engineering field.
at my uni they phased out C++ courses and replaced them with MATLAB

only compsci students around here are taught python

(I graduated electrical engineering last year)

yea we focused on MATLAB quite a bit, in industrial engineering (my degree), you won't see to much programming

[quote=loot][quote=Avast]
I'm actually shocked it's your last semester of university as an engineering major and this is your first exposure to python considering it and C/C++ are probably two of the most widely used programming languages in every engineering field.[/quote]

at my uni they phased out C++ courses and replaced them with MATLAB

only compsci students around here are taught python

(I graduated electrical engineering last year)[/quote]

yea we focused on MATLAB quite a bit, in industrial engineering (my degree), you won't see to much programming
13
#13
2 Frags +
lootAvastI'm actually shocked it's your last semester of university as an engineering major and this is your first exposure to python considering it and C/C++ are probably two of the most widely used programming languages in every engineering field.
at my uni they phased out C++ courses and replaced them with MATLAB

only compsci students around here are taught python

(I graduated electrical engineering last year)

This is information I guess just goes to show you the differences in degrees I guess. My college's EE program exposed us to C++ and C as our intro languages and we had courses involving Assembly, Python, and MATLAB.

I also find it weird that only the CompSci students are taught Python considering how strong Python is as an easy computational language which is pretty ideal for engineering related things.

[quote=loot][quote=Avast]
I'm actually shocked it's your last semester of university as an engineering major and this is your first exposure to python considering it and C/C++ are probably two of the most widely used programming languages in every engineering field.[/quote]

at my uni they phased out C++ courses and replaced them with MATLAB

only compsci students around here are taught python

(I graduated electrical engineering last year)[/quote]

This is information I guess just goes to show you the differences in degrees I guess. My college's EE program exposed us to C++ and C as our intro languages and we had courses involving Assembly, Python, and MATLAB.

I also find it weird that only the CompSci students are taught Python considering how strong Python is as an easy computational language which is pretty ideal for engineering related things.
Please sign in through STEAM to post a comment.