Thread: Python Tutorial

Results 1 to 10 of 10
  1. #1
    BoomFries's Avatar
    Join Date
    Oct 2018
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    10
    My Mood
    Stressed

    Post Python Tutorial

    Python Tutorial
    by
    BoomFries

    I will release Weekly Tutorials For Python, really basic stuff, just for the begginers.

    Start: 19/10/2018
    End: ??/??/????


    • 19/10/2018:

      1. Added the first pdf: Introduction to Python


    <b>Downloadable Files</b> Downloadable Files

  2. The Following 7 Users Say Thank You to BoomFries For This Useful Post:

    DrHackman (06-06-2022),FraseCiliado (10-23-2018),hokko (10-23-2018),ImChuckk (11-17-2019),Jumba (12-12-2018),kreytos09 (09-24-2019),yungxslavy (10-19-2018)

  3. #2
    MikeRohsoft's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    Los Santos
    Posts
    797
    Reputation
    593
    Thanks
    26,314
    I don't even program in Python, but for me, the latest installation only made problems.
    I only needed it for emscripten which comes with a lot of batch files which want to call the right python script and .. it never works xD
    Typing python results in Command not found. Even pip is not available.
    I'd to rewrite every batch script that it use py instead of python and py -m pip instead of pip.
    Then everything worked fine.

  4. The Following User Says Thank You to MikeRohsoft For This Useful Post:

    BoomFries (10-19-2018)

  5. #3
    BoomFries's Avatar
    Join Date
    Oct 2018
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    10
    My Mood
    Stressed
    Quote Originally Posted by MikeRohsoft View Post
    I don't even program in Python, but for me, the latest installation only made problems.
    I only needed it for emscripten which comes with a lot of batch files which want to call the right python script and .. it never works xD
    Typing python results in Command not found. Even pip is not available.
    I'd to rewrite every batch script that it use py instead of python and py -m pip instead of pip.
    Then everything worked fine.
    Yes, python can cause a lot of problems sometimes, even the syntax can change from a version to another.
    Sometimes for example i had to add to every print the brackets, because in the version i had they were necessary.

  6. #4
    Kappatos's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Posts
    152
    Reputation
    44
    Thanks
    11
    My Mood
    Cool
    Quote Originally Posted by BoomFries View Post
    Yes, python can cause a lot of problems sometimes, even the syntax can change from a version to another.
    Sometimes for example i had to add to every print the brackets, because in the version i had they were necessary.
    there is a reason why python 2.X its called python2 and python 3.x its called python3 LOL.
    What do u mean "python can cause a lot of problems"?
    U can still use python2 instead of python3.What kind of logic is this?

  7. #5
    BoomFries's Avatar
    Join Date
    Oct 2018
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    10
    My Mood
    Stressed
    Quote Originally Posted by Kappatos View Post
    there is a reason why python 2.X its called python2 and python 3.x its called python3 LOL.
    What do u mean "python can cause a lot of problems"?
    U can still use python2 instead of python3.What kind of logic is this?
    I mean that sometimes you have to convert a whole python2 project to python3 due to compatibility issues

  8. #6
    Kappatos's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Posts
    152
    Reputation
    44
    Thanks
    11
    My Mood
    Cool
    Quote Originally Posted by BoomFries View Post
    I mean that sometimes you have to convert a whole python2 project to python3 due to compatibility issues
    https://www.python.org/downloads/

    Python 2.X
    Python 3.X

    Just OMEGALUL

  9. #7
    MikeRohsoft's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    Los Santos
    Posts
    797
    Reputation
    593
    Thanks
    26,314
    Quote Originally Posted by Kappatos View Post
    https://www.python.org/downloads/

    Python 2.X
    Python 3.X

    Just OMEGALUL
    i don't know what is to laught on this
    This concept is a NoGo
    If C++ wouldn't be compatible anymore with C it would have failed the Concept
    I also can compile very old Turbo Pascal Code with modern Objective Pascal
    And JavaScript 1.0 (from 1995) written Code will still work on ECMAScript 2017
    To know that Python 3.X is not compatible to 2.X means, they are different Programming Languages and not an Update
    It's sounds for me more like C# and VB.NET. Its the same Engine with different Syntax


    - - - Updated - - -

    In AHK (AutoHotkeys) is a good Counter example, because Lexikos made a much more mightier and dynamic AHK out of AHK
    But he broke some syntax from the old one by it, what meaned that is not fully Compatible anymore and it also meaned, it can not replace AHK and thats why it become AHK_L

  10. #8
    Kappatos's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Posts
    152
    Reputation
    44
    Thanks
    11
    My Mood
    Cool
    Quote Originally Posted by MikeRohsoft View Post


    i don't know what is to laught on this
    This concept is a NoGo
    If C++ wouldn't be compatible anymore with C it would have failed the Concept
    I also can compile very old Turbo Pascal Code with modern Objective Pascal
    And JavaScript 1.0 (from 1995) written Code will still work on ECMAScript 2017
    To know that Python 3.X is not compatible to 2.X means, they are different Programming Languages and not an Update
    It's sounds for me more like C# and VB.NET. Its the same Engine with different Syntax


    - - - Updated - - -

    In AHK (AutoHotkeys) is a good Counter example, because Lexikos made a much more mightier and dynamic AHK out of AHK
    But he broke some syntax from the old one by it, what meaned that is not fully Compatible anymore and it also meaned, it can not replace AHK and thats why it become AHK_L
    His example is referred to print("Hello world") and print "Hello world" (or w/e is that on python2)
    The first looks better imo because its more similar with Java/C.How does this change breaks any syntax?
    Also,u can run any script with typing python2 or python3 ,so noone forces u to make changes into any script.
    Noone forces u to rewrite any script from 2 to 3

    Also,with a simple google search https://www.geeksforgeeks.org/write-...nt-compiler-c/

    Thats why,it is OMEGALUL
    Last edited by Kappatos; 10-20-2018 at 08:50 AM.

  11. #9
    MikeRohsoft's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    Los Santos
    Posts
    797
    Reputation
    593
    Thanks
    26,314
    the half of the exmaples what compiles in C and not in C++ is a bad joke. To name a variable name to a reserved name in the upgraded version is no conception break and to can define functions later then used is also a bad concept even in C. It may works and not works anymore in C++, but it's not an issue at all.
    And most we talk about "bad stuff" which compiled in C and not in C++ anymore, like define a constant without defining a constant.. what is the use practise on it?
    to make a difference between print "Hello World" and print("Hello World") is not important, because if it's like in perl where both of it works. But if 1) works in py 2.0 and 2) in py 3.0 then they are different languages and it's not an upgrade

  12. #10
    Slazi's Avatar
    Join Date
    Mar 2021
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    0
    Thanks you very much

Similar Threads

  1. [Tutorial] Python tutorial
    By A.alfa in forum Programming Tutorials
    Replies: 23
    Last Post: 05-27-2021, 11:26 AM
  2. [Tutorial] Swift Tutorial
    By ATTbetterthanVERIZON in forum Programming Tutorials
    Replies: 1
    Last Post: 03-13-2016, 08:56 AM
  3. [Tutorial] Roppongi Glitch Tutorial
    By Seanwong98 in forum Blackshot Coding & Hacking Tutorials
    Replies: 2
    Last Post: 12-31-2015, 11:46 PM
  4. [Tutorial] Hide Out Map Glitches Tutorial 1/12/15
    By Seanwong98 in forum Blackshot Coding & Hacking Tutorials
    Replies: 7
    Last Post: 12-17-2015, 10:23 PM
  5. [Tutorial]Learning Python
    By graysonmanolov in forum Programming Tutorials
    Replies: 5
    Last Post: 08-24-2010, 09:00 PM