Jump to content

Comming from PHP and (Node)JS I've also gained interest in Python. I have taken a glance at it and it doesn't seem really difficult. But to actually learn it I need to think up a small project I can do with Python.

CPU: i7-12700KF Grill Plate Edition // MOBO: Asus Z690-PLUS WIFI D4 // RAM: 16GB G.Skill Trident Z 3200MHz CL14 

GPU: MSI GTX 1080 FE // PSU: Corsair RM750i // CASE: Thermaltake Core X71 // BOOT: Samsung Evo 960 500GB

STORAGE: WD PC SN530 512GB + Samsung Evo 860 500GB // COOLING: Full custom loop // DISPLAY: LG 34UC89G-B

Link to post
Share on other sites

For learning general programming concepts, yes it's quite good. Also if you intend to work primarily in python it's also good. But if you intend to move on to other languages I'd probably start with something different.  Python is rife with stuff that is done different than norm and may be confusing when trying to switch. Personally I'd start with c# or Java. 

Link to post
Share on other sites

5 hours ago, Limecat86 said:

Comming from PHP and (Node)JS I've also gained interest in Python. I have taken a glance at it and it doesn't seem really difficult. But to actually learn it I need to think up a small project I can do with Python.

I went from c# to python. Did nothing but python for a year selling scripts then got a job 2 months ago doing node/angular

 

Python has so many modules if I had to recommend a few they would be:

 

multiprocessing, so you can split work across multiple CPU cores.

gevent, green threads allowing async threading <- one of my favs

beautifulsoup, allows parsing HTML for we scraping 

requests, to make HTTP requests

robobrowser, a join of the two above to allow you to "browse" the web like a browser but in pure python

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to post
Share on other sites

I was debating between ruby and python but I'm glad I decided to try python first, Its really easy to learn and you grasp concepts that are used throughout other high level languages. P.S. I already knew Java when starting and I linked common concepts between the 2. 

Link to post
Share on other sites

On 1/20/2018 at 1:32 PM, AtomicWaveBlast said:

Is python a good started language?

I started by teaching myself C# to an intermediate level. I then went to college and learned python there. I forgot nearly everything I knew about C#. Now I am reteaching it to myself and I'm finding that it has a lot of features that I wish were in Python (beyond just that the FCL is very nice).

ENCRYPTION IS NOT A CRIME

Link to post
Share on other sites

On 20.1.2018 at 8:32 PM, AtomicWaveBlast said:

Is python a good started language?

No.

 

1. Its syntax is horrible (no brackets), you won't learn to abstract to other languages because most other languages are ALGOL- or Lisp-derived.

2. It has no compiler.

3. Its performance sucks.

 

Conclusion: Start with C or Pascal, expand to C++ or Delphi/Go later.

If you just want to learn algorithms (which is adequate in Python, minus Python's atrocities), try Common Lisp.

Write in C.

Link to post
Share on other sites

1 hour ago, Dat Guy said:

No.

 

1. Its syntax is horrible (no brackets), you won't learn to abstract to other languages because most other languages are ALGOL- or Lisp-derived.

2. It has no compiler.

3. Its performance sucks.

 

Conclusion: Start with C or Pascal, expand to C++ or Delphi/Go later.

If you just want to learn algorithms (which is adequate in Python, minus Python's atrocities), try Common Lisp.

What is loses in performance it fails is development that can be a 1/3 of languages such as java and c#.

 

No compiler can be seen as a positive as it reports errors that you other wise wouldn't notice while compiling. 

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to post
Share on other sites

51 minutes ago, straight_stewie said:

What do you mean?

I don't know if they meant it this way but I interpreted it as:

Quote

What is some loss in performance compared to the advantage of spending 1/3 of the development time spent in other languages (Such as Java and C#).

 

Closer to the topic, I don't think someone learning to program should worry much on the performance of a language (They should still learn to optimize their code though). After they have established a greater understanding of programming in general and are wanting to make something more demanding (Such as a game and etc), perhaps then would be a good time to worry. (Bilingual programmers ftw!)

Link to post
Share on other sites

56 minutes ago, tjcater said:

What is some loss in performance compared to the advantage of spending 1/3 of the development time spent in other languages (Such as Java and C#).

This is exactly what I meant, although python is "slower" it makes up for it in speed of development.

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to post
Share on other sites

Python is ridiculously easy to get started with and use, and development time is next to none. I used to dislike it but eventually started using it in web projects instead of PHP. Not to mention its very portable; I can develop a script on my Windows machine and it'll run as intended on my Linux server.

Speedtests

WiFi - 7ms, 22Mb down, 10Mb up

Ethernet - 6ms, 47.5Mb down, 9.7Mb up

 

Rigs

Spoiler

 Type            Desktop

 OS              Windows 10 Pro

 CPU             i5-4430S

 RAM             8GB CORSAIR XMS3 (2x4gb)

 Cooler          LC Power LC-CC-97 65W

 Motherboard     ASUS H81M-PLUS

 GPU             GeForce GTX 1060

 Storage         120GB Sandisk SSD (boot), 750GB Seagate 2.5" (storage), 500GB Seagate 2.5" SSHD (cache)

 

Spoiler

Type            Server

OS              Ubuntu 14.04 LTS

CPU             Core 2 Duo E6320

RAM             2GB Non-ECC

Motherboard     ASUS P5VD2-MX SE

Storage         RAID 1: 250GB WD Blue and Seagate Barracuda

Uses            Webserver, NAS, Mediaserver, Database Server

 

Quotes of Fame

On 8/27/2015 at 10:09 AM, Drixen said:

Linus is light years ahead a lot of other YouTubers, he isn't just an average YouTuber.. he's legitimately, legit.

On 10/11/2015 at 11:36 AM, Geralt said:

When something is worth doing, it's worth overdoing.

On 6/22/2016 at 10:05 AM, trag1c said:

It's completely blown out of proportion. Also if you're the least bit worried about data gathering then you should go live in a cave a 1000Km from the nearest establishment simply because every device and every entity gathers information these days. In the current era privacy is just fallacy and nothing more.

 

Link to post
Share on other sites

21 hours ago, vorticalbox said:

 

robobrowser, a join of the two above to allow you to "browse" the web like a browser but in pure python

So something like selenium?

 

5 hours ago, Dat Guy said:

No.

 

1. Its syntax is horrible (no brackets), you won't learn to abstract to other languages because most other languages are ALGOL- or Lisp-derived.

2. It has no compiler.

3. Its performance sucks.

 

Conclusion: Start with C or Pascal, expand to C++ or Delphi/Go later.

If you just want to learn algorithms (which is adequate in Python, minus Python's atrocities), try Common Lisp.

1)The fact that there are no brackets and that Python forces you to indent your code correctly is a big plus in my opinion.It teaches people to format their code properly, in C(/++) you can write the entire program in one line.

2)Neither do PHP and JS and yet they are used a lot (it seems that Python is used far more in data science than C)

3)Which means nothing to beginners.Doesn't Google use it too?

Link to post
Share on other sites

2 hours ago, MyName13 said:

So something like selenium?

Better as it's just requests and beautofulsoup so you don't have the over head of loading a browser. You can do anything that require a JavaScript though as it's not a browser.

 

 

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to post
Share on other sites

9 hours ago, Dat Guy said:

Its syntax is horrible (no brackets), you won't learn to abstract to other languages because most other languages are ALGOL- or Lisp-derived.

I like it . . .

ORANGE SCREEN WINDOWS 10 VALUE OVER TIME - PC VS MAC

Spoiler

i5 7600k @ 5.0 GHz xD

Corsair H60 with Noctua NF-F12 iPPC-3000 PWM

MSI Z270-A Pro Motherboard

EVGA 1050 Ti SC

16 GB Corsair DDR4 @ 2400 MHz

500 GB Sandisk 950 PRO - Windows 10, Elementary OS, Zorin OS

500 GB Sandisk 850 PRO

1 TB WD Blue

Corsair CX750

1 x Corsair AF120 Quiet Red Led

Rosewell Tyrfing Case

Spoiler

EliteBook 8570w
i7 3720QM @ 2.6 GHz
Quadro K1000M
24 GB DDR3 @ 1600 MHz
250 GB SanDisk 850 EVO - Elementary OS, Windows 10, Debian

Spoiler

i5 3470 @ 3.2 GHz
EVGA 750 Ti SC
8 GB DDR3 @ 1333 MHz
240 GB SanDisk - Windows 10, Linux Mint

 

Link to post
Share on other sites

I would start with C# rather than Python. The syntax is more applicable and you can use Unity to make the learning more fun. Python is good if you want to learn more about AI stuff.

ORANGE SCREEN WINDOWS 10 VALUE OVER TIME - PC VS MAC

Spoiler

i5 7600k @ 5.0 GHz xD

Corsair H60 with Noctua NF-F12 iPPC-3000 PWM

MSI Z270-A Pro Motherboard

EVGA 1050 Ti SC

16 GB Corsair DDR4 @ 2400 MHz

500 GB Sandisk 950 PRO - Windows 10, Elementary OS, Zorin OS

500 GB Sandisk 850 PRO

1 TB WD Blue

Corsair CX750

1 x Corsair AF120 Quiet Red Led

Rosewell Tyrfing Case

Spoiler

EliteBook 8570w
i7 3720QM @ 2.6 GHz
Quadro K1000M
24 GB DDR3 @ 1600 MHz
250 GB SanDisk 850 EVO - Elementary OS, Windows 10, Debian

Spoiler

i5 3470 @ 3.2 GHz
EVGA 750 Ti SC
8 GB DDR3 @ 1333 MHz
240 GB SanDisk - Windows 10, Linux Mint

 

Link to post
Share on other sites

On 1/21/2018 at 8:00 AM, Limecat86 said:

Comming from PHP and (Node)JS I've also gained interest in Python. I have taken a glance at it and it doesn't seem really difficult. But to actually learn it I need to think up a small project I can do with Python.

The project I am using to learn JavaScript is a Dungeons and Dragons stat rolling script that simulates rolling dice a certain amount of times, taking the smallest out of the group and adding up the rest, and then repeating and finding the smallest out of the total group of sums. I don't even play d&d but it has helped me learn a lot about the math operators in js.

Link to post
Share on other sites

7 hours ago, TurbulentWinds said:

I would start with C# rather than Python. The syntax is more applicable and you can use Unity to make the learning more fun. Python is good if you want to learn more about AI stuff.

Python is great for much more than Ai. Web scraping, data processing, calculations and the like. 

 

It work (I use node at work) I use python to stress test our end points. 

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to post
Share on other sites

2 hours ago, vorticalbox said:

Python is great for much more than Ai. Web scraping, data processing, calculations and the like. 

 

It work (I use node at work) I use python to stress test our end points. 

What about like simple games?

Link to post
Share on other sites

It's perfect for learning the basic concepts. You won't be creating games with it, but it will help you understand the ropes so you can go on to a more powerful language like C. 

Make sure to quote or tag me (@JoostinOnline) or I won't see your response!

PSU Tier List  |  The Real Reason Delidding Improves Temperatures"2K" does not mean 2560×1440 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×