Jump to content
Killersites Community

Dan13

Member
  • Content Count

    15
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Dan13

  1. Dan13

    Made a Python Terminal Clock in ASCII Art

    The file download has formatting issues in the displayed. I made some corrections that should work at the GitHub version I posted.
  2. https://github.com/djfalls13/PyClock.git This took some doing and weird formatting tricks, but it works. I had a lot of trouble getting ASCII Art stored as Multi-Line Variable to display side by side, so I made each ASCII Art number a List to iterate through line by line. This whole project experience reminds me of art I used to see on BBSes or really old DOS games. I used the Python Time module to control which ASCII Art number is called from a List of Lists and I used Google to look up the TIme Module formatting. I used an online tool here to help create the Text Graphics: http://patorjk.com/software/taag/#p=display&f=Graffiti&t=Type%20Something%20 I might try another version of this idea with the nCurses module. I may also rework the code with OOP to make the Clock a Class Object. That way this code could more easily be put into other programs. I feel that for myself this was a good project that created a useful tool having a Text Clock on my screen. I like that this relies heavily on Iteration which I think is a tricky fundamental part of programming to learn. I will honestly say I feel a little like my brain is fried as I try to learn a different way of thinking, but it is very rewarding to get the final working result. My last thought is this makes me think about what kind of niche I see myself as an avid Linux user creating this tool for the terminal. Maybe embedded non-graphical systems that need user menus? I do have one question though. I can only exit this with Control-C and wondered if there is a better way to escape a program like this. EDIT: I thought I'd add one small note that this is displayed in Military style 2400 clock time on purpose or from habit. I currently work in transportation and we use the 2400 style time by convention. If I were inclined, I suppose I could rework this to display the normal clock with AM and PM. clock2.py
  3. Dan13

    Distributing or Packaging Python Programs?

    I'm working on a basic program to display a clock in the terminal by using the Time library to get the time, then by build a display from ASCII ART style numbers stored in variables. I think most of this idea is worked out except I would the user to be able to close the program by pressing the 'q' button. It seems there basic way to do this built in Python so it may need another module installed with Pip. If I import a module with Pip installer, how would I share my program without making the user go through the same extra step? For now my clock works counting test and I"m working on making it count in ASCII ART like this, but I can only cancel the Loop with Control-C. __ __ __ / \ _). /| |_ \__/ __). | __)
  4. I'm getting through the Killer Python course and reviewed the Career Paths videos. One of the major next steps is to trying coding, find a niche, and build a portfolio. One obvious option for showing and distributing code is Github, but I'm not sure how that would work for a Windows user if they don't have Python's Interpreter(I think this is preinstalled on Linux and Mac). While Python isn't really thought of as something to 'compile', some initial Google searching suggests there are tools to pack the program with the Interpreter into an .EXE file? I also wondered if we should be concerned about it installing to the Start Button Menu in Windows. I'm also a little curious about Python in Android and if that is practical at all or if that is realistically just Java territory. Otherwise, the course was interesting and I think the provided Source Files will be a good reference. Now I just need time to code when my day job isn't keeping me busy.
  5. Dan13

    Should you learn C++ in 2018

    Any thoughts on Game Programming as a feasible career with C++? One of my concerns is I hear some studios cause burnout from making coders work very long hours.
  6. Dan13

    Come on in! Have a coffee with Stef!

    Switched it up and had hot Chai Tea
  7. Dan13

    Dabbling in Python with Turtle

    I started Stef's KillerPython as a programming refresher and to clarify some things in Python. I like this tool Turtle that he chose to explain things. It's less complicated than other tutorials I've seen trying to use TKinter or even worse PyGame. In the attached code, I have functions for drawing a square or triangle making use of For Loops and If Then statements. The first argument controls the size of the shapes. I wanted a way to accept a second argument telling the Turtle to draw the shape to the left or the right, but I seemed to be getting into a weird situation trying to get Words or Strings accepted as arguments. I defined right = 1 and left = 2 so they sort of behaved like integers in my IF statement. Anyway, so far I'm enjoying the approach to KillerPython. As I said in a post on YouTube, I've had some coding classes that leaned heavily on Power Point and were so awfully boring lol. This is much better feeling more casual and interactive. Testing.py
  8. Dan13

    Dabbling in Python with Turtle

    So far the course is working and I have all the files downloaded. I'm also using PyCharm IDE on Linux. My main challenge is fitting in course time around my work schedule.
  9. I just wondered if Stef or other had general thoughts on career paths for Linux enthusiasts learning to code. If I wound up doing something for Web Development, I tend to find the idea of doing more backend stuff more interesting. As for Linux, I just find it to be a work environment that I like. I'm not be any means an expert on BASH, but with Google I've been able to refresh myself on syntax if I think I can do something faster with a quick script like appending a line to all files in a directory. I also like all the options Linux has for distributions and desktop and quick access to software with package managers.
  10. Dan13

    Career paths for Python on Linux?

    I was also thinking about the combination of Linux, Python, and eventually getting a Raspberry Pi. It might be interesting to see what Python and the Raspberry Pi library can do.
  11. Dan13

    Career paths for Python on Linux?

    Very true and it seems like even KDE desktop has improved. I'm currently dual booting Windows 10 and a version of Arch Linux called Archmerge and the boot speed on my ASUS RoG laptop is crazy fast. I like having Linux for the Web and of course Python is bundled in with it. I still mostly use Windows 10 for my PC gaming or certain media like Amazon Prime video streaming. For what it's worth, I have tried FreeBSD as well. It can function okay on even very old computers, but the while it works the GUI seems very crude.
  12. Dan13

    Come on in! Have a coffee with Stef!

    Heading to my 2nd shift soon. I usually grab a Kona Coffee, but I also like Columbian or French Roast.
  13. I appreciate your feedback. I guess I just wanted to share my experience as I started to find the Cybersecurity career path discouraging and for now I've walked away from that path. I wanted to share my experience as a word of caution to anyone else considering Cybersecurity as I think the requirements for it are absurdly high. Now if another person reading this had better financial resources than myself to pursue training and also lived in a major metro area with more opportunities, going to college specifically for Cybersecurity might work out. For myself, I think it was a mistake and I'm starting over.
  14. I got into Cyber Security as far as a 2 year degree. I was unable to get a job with that training and I don't have the financial resources to continue. Also, all the jobs I see listed in Cybersecurity have a lot of requirements for job experience, a 4+ year degree, plus several expensive certifications. Also, a lot of what I'm hearing is industry really considers qualified people to be those looking into Cybersecurity as a second career choice and already have experience administering databases or networks. I've also heard that many colleges have terrible cybersecurity curriculums and many companies are skeptical of these degrees. This was also true in my case. I had two Firewall classes and not once did we configure a Firewall or even look at a GUI; it was all about security managerial roles. So I'm here starting over from a different direction with Stef's KillerPython. The strange thing is I feel I might someday be able to at at least do Penetration Testing if I get good at Python and KALI Linux tools which my college courses.
  15. Dan13

    Introduce Yourself

    I took some college courses and became a Linux enthusiast. My PC and laptop are both running distributions based on Arch Linux. I'm interested in Python3 and like that it is basically bundled with Linux. I'm considering the idea of building of this as a Django guy, but will see where this goes. As for college, I got as far as a 2 year degree in Cyber Security. I feel that I got ahead of myself and wish I had gone for something more practical like Web Development in college. It looks like most jobs in Cyber Security require extensive credentials in experience, degrees, and expensive Certifications. I'm hoping to make a move to something more practical with Coding especially if I can build a portfolio on GitHub. I'm also hopeful Stef's Killer Python 3 will be more engaging than the awful Power Point lectures I sat through in college.
×