Two Plus Two Publishing LLC
Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > >

Notices

Programming Discussions about computer programming

Reply
 
Thread Tools Display Modes
Old 05-22-2015, 02:12 PM   #26
Low Key
Carpal \'Tunnel
 
Low Key's Avatar
 
Join Date: Jan 2007
Location: Thank you, Florida
Posts: 33,331
Re: learning Python

http://programmers.stackexchange.com...eed-a-compiler

4th google result for "python compiler" or so
Low Key is offline   Reply With Quote
Old 05-22-2015, 02:24 PM   #27
just_grindin
Pooh-Bah
 
Join Date: Dec 2007
Posts: 4,557
Re: learning Python

Quote:
Originally Posted by Low Key View Post
http://programmers.stackexchange.com...eed-a-compiler

4th google result for "python compiler" or so
Sorry for the brain fart for a second I forgot Google was my friend.

Linked article has some pretty interesting posts as well. Thanks!
just_grindin is offline   Reply With Quote
Old 05-22-2015, 02:45 PM   #28
Low Key
Carpal \'Tunnel
 
Low Key's Avatar
 
Join Date: Jan 2007
Location: Thank you, Florida
Posts: 33,331
Re: learning Python

no worries ^_^
Low Key is offline   Reply With Quote
Old 05-23-2015, 09:31 AM   #29
sthief09
Josh.
 
Join Date: Feb 2004
Posts: 20,654
Re: learning Python

Quote:
Originally Posted by Low Key View Post
virtualBox + ubuntu ldo
I have Linux Mint and it is more windows-esque but yeah I agree with just getting a VM. I dual-booted my windows laptop but it was a pain in the ass. I'm glad I did it though.

the reasons I think it's so important are (a) you learn to think much more like a programmer/engineer when you're interacting with the file system and typing rather than pointing and clicking, (b) cloud is becoming more powerful and popular all the time, and it's inevitable that many people are going to need to ssh into a linux box even if they don't need to do it now.
sthief09 is offline   Reply With Quote
Old 05-23-2015, 09:34 AM   #30
Low Key
Carpal \'Tunnel
 
Low Key's Avatar
 
Join Date: Jan 2007
Location: Thank you, Florida
Posts: 33,331
Re: learning Python

Not to derail, but you don't think the rollout of gigabit around the country could bring more GUI-based administration environments to the cloud?
Low Key is offline   Reply With Quote
Old 05-24-2015, 10:31 AM   #31
wishingwell
banned
 
Join Date: Apr 2015
Posts: 83
Re: learning Python

The only thing I know about the command line is what I have learned in lptwh. However, I find it much easier interacting with my computer that way rather than clicking on stuff. I have a windows machine so I use powershell. For the limited stuff I do, it really is a lot easier to use a text editor to write my python code and then use powershell to open python and run it.
wishingwell is offline   Reply With Quote
Old 06-01-2015, 09:57 PM   #32
vento
journeyman
 
Join Date: Mar 2009
Posts: 311
Re: learning Python

So far what I have been reading stuff online, watching videos and creating little simple programs I absolutely love python. Seem to be fairly straight forward and not too difficult to learn. I believe I can get a lot of everyday manual tasks sorted at work with this. Thanks for recommendations. Will have a look at all of them. Pandas is something I will likely to be using a lot and one day hopefully I could look into getting into machine learning with python.
vento is offline   Reply With Quote
Old 06-01-2015, 10:27 PM   #33
daveT
S.A.G.E. Master
 
daveT's Avatar
 
Join Date: Jun 2005
Location: La La Land
Posts: 22,887
Re: learning Python

Quote:
Originally Posted by Low Key View Post
Not to derail, but you don't think the rollout of gigabit around the country could bring more GUI-based administration environments to the cloud?
Oh please don't happen.

Using a GUI makes everything 10x slower. Just learning mv and cp will show how insane the notion is. Bash, sed, grep, scripting, package manager, and all the other tools you have access to makes the thought of using a GUI for a server unbearable.

PowerShell is awful, btw.
daveT is offline   Reply With Quote
Old 06-01-2015, 10:59 PM   #34
just_grindin
Pooh-Bah
 
Join Date: Dec 2007
Posts: 4,557
Re: learning Python

Quote:
Originally Posted by daveT View Post

PowerShell is awful, btw.
I agree for anything beyond very basic admin tasks.

Builtin help is pretty robust as well which is a big plus.
just_grindin is offline   Reply With Quote
Old 06-02-2015, 09:04 AM   #35
adios
Carpal \'Tunnel
 
Join Date: Sep 2002
Location: Russian Troll
Posts: 21,292
Re: learning Python

Quote:
Originally Posted by daveT View Post
Oh please don't happen.

Using a GUI makes everything 10x slower. Just learning mv and cp will show how insane the notion is. Bash, sed, grep, scripting, package manager, and all the other tools you have access to makes the thought of using a GUI for a server unbearable.

PowerShell is awful, btw.
For a time Microsoft was really pushing hard on PowerShell. Not sure if they still are. How could anyone go wrong with learning Python scripting? Sure Bash too over time but Python seems like a great place to start in my view.
adios is offline   Reply With Quote
Old 06-02-2015, 09:05 AM   #36
adios
Carpal \'Tunnel
 
Join Date: Sep 2002
Location: Russian Troll
Posts: 21,292
Re: learning Python

Quote:
Originally Posted by vento View Post
So far what I have been reading stuff online, watching videos and creating little simple programs I absolutely love python. Seem to be fairly straight forward and not too difficult to learn. I believe I can get a lot of everyday manual tasks sorted at work with this. Thanks for recommendations. Will have a look at all of them. Pandas is something I will likely to be using a lot and one day hopefully I could look into getting into machine learning with python.
GitHub too as a source to see how other devs are using it.
adios is offline   Reply With Quote
Old 06-03-2015, 01:24 PM   #37
vento
journeyman
 
Join Date: Mar 2009
Posts: 311
Re: learning Python

Quote:
Originally Posted by adios View Post
GitHub too as a source to see how other devs are using it.
Thanks. I will be reading through a lot code there. I have found out that with smaller projects if i dont understand most of it yet i can still delete a lot from the code and narrow it down to certain function or core functions and with this simplified code gain understanding what was done and after that i can look larger piece of code.
vento is offline   Reply With Quote
Old 06-03-2015, 01:30 PM   #38
vento
journeyman
 
Join Date: Mar 2009
Posts: 311
Re: learning Python

While im learning Python for fun and automate some of my task I'm also interested what should I learn if I decided to became junior python developer. Going for random interview and having a good understandng how to code basics with python what other skills would the employer /expect me to have?

Would appreaciate if someone can list most relevant skills and th reason why.


For example
1.Django...reason
vento is offline   Reply With Quote
Old 02-08-2017, 02:03 PM   #39
MarkMcKay
grinder
 
Join Date: Oct 2012
Posts: 409
Re: learning Python

Quote:
Originally Posted by vento View Post
While im learning Python for fun and automate some of my task I'm also interested what should I learn if I decided to became junior python developer. Going for random interview and having a good understandng how to code basics with python what other skills would the employer /expect me to have?

Would appreaciate if someone can list most relevant skills and th reason why.


For example
1.Django...reason
sad to see this thread dying a bit.

for people finding this thread and being interested in the above question, I would rank data structures at the top of the list and within those probably graph theory and traversal methods. Here is a technical screening coding challenge when applying as a junior developer at Amazon. You can choose whatever language you like:

Code:
/* Six degrees of separation is the theory that everyone and everything is six or fewer steps away, by way of introduction, from any other person in the world, so that a chain of "a friend of a friend" statements can be made to connect any two people in a maximum of six steps.

Let's have a look at Hollywood actors. Two actors are related if they played in the same movie. Find the degree of separation for any two given actors in your database.


Example
- Angelina Jollie: Mr. and Mrs. Smith, Salt
- Brad Pitt: Mr. and Mrs. Smith, Haloween Joke
- Jake Jim: Haloween Joke
- Graham Bell: Electric Light

getMoviesForActor("Angelina Jolie"); // returns ["Mr. and Mrs. Smith", "Salt"]
getActorsInMovie("Mr. and Mrs. Smith"); // returns ["Angelina Jolie", "Brad Pitt"]

The degree of separation between "Angelina Jollie" and "Jake Jim" is 2 because the simplest connection between the two actors contains two relationships through movies "Mr. and Mrs. Smith" and "Haloween Joke".

The degree of separation between "Graham Bell" and "Jake Jim" is "-1" because they are not connected. -1 is simply a special value that represents there is no connection.

Assumptions:
- all actor names are unique
- all movie names are unique

You’re given the following API from your movie database (e.g., IMDB):

List<String> getMoviesForActor(String actorName)
List<String> getActorsInMovie(String movieName)

Implement the following method using the API's above:

int getDegreeOfSeperation(String actor1, String actor2);
MarkMcKay is offline   Reply With Quote
Old 02-15-2017, 12:42 AM   #40
leavesofliberty
Carpal \'Tunnel
 
Join Date: Jul 2010
Location: probably busto
Posts: 6,225
Re: learning Python

Should I use C/C++ or Python? I took OOP in Scheme/LISP, and have done some precursory Python work. Long-term what's the play? Stick with C/C++ or move into Python? They have lots of math related libraries, community and such.
leavesofliberty is offline   Reply With Quote
Old 02-15-2017, 11:09 AM   #41
RustyBrooks
Carpal \'Tunnel
 
RustyBrooks's Avatar
 
Join Date: Feb 2006
Location: Austin, TX
Posts: 23,962
Re: learning Python

Quote:
Originally Posted by leavesofliberty View Post
Should I use C/C++ or Python? I took OOP in Scheme/LISP, and have done some precursory Python work. Long-term what's the play? Stick with C/C++ or move into Python? They have lots of math related libraries, community and such.
What do you want to do?

Personally I do both. Things where performance is critical I tend to lean on C++ and things where it isn't I tend to use python. Some projects use both (python for most things and C++ libraries loaded into python for other stuff)
RustyBrooks is offline   Reply With Quote
Old 02-15-2017, 12:08 PM   #42
Lattimer
I are smart
 
Lattimer's Avatar
 
Join Date: Feb 2009
Location: New England
Posts: 13,456
Re: learning Python

Yeah your question lacks context. As is, the only simple answer to give is "it depends".
Lattimer is offline   Reply With Quote
Old 03-01-2017, 12:20 AM   #43
MarkMcKay
grinder
 
Join Date: Oct 2012
Posts: 409
Re: learning Python

Quote:
Originally Posted by RustyBrooks View Post
What do you want to do?

Personally I do both. Things where performance is critical I tend to lean on C++ and things where it isn't I tend to use python. Some projects use both (python for most things and C++ libraries loaded into python for other stuff)
+1

it's not an either/or question. Also, look into Rust if you want to pick up anothe language which will gain popularity in the future. As the cloudbleed issue has shown, anything C++ will break in a gigantic way sooner or later.

To answer your question though, if you want to go into finance, C++ with Python and (sadly Java) is a very strong combo.
MarkMcKay is offline   Reply With Quote
Old 03-03-2017, 02:24 PM   #44
leavesofliberty
Carpal \'Tunnel
 
Join Date: Jul 2010
Location: probably busto
Posts: 6,225
Re: learning Python

Thanks for replies. Sticking w/ C++. Making a home lab for hold'em, etc. to answer some of these questions that keep popping up in FLH.
leavesofliberty is offline   Reply With Quote
Old 11-17-2017, 08:27 AM   #45
GuntShot
centurion
 
Join Date: Nov 2017
Posts: 152
Re: learning Python

Hello guys. I've done a fair bit of programming, but would like to finally master something.

I started to U Michigan course for data science, on Coursera, but a lot of the resources aren't currently active. I've looked over Udemy and that seems like it could be a good resource. Can anyone comment on Udemy?

Any book recommendations? Sometimes, it's brutal that I have a decent understanding, and finding something that can not start me off at hello world and show me the things I need to get the ball rolling with this particular language.
GuntShot is offline   Reply With Quote
Old 11-17-2017, 01:47 PM   #46
daveT
S.A.G.E. Master
 
daveT's Avatar
 
Join Date: Jun 2005
Location: La La Land
Posts: 22,887
Re: learning Python

EdX has a few intro courses in Python. Good luck.
daveT is offline   Reply With Quote
Old 11-17-2017, 01:53 PM   #47
GuntShot
centurion
 
Join Date: Nov 2017
Posts: 152
Re: learning Python

Ok , thanks.

Any advice on tying something in with a google API?

I want to go from speech to text, and then processing the text.
GuntShot is offline   Reply With Quote
Old 11-17-2017, 10:16 PM   #48
vento
journeyman
 
Join Date: Mar 2009
Posts: 311
Re: learning Python

Quote:
Originally Posted by GuntShot View Post
Ok , thanks.

Any advice on tying something in with a google API?

I want to go from speech to text, and then processing the text.
I think the Coursera course runs often. From youtube search playlists. maybe bucky python+ others who do more advanced stuff correct way. If any issues with basics read the 'learn python the hard way'.

Speech to text sounds very challenging. check for any existing libraries.
vento is offline   Reply With Quote
Old 11-19-2017, 08:04 PM   #49
ungarop
journeyman
 
ungarop's Avatar
 
Join Date: Dec 2004
Location: MA
Posts: 326
Re: learning Python

A good learning option for Python is CheckIO.org.
ungarop is offline   Reply With Quote
Old 11-26-2017, 07:14 PM   #50
GuntShot
centurion
 
Join Date: Nov 2017
Posts: 152
Re: learning Python

Quote:
Originally Posted by ungarop View Post
A good learning option for Python is CheckIO.org.
That site was weird!
GuntShot is offline   Reply With Quote

Reply
      

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Forum Jump


All times are GMT -4. The time now is 05:26 AM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright © 2008-2017, Two Plus Two Interactive
 
 
Poker Players - Streaming Live Online