r/learnpython • u/itwasntzak • Jul 17 '19
What is the point of python?
I have spent the last couple of days building a python program, and have only been learning python for a couple months or something at this point. I'm really happy with the progress that I've made, this program that I've been making is doing what I want it to and I was ecstatic when I went to bed at 3 am... lol
Today though all that excitement has burnt up trying to figure out how I'm practically going to use this program. The program was built to automate data entry for my job, I deliver pizza for my full time job right now. I'm never in front of a or my computer when I'm delivering pizzas. I was really hoping I could run the program on my android phone.
I tried to use chaquopy with android studio, but I have no experience with android studio so I couldn't figure out how to use it or how to install chaquopy to a AS project. Also python is my first programming language and I'm not ready to learn java just for the sake of making android apps. I also tried to use BeeWare but I think I'm to new to python to be able to use these tools. I also tried to use QPython, which would run the program just fine and I could do all the inputs required to go through my program. This program I'm making requires the writing and appending of files, and QPython wouldn't create or edit the file like it does from IDLE shell.
I'm really frustrated by this limitation, because everything I did was basically for nothing at this point. I've also thought about running teamviewer on my pc and then using the teamviewer android app, but in the past trying to control a pc from an android device in such a manner was very unwieldy and I don't think it would be worth the hassle.
Why is python so self contained and how does one get its usefulness in a more practical manner?
the program in question: https://github.com/itwasntzak/deliveryTracking
Edit: I've also somewhat looked into trying to run the program as a web app through googles app engine environment. Again, I feel I'm to inexperienced in this new vast world of programming to use this implementation. It's also not the most desired implementation, because I live in a very rural part of america. Verizon has a very strong monopoly where I live, I tried to get a cheap phone off amazon and this phone turned out to be GSM instead of CDMA. I got my service though straight talk and they have support for GSM, but only conditionally thought CDMA towers. I constantly lose service thought out the day, and have to restart my phone to get it to even connect to data. When it is connected, the vast majority of the time it is incredibly slow and takes for ever to load even the most basic webpages. This wouldn't be the best way to go for me either because I might spend more time waiting for the program to load and the automation benefits would probably be lost to the waiting times. \
Idk, I'm frustrated lol please give me some advice on what my best course of action will probably be!
3
u/itwasntzak Jul 17 '19
It's good to hear that what I've learned from python will make other languages easier, I had to teach myself the basics of "computer science" also when I first started learning. I didn't even have the foundation knowledge to really grasp a lot of the basic programming concepts. I understood the idea of "if this, then that" and that was about the extent of it lol
I'm not to discouraged as a whole, I have ideas for more programs that can actually be interacted with while I'm at home on my computer. I just spend 10+ hours a day at work delivering pizzas, and I saw some spots where I could increase my efficiency. All I do all day is drive, so while I'm at work my mind has just been running wild with all the functionality I could add to this program.
Then to run into this limitation, in what was going to be one of the more basic parts of this program, just crushed the dreams I had for the rest of the program lol Most of the things I want to do with this program are still possible, it will just be more time consuming. I was really looking forward to easy of data entry/compiling on each delivery. I know python is more then capable of this task.
This is probably a bit ambition since I'm just getting into this world, but I would like to build a custom headunit for my car that has a raspberry pi for the brains. It would still be a headunit, sending audio to the speakers, but I thought I would also be cool to add obd interfacing and control as well as, lighting and other things to the car that could be controlled through the raspi headunit and micro controllers. I had the idea to do this for a while, then I found out python scripts can be run on a raspberry pi and that got me even more hyped lol I could try to get a basic little mobile raspi unit going that I could take with me to work.
I will avoid the thought of mobile apps for now, I had just watched a video from team tree house on youtube about android studio and it seemed so easy from the video. When first watching the video, I actually thought android studio made programming android apps a visual programming language . That is definitely not the case and it was no where as easy as they made it look lol maybe the visual aspect was just the actual layout of the gui.
Thank you for your time in responding! I think it got so many down votes because it probably sounded like I was saying python wasn't a capable language or something of that nature. Which wasn't my intention, I was just feeling down when I wrote the post and my negativity probably shined through. I also tried to come up with a title that would grab peoples attention so I could get help lol I figured if I asked what was the point of python in the learnpython subreddit it would probably get me the attention and I guess it worked xD lol