Results 1 to 4 of 4

Thread: Testing Clraik Pseudo-Html (Please Disregard)

  1. #1
    *squeak*
    Bat's Avatar
    Joined
    Nov 2012
    Posts
    4,040
    Userbars
    152
    Thanks
    2,147
    Thanked
    46,709/3,563
    DL/UL
    34/1
    Mentioned
    1,769 times
    Time Online
    644d 1h 41m
    Avg. Time Online
    3h 41m

    Testing Clraik Pseudo-Html (Please Disregard)

    Hey @(you need an account to see links) ... here's a copy of your guide. I've replaced each url linking to an image with an image tag wrapped in a spoiler tag. Click "Reply With Quote" to view this post's source.




  2. Now install the same, once again refer to the screenshots

    Make sure to click on the disable path length limit option.



  3. Now we will be renaming some files to python2 and python3 to be more systematic.



  4. Next, we will be adding them to our file path.
    Click on the windows button at bottom left of page and type System Environment Variables.
    An option should show, click on it.


  5. Now click on New and enter the paths, follow the screenshots for guidance. Remember the sequence Red -> Green ->Orange.


    Open a new explorer window and go to the python2 install path.


    Right click on the file




    Copy the path and paste it after selecting new


    Repeat for Scripts Folder



  6. Repeat Step 5 for python3 , just remember it's installed at another place, refer to the below screenshot for the same
  7. After setting the build paths correctly it should show like this
  8. Now lets run a program and see. First navigate to the program folder that you want to run. Then Press and hold SHIFT key and right click. It should show the below options. Kindly note powershell is similar to cmd with some extra features, so it's better if you use it.
  9. Pip is something we will use to install python modules such as Pillow, mechanize, etc. Lets now first make sure PIP is upto date else it will give error saying "Unable to create process using '''' "
    Run the following 2 commands



    pip2 is for python2 and pip3 for python3 . To install a module simply run pip2 install "modulenameherewithoutquotes" or pip3 install "modulenameherewithoutquotes".
    Here is an example:
  10. Now lets finally run the program.
    Remember to run a python 2 program type
    python2 "filenamewithoutquotes".py
    and for python3
    python3 "filenamewithoutquotes".py
    Make sure you are in the same directory as the file you are running.
    To go to a particular directory type
    cd "directorypathherewithoutquotes"
    Eg: cd C:/Python

    Here is an example of me running DailyDoer while being in the same directory
  11. That's it folks. That's how to install python and run python programs.




If you have any suggestions or need help, feel free to reach out to me or other folks here on clraik, we are happy to help
Update: Added image links to imgur for better resolution
Reply With Quote Reply With Quote

  • The Following 2 Users Say Thank You to Bat For This Useful Post:

    Pinecone (12-25-2018),Tyler Durden (12-25-2018)

  • #2

    Tyler Durden's Avatar
    Joined
    Nov 2018
    Posts
    75
    Userbars
    2
    Thanks
    83
    Thanked
    29/18
    DL/UL
    29/0
    Mentioned
    3 times
    Time Online
    7d 22h 28m
    Avg. Time Online
    5m
    @(you need an account to see links), firstly thanks alot I made some modifications so it looks like it is below.
    But don't you think the original one was better? This spoiler style increases the number of clicks significantly, hampering user experience.



  • Now install the same, once again refer to the screenshots

    Please log in to view spoilers.


    Make sure to click on the disable path length limit option.

    Please log in to view spoilers.

  • Now we will be renaming some files to python2 and python3 to be more systematic.

    Please log in to view spoilers.

  • Next, we will be adding them to our file path.
    Click on the windows button at bottom left of page and type System Environment Variables.
    An option should show, click on it.

    Please log in to view spoilers.

  • Now click on New and enter the paths, follow the screenshots for guidance. Remember the sequence Red -> Green ->Orange.

    Please log in to view spoilers.


    Open a new explorer window and go to the python2 install path.

    Please log in to view spoilers.


    Right click on the file

    Please log in to view spoilers.


    Copy the path and paste it after selecting new

    Please log in to view spoilers.


    Repeat for Scripts Folder

    Please log in to view spoilers.

  • Repeat Step 5 for python3 , just remember it's installed at another place, refer to the below screenshot for the same

    Please log in to view spoilers.

  • After setting the build paths correctly it should show like this

    Please log in to view spoilers.

  • Now lets run a program and see. First navigate to the program folder that you want to run. Then Press and hold SHIFT key and right click. It should show the below options. Kindly note powershell is similar to cmd with some extra features, so it's better if you use it.

    Please log in to view spoilers.

  • Pip is something we will use to install python modules such as Pillow, mechanize, etc. Lets now first make sure PIP is upto date else it will give error saying "Unable to create process using '''' "
    Run the following 2 commands

    Please log in to view spoilers.


    pip2 is for python2 and pip3 for python3 . To install a module simply run pip2 install "modulenameherewithoutquotes" or pip3 install "modulenameherewithoutquotes".
    Here is an example:

    Please log in to view spoilers.

  • Now lets finally run the program.
    Remember to run a python 2 program type
    python2 "filenamewithoutquotes".py
    and for python3
    python3 "filenamewithoutquotes".py
    Make sure you are in the same directory as the file you are running.
    To go to a particular directory type
    cd "directorypathherewithoutquotes"
    Eg: cd C:/Python
    Here is an example of me running DailyDoer while being in the same directory

    Please log in to view spoilers.

  • That's it folks. That's how to install python and run python programs.




  • If you have any suggestions or need help, feel free to reach out to me or other folks here on clraik, we are happy to help
    Update: Added image links to imgur for better resolution
    Last edited by Tyler Durden; 12-25-2018 at 04:42 AM.
    Guide to install and run Python programs
    (you need an account to see links)
    Reply With Quote Reply With Quote

  • #3
    *squeak*
    Bat's Avatar
    Joined
    Nov 2012
    Posts
    4,040
    Userbars
    152
    Thanks
    2,147
    Thanked
    46,709/3,563
    DL/UL
    34/1
    Mentioned
    1,769 times
    Time Online
    644d 1h 41m
    Avg. Time Online
    3h 41m
    Quote Originally Posted by scytherash View Post
    @(you need an account to see links), firstly thanks alot I made some modifications so it looks like it is below.
    But don't you think the original one was better? This spoiler style increases the number of clicks significantly, hampering user experience.



  • Now install the same, once again refer to the screenshots

    Please log in to view spoilers.



    Make sure to click on the disable path length limit option.


    Please log in to view spoilers.

  • Now we will be renaming some files to python2 and python3 to be more systematic.

    Please log in to view spoilers.

  • Next, we will be adding them to our file path.
    Click on the windows button at bottom left of page and type System Environment Variables.
    An option should show, click on it.

    Please log in to view spoilers.

  • Now click on New and enter the paths, follow the screenshots for guidance. Remember the sequence Red -> Green ->Orange.

    Please log in to view spoilers.



    Open a new explorer window and go to the python2 install path.

    Please log in to view spoilers.



    Right click on the file

    Please log in to view spoilers.




    Copy the path and paste it after selecting new

    Please log in to view spoilers.



    Repeat for Scripts Folder

    Please log in to view spoilers.

  • Repeat Step 5 for python3 , just remember it's installed at another place, refer to the below screenshot for the same

    Please log in to view spoilers.

  • After setting the build paths correctly it should show like this

    Please log in to view spoilers.

  • Now lets run a program and see. First navigate to the program folder that you want to run. Then Press and hold SHIFT key and right click. It should show the below options. Kindly note powershell is similar to cmd with some extra features, so it's better if you use it.

    Please log in to view spoilers.

  • Pip is something we will use to install python modules such as Pillow, mechanize, etc. Lets now first make sure PIP is upto date else it will give error saying "Unable to create process using '''' "
    Run the following 2 commands

    Please log in to view spoilers.



    pip2 is for python2 and pip3 for python3 . To install a module simply run pip2 install "modulenameherewithoutquotes" or pip3 install "modulenameherewithoutquotes".
    Here is an example:

    Please log in to view spoilers.

  • Now lets finally run the program.
    Remember to run a python 2 program type
    python2 "filenamewithoutquotes".py
    and for python3
    python3 "filenamewithoutquotes".py
    Make sure you are in the same directory as the file you are running.
    To go to a particular directory type
    cd "directorypathherewithoutquotes"
    Eg: cd C:/Python

    Here is an example of me running DailyDoer while being in the same directory

    Please log in to view spoilers.

  • That's it folks. That's how to install python and run python programs.




  • If you have any suggestions or need help, feel free to reach out to me or other folks here on clraik, we are happy to help
    Update: Added image links to imgur for better resolution
    While I agree that the spoiler tags are irksome, they allow the person reading your guide to stay within a single page as they follow it's instructions. The find-and-replace that I did to this guide wrapped each image with a spoiler, but you could cut down on those spoilers by grouping some of the images together. Personally, I would have loaded the images into the guide without the spoiler tags for the reader's convenience. A webpage is meant to be scrolled through after all, and having all of the visual elements for a guide in the same place makes it easier to stay on track.

    In the end, however you choose for your guide to look is up to you. I just wanted to elaborate on the options that the moderators were suggesting to you.
    Reply With Quote Reply With Quote

  • The Following User Says Thank You to Bat For This Useful Post:

    Tyler Durden (12-25-2018)

  • #4

    Tyler Durden's Avatar
    Joined
    Nov 2018
    Posts
    75
    Userbars
    2
    Thanks
    83
    Thanked
    29/18
    DL/UL
    29/0
    Mentioned
    3 times
    Time Online
    7d 22h 28m
    Avg. Time Online
    5m
    Quote Originally Posted by Odd View Post
    While I agree that the spoiler tags are irksome, they allow the person reading your guide to stay within a single page as they follow it's instructions. The find-and-replace that I did to this guide wrapped each image with a spoiler, but you could cut down on those spoilers by grouping some of the images together. Personally, I would have loaded the images into the guide without the spoiler tags for the reader's convenience. A webpage is meant to be scrolled through after all, and having all of the visual elements for a guide in the same place makes it easier to stay on track.

    In the end, however you choose for your guide to look is up to you. I just wanted to elaborate on the options that the moderators were suggesting to you.
    Couldn't agree more. Thanks man
    Guide to install and run Python programs
    (you need an account to see links)

  • Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •