Python Request, Virtual Environment, Results and C#

Ha! I bet you are thinking! what is this guy talking about when he mention that tittle. Well, first! Lets start with Python request if you don’t have the packet in your computer you might have to do a

“` pip install request

once you install request just start playing with it. requests is the is the de facto standard for making HTTP requests in Python.

To use it lets just say that you want to use request to use google and get a whole bunch of mambo yambo that it is hard to understand you might use,

import requests
response1 = requests.get('https://google.com')

or if you want to call an API with python like useless facts.

response = requests.get('https://uselessfacts.jsph.pl/random.json?language=en')
#then print them! 
print(response.text) 

pretty cool ha!! I have been lately a lot in Real Python as well as Caleb Curry boot camp! check them out! they have good resources.

Also I would recommend you start using python virtual environments in your project that way you can separate all your stuff keep everything in its own environment. Here is a good tutorial about Virtual environment.https://realpython.com/python-virtual-environments-a-primer/

I also competed last week at the Palmetto Cyber Defense Competition, We didn’t win! but we had a lot of technical issues with the environment, I mean some of the passwords didn’t even want to work, if you updated a policy the environment would break. it was a great experience though and I learned a lot from it. I was able to start two databases and run the Apache server one DB had a GUI the other DB in a different computer in a different environment it was through the terminal. I was pretty ready to do whatever task I had to do with the DB or the server but the AWS didn’t want to cooperate with me. 🙂 I am pretty good using Apache and Mysql using XAMP. I mean the http or files that you really need to play with are in the htdocs folders inside xamp it was fun! Right now In college I am taking Mobile Dev II basically advance Mobile development, we are using C# specially the .NET framework XAMARIN forms. I think XAMARIN might go away in the near future and it will get replace with MAUI. MAUI is a multi platform so is Xamarin. it is awesome to build GUI apps, it is a different ball game. although In the Future I will be learning Beeware and Kivy which are the two Python mobile dev stuff with Python.

I am also building a new computer it will be straight up Linux! 12 Core Ryzen 9 CPU, 64 Gs of Ram straight for programming. Sometimes the computer needs some Ump and I like fast computers, I mean who doesn’t! Really. HAHA!

Any way, this is all for now, I think I suck at blogging but I try! LOL! TTYL.