256 Kilobytes

Hash Brown

Profile Photo - Hash Brown Hash Brown
🗎 37 🗨 246 🐏 71
Staff

I'm Hash Brown, I've done "computer stuff" for all my life.

Here are some of my latest articles:

Marketing:

Development:

Programming:

Misc:


Account created 3 months ago.
37 posts, 246 comments, and 71 RAMs.

Last active 15 hours ago:
Commented in thread Tom Anderson, A.K.A myspace Tom - Your first digital friend. Remember when social networks didn't spy on you?


"THAT DOG IS GETTING RAPED" - Terry A. Davis

Articles by Hash Brown

Posts and Comments by Hash Brown

37 posts, 238 comments

Profile Photo - Hash Brown

Reply to How to run a Python script in terminal?

Comments in Scripting and Automation | By Hash Brown

Published 1 month agoThu, 24 Jan 2019 00:10:02 -0800

Profile Photo - Hash Brown

Running python files on Linux

MoreRunning python files on Linux This is very similar to above Create a folder for your python projects and move any files here you want to ru...
🗨
3
🐏
0
👁
23
Profile Photo - Hash Brown

Reply to How to run a Python script in terminal?

Comments in Scripting and Automation | By Hash Brown

Published 1 month agoThu, 24 Jan 2019 00:03:09 -0800

Profile Photo - Hash Brown

Running python files in Terminal - Mac<b...

MoreRunning python files in Terminal - Mac Just like on windows, make a file in your home folder (the one with all your documents, movies, pictures and...
🗨
3
🐏
0
👁
23
Profile Photo - Hash Brown

Reply to How to run a Python script in terminal?

Comments in Scripting and Automation | By Hash Brown

Published 1 month agoWed, 23 Jan 2019 23:58:41 -0800

Profile Photo - Hash Brown

Hey dude,

MoreHey dude, This is fairly simple but can be complex at first. Exact instructions will depend on your OS.  I've written a short guide for...
🗨
3
🐏
0
👁
23
Profile Photo - Hash Brown

Reply to [Python] How to read in data from a CSV file?

Comments in Scripting and Automation | By Hash Brown

Published 1 month agoWed, 23 Jan 2019 23:36:59 -0800

Profile Photo - Hash Brown

Hey Homie

MoreHey Homie Use the CSV module: https://docs.python.org/3/library/csv.html You need to do something like this: >>> import c...
🗨
1
🐏
0
👁
24
Profile Photo - Hash Brown

Reply to How to read a text file in Python?

Comments in Scripting and Automation | By Hash Brown

Published 1 month agoWed, 23 Jan 2019 23:28:46 -0800

Profile Photo - Hash Brown

Hello,

MoreHello, This is fairly easy and you do it with open() >>> file = open("yourfile.txt", "r") >>> print(file.read()) Hope th...
🗨
1
🐏
0
👁
20
Profile Photo - Hash Brown

Reply to How long does it take to learn Python?

Comments in Scripting and Automation | By Hash Brown

Published 1 month agoWed, 23 Jan 2019 23:26:59 -0800

Profile Photo - Hash Brown

Hello,

MoreHello, It depends on a few things Do you have previous experience coding? Do you have natural talent for learning these things? How hard...
🗨
1
🐏
0
👁
20
Profile Photo - Hash Brown

Reply to How to remove element from a list in Python?

Comments in Scripting and Automation | By Hash Brown

Published 1 month agoWed, 23 Jan 2019 23:17:11 -0800

Profile Photo - Hash Brown

Hello,

MoreHello, list.remove() will remove a value from a list Use it like this: >>> cars = ["BMW", "Chevy", "Ford", "Tesla", "Black", "Hond...
🗨
1
🐏
0
👁
33
Profile Photo - Hash Brown
Profile Photo - Hash Brown

Hello,

MoreHello, This is most commonly an issue when you take code designed for Python 2 and try it on Python 3. If you have copied code or run through a...
🗨
1
🐏
0
👁
33
Profile Photo - Hash Brown
Profile Photo - Hash Brown

Hey,

MoreHey, You need to do this: >>> username = "TunesCool9" >>> print(username[:-1])] TunesCool Adding [:-1] to the end of...
🗨
1
🐏
0
👁
24
Profile Photo - Hash Brown

Reply to How to remove duplicates from a list in Python?

Comments in Scripting and Automation | By Hash Brown

Published 1 month agoWed, 23 Jan 2019 22:53:08 -0800

Profile Photo - Hash Brown

Hey

MoreHey The best way to do this in python is convert your list into a set(). Sets are distinct sets of values. This means no duplicate information c...
🗨
1
🐏
0
👁
36