Python

Forum discussion tagged with Python.
  1. Root01

    [SOLVED] Copy installations of OpenGL for every python project

    I have installed pip install glfw pyopengl pyrr and pillow at a location in the local hard drive to create OpenGl apps with python. a)where can I find the files?The File Explorer doesnt find them b)I dont want to insert them 1 by 1 to every python project.Can I copy them to PyCharm so they...
  2. P

    Question Alteryx workflow using python

    I am a newbie in Alteryx - has anyone ever built an ETL workflow using python? I know how to read and run the jupyter notebook through import script in the alteryx menu but not sure how to run my code as multiple steps of the workflow. Please answer?
  3. Superpan

    Do I need a discrete GPU?

    Hello, I will be buying a laptop mainly for academic use as a master student in Applied Mathematics. I will be using programs such as, Python, Rstudio, SQLite, Matlab, Wolfram Mathematica, Octave and other similar ones. I was looking at either i7 11800h or r7 5800h setups based on my budget. I...
  4. tlk1821

    [SOLVED] Is there ANY way for me to apply forms of port security to unmanaged switches?/ANSWERED

    So I am a college student and for a project, I am very interested in whether or not there is ANY way for me to apply port security settings to the ports of an unmanaged switch. I realized that unmanaged switches do not have any sort of interface in which to naturally do this, unlike managed...
  5. M

    [SOLVED] ryzen 5800x heavy falloff in performance when running multiple python codes

    I have 2 PC's, one is using ryzen 5800x and the other i7 9700k. Otherwise the specs are very similar. (GPU both 2080ti and RAM, storage, motherboard are similar tiers) I have a python code that runs at a speed of about 1100 loops per minute on my ryzen 5800x, when the code is running alone...
  6. NJackson7

    [SOLVED] Easy_install

    I've been trying to get SeaFile installed on a fresh MicroSD card. I was following the guide at the link below in order to do this: https://manual.seafile.com/build_seafile/rpi/ I got to the step called "Install Python Libraries", but then it asked me to use the easy_install command in order to...
  7. TerraCraft64

    [SOLVED] Comparing a variable against itself? | Python 2.7.10

    Thank you in advance for reading and taking the time to troubleshoot this with me! Let me first start off with the important stuff: Target Device: Raspberry Pi 4B Electronic-Salon Relay Hat Development Environment: macOS Catalina PyCharm Python 2.7.10 At my home I have a spring that serves...
  8. matze

    Question overpass-api-request is not performed complety - particular results lead to mistakes

    dear community with the following request via overpass-turbo.eu i have some issues only the last expression works - in other words only the very last expression will be performed : all the others are ignored...
  9. Prad_Bitt

    [SOLVED] MacBook Air M1 or a Windows laptop for data science ?

    Hi My knowledge in software is pretty much 0 I'm an economics major, I picked CS (Programming in Python) as an elective. I already have a Windows desktop PC, but for when colleges reopen, I might have to take a laptop there. I have a few options, the most powerful (plus a nice little $150...
  10. noyaus

    [SOLVED] SenseHat data logger and camera code not working together

    Hi Guys, I am doing a project in which I am getting the data from the sensors recorded alongside photos taken on the pi camera every 10 seconds. I have sourced the code for the data logger and camera and they work well individually. But when I put them together, the only thing that works is the...
  11. noyaus

    [SOLVED] Using SENSE HAT and Pi Camera Project possibility of working for school project

    Hi Guys Can you please tell me if this idea is possible to do on a school project. I am using a SENSE HAT and Pi Camera. What I want the code to do is say if the temperature is 35 degrees, it will take a picture every 30 seconds for 2 minutes. But I want the image taken every 30 seconds be...
  12. sfsameer99

    [SOLVED] Can we change the OS of the PSVita to one which is linux?

    The PS Vita operating system is linux based. Thus, could we change the operating system so that we can run third party apps that we create, not games (possibly using python)?
  13. aden.anderson2001

    Question Interpretor in pycharm 2019

    I just installed pycharm 2019.3.2 and when I want to create a new pure python project it says interpretor field is empty. In base interpretor it says "no interpretor". I don't know what to do
  14. RyukKanji

    Python Programming

    So these last few weeks i have been learning some python3 , just the languange you know , variables , functions etc and i cant help to ask myself , once i have a good understanding and knowledge of python , what and how am i going to do any useful. I have been watching some vids , what you can...
  15. S

    Question Pyqtdeploy not working on Windows

    Hi there, So I made a pyqt script that I want to deploy to android using pyqtdeploy. Problem is that when I run: python build-demo.py It returns: pyqtdeploy-sysroot: Unable to detect MSVC2015 or MSVC2017 I already downloaded Visual Basic x64 redistributable 2015-2019. I don’t know what to do...
  16. S

    Question Using self.process.readAll() gives 'b"', '\n' and '\r'

    Hi there, So I was making a test gui (PyQt5) that could read text from a command and then show it on the gui. However, for some reason, it keeps showing this random b", \n and \r: I have tried using the readLine().decode('utf-8'), but everytime i do that it crashes. Plus, when i implement a...
  17. S

    Question Discord random choice keeps choosing same person

    Hi there, So i made this test bot where when i input a command, it will randomly choose a person and mention them: if message.content.startswith(prefix+("choose")): channel = message.channel response1 = random.choice(channel.guild.members).mention response2 =...
  18. S

    [SOLVED] Saving QLineEdit text to a variable in the python script

    Hi there, So i have a quick question: How can i save text a user inputted into LineEdit and save that text to a variable within the script? I looked at some documentation and saw that you can save the text to another file: def save_config(self): with open('config.txt', 'w') as f...
  19. S

    [SOLVED] Connecting back to heroku bash

    Hi there, So i was letting a python script i manually ran on heroku bash overnight. When i came back, i got disconnected and returned back to normal cmd window. I ran heroku run bash -a (my application name), but when i was in the bash all my files were missing. What happened, is that how it...
  20. S

    Question CPU temperature monitor PyQt5

    Hi there, So I wanted to know is there a way to get the cpu temperature, either average or per core, and show it on a GUI? Thanks, salm2s
  21. S

    Question QT designer GUI keeps freezing

    Hi there, So i was experimenting and designing some gui i created in QT Designer. I converted the .ui file to a .py file and wanted to link a "Start" button to a test command i set up. I managed to do that, but now everytime i click on start and the command prompt opens, the gui just freezes...
  22. N

    Question How Can I Define Multiline String In Python

    How can i define multiline string python and pirnt to the screen? Thanks.
  23. Y

    C++, Java or Python

    I’m going to study computer science and I want to learn how to code. I know I have to get familiar with C++, Java and Python but which one should I focus on more? Is one better then the others?
  24. Q

    [SOLVED] Need help with new computer(i3 8100 vs i5 8400 pc).

    Hello, I have shortlisted two systems: 1. Lenovo V530 tower PC(Intel core i3 8100), 2. Lenovo thinkcentreM720 tower PC(Intel core i5 8400). I will these computers only for programming and web browsing, I will not play any games whatsoever. And, I will buy 16gb ddr4 2400mhz RAM and an SSD for...
  25. C

    Fortnite Budget PC

    Hey guys. I have a desktop PC these are the specs: CPU: Intel Core i5 2400 @3.10Ghz + 3.40Ghz Turbo Boost 8GB DDR3 RAM Radeon HD 5450 512Mb GPU. I know please dont hownd me on the GPU i know its not great but can this system run fortnite? Graphics arent a main concern i only really want...
  26. M

    Performance in a budget

    What will perform better for gaming an 8gb 3000 mhz ram+ 256gb ssd or a 16 gb 3000mhz dual ch. ram ?
  27. A

    second Hard drive doesn't show up in bios

    I have been trying to install an old hard drive I had from my previous computer and am trying to get it to work. I hooked up everything correctly but it doesn't show in bios. The hard drive im trying to install is Western Digital WD10EZEX 1TB,and I am trying to install it on a pegatron 2acf...
  28. S

    Quality lowered after repair

    Hi. My laptop three weeks ago was having trouble with frame rates, any game I ran was unplayable because the frame rate was so low. When the laptop was well it ran most games very smoothly on high settings (Overwatch), or even on medium (Witcher 3). I tried everything I could to solve the fps...
  29. S

    Games not smooth in my house.

    Hi, i have problem with whom I fight a lot years. Now im so close to fix it - BUT. When i play cs:go i have 250+ fps (144hz) and when im in action where the computer goes into the load for example when i fighting somewhere on map with a lot players,grenades my game is so unsmooth, microstutters...
  30. U

    Logitech z207 help?

    Received the z207 speakers. They work fine when using the aux cable but I cannot connect via bluetooth (does not appear when scanning for devices on my android device). I've tried on another android and also on an iPhone but it still did not appear. Any help? Thanks.
  31. P

    Video card - one fan doesn't spin

    I have an ASUS R9 290 4GB video card, and while installing a new CPU today I discovered that there was something wrong with one video card fan. If I could easily spin the other fan with my hand because of the magnets, which would spin for like 3 more seconds after giving it a spin, the other one...
  32. E

    [SOLVED] How do i Install Mac OS onto a clean hard drive inside of a Windows PC?

    I'm in a very confusing situation. My mac laptop's data was corrupted so the hard drive needed to be wiped, I ordered new mac OS on a USB and tried to install it onto the hard drive. I held Command + R and then selected the USB but a "cancel" sign (a circle with a slash through it) appeared on...
  33. A

    An operating system wasn't found. But it still works.

    So while trying to configure my setup to use a monitor from the gpu and one from the internal graphics (it didn't work btw) I started getting this message. "An operating system wasn't found. Try disconnecting any drives that don't contain an operating system. Press any key to restart." I think...
  34. R

    Internet flatlines in games

    Hello. I have had a lot of issues with a couple of games. Minecraft and Path of Exile. What happens is that the ping just stops and flatlines. In Minecraft that leads to a disconnection and in Path of Exile I risk being killed and having to start over. This bothers me a lot because I like those...
  35. C

    7700 vs 7700k for gaming

    I will only be gaming so will the 7700k offer a noticeable benefit or will the 7700 be enough. Also I'll have either a 1080 or 1080ti so will the 7700 bottleneck?
  36. P

    Having problems installing AMD X4 845 (desperate help needed lol)

    Hey there, and thanks in advance for taking the time to try and help me out! So here's the rundown: I have next to no knowledge when it comes to computer hardware whatsoever. 2 months ago my computer was having issues so my tech savvy friend came to help me out and after a bunch of...
  37. R

    My most important Chrome bookmark folder has disappeared. HELP!!

    My most important Chrome bookmark folder has disappeared. This happened to another one of my Chrome bookmark folders a while before - a less important one that I can't remember, don't worry about this one. From what I've read online, it sounds like it's something to do with syncing bookmarks...
  38. J

    Error: 0xc000000f, Blue screen: Bad_System_Config_Info, "The requested system device cannot be found"

    Changed the msconfig of my cpu from auto to 4 and i had to restart my pc, which the loaded into a BSOD (Blue Screen of Death). I have tried to use the: Bootrec /fixmbr Bootrec /fixboot Bootrec /scanos Bootrec /rebuildbcd But the Bootrec /rebuildbcd wouldn’t work with a error “The requested...
  39. K

    Computer won't detect my PS4 Controller

    A few days ago, I wanted to use my PS4 controller on Just Cause 3, so I installed DS4, and it worked properly with all games I wanted to play. Yesterday, when I tried plugging it into my computer, DS4 wouldn't find the controller, and games like Rocket League (Which would pick up the controller...
  40. L

    Google Security Researcher Finds Serious Vulnerability In Kaspersky's TLS Interception Tool

    Google Project Zero security researcher Tavis Ormandy found yet another vulnerability in the Kaspersky antivirus, this time involving Kaspersky's flawed TLS interception techniques. Google Security Researcher Finds Serious Vulnerability In Kaspersky's TLS Interception Tool : Read more