Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,289
» Latest member: J2M
» Forum threads: 38,793
» Forum posts: 175,881

Full Statistics

Online Users
There are currently 58 online users.
» 1 Member(s) | 52 Guest(s)
Bing, Google, Applebot, AOL, lovedeep

Latest Threads
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
5 hours ago
» Replies: 5
» Views: 49
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 12:05 PM
» Replies: 5
» Views: 155
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 61
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,494
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 155
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 70
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,092
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,306
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 400
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 227

 
  ERROR:haproxystats:Error fetching stats
Posted by: deepakkr3110 - Nov-12-2019, 09:04 AM - Forum: General Coding Help - Replies (1)

ERROR:haproxystats:Error fetching stats from http://x.x.x.x:5222/;csv;norefresh:
('Connection aborted.', BadStatusLine("<?xml version='1.0'?><stream:..... More

Print this item

  Simple mutli-threaded scheduler using sched - stuck
Posted by: Mzarour - Nov-12-2019, 07:49 AM - Forum: General Coding Help - Replies (2)

Hi there

I need help creating a scheduler that runs indefinitely.
While the scheduler is running users can schedule new events using enter or ente..... More

Print this item

  getting ImportError: cannot import name 'HAProxyServer'
Posted by: deepakkr3110 - Nov-12-2019, 07:48 AM - Forum: General Coding Help - No Replies

[python]#!/usr/bin/python3.6

from haproxystats import HAProxyServer

class HAProxyServer:
haproxy=HAProxyServer('x.x.x.x:x222')
for b i..... More

Print this item

  python-printer-escpos 0.0.3 ERROR
Posted by: neethuvp - Nov-12-2019, 06:21 AM - Forum: General Coding Help - Replies (1)

Hi,
I'm using python-printer-escpos 0.0.3 . I connected my printer as a USB printer and i followed the link ..... More

Print this item

  Get request API
Posted by: gdfddcs544d - Nov-12-2019, 05:53 AM - Forum: General Coding Help - Replies (1)

Hello!

I use API:

https://www.blockchain.com/api/q

Trying to make a Get request:

url = 'https://www.blockchain.info/api/q/getreceivedbyadd..... More

Print this item

  using module variable
Posted by: jacklee26 - Nov-12-2019, 05:49 AM - Forum: General Coding Help - Replies (4)

Hi All,
i'm trying to learn how to write a module, and meet some problem.
Is there any method we can used a variable inside a module, when we are ..... More

Print this item

  Fatal Python error: Aborted
Posted by: rohitlal125555 - Nov-12-2019, 05:43 AM - Forum: Data Science - No Replies

I've developed an image processing script that does gamma correction (on cpu), sobel(on nvidia gpu).
But, strangely the program is crashing frequentl..... More

Print this item

  Problem with collision detection...
Posted by: michael1789 - Nov-12-2019, 01:51 AM - Forum: Game Development - Replies (4)

Hello,

This is a piece of my current project. It is in my "class Player()". It's pretty standard, but not working. The "walls" group is defined ..... More

Print this item

  Why does Python/gpx save data as Latin1?
Posted by: Winfried - Nov-11-2019, 11:21 PM - Forum: General Coding Help - Replies (2)

Hello,

For some reason, the input data that are in UTF8 in SQLite end up as Latin1 in the output file:

[python]import gpxpy.gpx
import sqlite3..... More

Print this item

  Developed App in VS2019 - Help with pyinstaller
Posted by: fioranosnake - Nov-11-2019, 09:12 PM - Forum: General Coding Help - No Replies

HI,

I have developed a simple app in vs2019. if I 'run' it - it works as expected. There is a single .py file in the solution. If I try and creat..... More

Print this item

  Cannot open include file: 'ft2build.h'
Posted by: thracian - Nov-11-2019, 09:08 PM - Forum: General Coding Help - No Replies

I'm trying to install matplotlib on Windows 10. I have Python 3.8.0 installed in C:\Python. I did:
py -m pip install matplotlib

Initially, I got a..... More

Print this item

  help needed with fastkml
Posted by: moose_man - Nov-11-2019, 08:48 PM - Forum: General Coding Help - Replies (2)

Hi,

I would like to parse an existing kml file and change some attributes, for instance the color of a polygon.

This is the code I used:
[pyth..... More

Print this item

  Cannot extract data from the next pages
Posted by: nazmulfinance - Nov-11-2019, 07:23 PM - Forum: Web Scraping & Web Development - Replies (4)

Dear Members,

I am writing Python codes to extract EyeGlass listings at 'https://www.glassesshop.com/bestsellers'. The codes perfectly extract data..... More

Print this item

  datetime intervals - dataframe selection (via plotted data)
Posted by: karlito - Nov-11-2019, 05:48 PM - Forum: Data Science - No Replies

I have plotted a Dataframe over a day and I would like to consider the negative parts (<0) marked in blue when x becomes positive for the first time a..... More

Print this item

  PyPDF2 processing problem
Posted by: Pavel_47 - Nov-11-2019, 04:52 PM - Forum: General Coding Help - Replies (6)

Hello,

I've met problem using PyPDF2 module.
For some books the text extraction works, for others - not (i.e. text is empty)
[pytho..... More

Print this item

  manage display date
Posted by: atlass218 - Nov-11-2019, 04:16 PM - Forum: GUI - Replies (2)

I am trying to create a desktop application with QtDesigner and pyqt5.
I created a Groupbox with QtDesigner in which I put 03 lineEdit, successively ..... More

Print this item

  Pythonn 3 getting the __traceback__attribute of an exception
Posted by: piscvau - Nov-11-2019, 03:56 PM - Forum: General Coding Help - Replies (1)

Python3 documentation states:
A traceback object is normally created automatically when an exception is raised and attached to it as the __traceback_..... More

Print this item

  Writing an Adder in python 3?
Posted by: edwdas - Nov-11-2019, 03:31 PM - Forum: General Coding Help - Replies (1)

So i need to white an Adder REPL.

Instructions are as follows:

quit: Exit the REPL or terminate a program.
input var: Prompt for and allow the..... More

Print this item

  duplicates
Posted by: nsx200 - Nov-11-2019, 03:02 PM - Forum: Homework - Replies (3)

Hello,

I have an assingment, and what seems a simple question, that is driving me nuts and would like a point in the right direction (not an answer..... More

Print this item

  how is the new row selected automatically in treeview
Posted by: kofa - Nov-11-2019, 02:13 PM - Forum: General Coding Help - Replies (3)

firstly, I would like to apologize for my bad English.

I'm new to Python.

how is the new row selected automatically in this code?

[python]def..... More

Print this item

  Delete minimum occurence in a string
Posted by: RavCOder - Nov-11-2019, 02:13 PM - Forum: General Coding Help - Replies (10)

Hi,
I have to delete minimum number of character in a string.
I saw that there is Counter but I don't know how to use it.
This is my code for now:..... More

Print this item

  optionmenu value write a list
Posted by: mdalireza - Nov-11-2019, 01:00 PM - Forum: GUI - No Replies

Hi,
I am keep getting AttributeError: 'tuple' object has no attribute 'get' when I am trying to write to a list a value from optionmenu. Please help..... More

Print this item

  How to debug high-performance additives written in C ++ code?
Posted by: AlekseyPython - Nov-11-2019, 12:02 PM - Forum: News and Discussions - Replies (5)

Python 3.7.5

To speed up my code, I decided to write a small C++ computing kernel and use this so-library from Python. But the question arises of d..... More

Print this item

  Senior Full-Stack Developer- Full Time- Barcelona
Posted by: OrderCare - Nov-11-2019, 11:54 AM - Forum: Jobs - No Replies

Hello, please find below our Job Description. Our website will be online very soon.

Thank you!



Location : Barcelona - Spain
Job type..... More

Print this item

  Handling escape charters while converting data frame to JSON
Posted by: RahulShukla - Nov-11-2019, 11:22 AM - Forum: Data Science - No Replies

Hi All,
I am new to the python programming so please bear with me if question seems to basic.

i have created url column in my dataframe

df['url..... More

Print this item

  Remote SQL
Posted by: kozaizsvemira - Nov-11-2019, 10:06 AM - Forum: Networking - Replies (3)

Hi,

I am new to servers, SQL and networks, I was wondering I have linux server with ubuntu, working django website.

Edit: I'm not talking about..... More

Print this item

  matrix name including a variable
Posted by: paul18fr - Nov-11-2019, 09:03 AM - Forum: Data Science - Replies (3)

Hi

As described in the following example, I want to introduce a number in a matrix name (number is a variable). I had a look on internet and I foun..... More

Print this item

  socket.error
Posted by: Karin - Nov-11-2019, 08:53 AM - Forum: Networking - No Replies

hi, I tried to control raspberrypi with julius and python, but i got socket.error as follows.
[error]
Traceback (most recent call last):
File "le..... More

Print this item

  How to Display pygame on SSD1351 screen
Posted by: kalihotname - Nov-11-2019, 07:32 AM - Forum: Game Development - No Replies

I want to move this code into raspberry pi and run it's with OLED SSD1351

could I have some examples that runs pygame on OLED screen?

[python] ..... More

Print this item

  import argv
Posted by: Scott - Nov-11-2019, 07:21 AM - Forum: General Coding Help - Replies (3)

Hi everyone,

I am trying to work through the text book 'Learn Python the hard way' and I am getting stuck on Exercise 13:

[python]from sys impor..... More

Print this item

  coding idea
Posted by: Skaperen - Nov-11-2019, 06:43 AM - Forum: Bar - Replies (2)

here is how i form plurals in f-strings. if you are using a version of Python before 3.6 you can rearrange the code to something that works there.
[..... More

Print this item

  Has anyone experience a winError[5] Access Denied in Windows 10?
Posted by: fstkmaro - Nov-11-2019, 04:14 AM - Forum: General Coding Help - Replies (2)

Hello, I am running a script that turns into an error when running one of the built in scripts in Python (subprocess.py). The error appears to be Wind..... More

Print this item

  Keeping in shape as an Engineer
Posted by: sisoj - Nov-11-2019, 04:13 AM - Forum: Bar - Replies (4)

Hey Engineers! Please share your biggest 2 challenges when it comes to keeping unwanted weight off and being in shape.

Print this item

  No data when using scrapy to get data
Posted by: ADBYITMS - Nov-11-2019, 03:10 AM - Forum: Web Scraping & Web Development - Replies (3)

Hi all, i have managed to write my first scrapy code but when i run it i get no data from the site, i get no errors but i feel i know the issue, i nee..... More

Print this item

  How to close one of the windows in Tkinter
Posted by: scratchmyhead - Nov-11-2019, 01:36 AM - Forum: GUI - Replies (3)

Hey guys. I'm sure it's simple but what is the command to close a current window in Tkinter? I still want the root to be open but I want another windo..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  PyQt5 - Get a parameter f... 5 hours ago Ninja2112 deanhystad GUI
  data fetching for indian ... Yesterday, 12:05 drakhsin snippsat Web Scraping ...
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
Most views
  The best Prog... 579298
  Tutorial Requ... 512159
  Web Scraping ... 442200
  Newbie with P... 386307
  New Users Int... 379811
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12109
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
J2M Today
jackhunter Today
EmilyCarter Today
xdimbah Today
IsmaelSlalk Today

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020