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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,990
» Latest member: Safariscampoea
» Forum threads: 38,736
» Forum posts: 175,579

Full Statistics

Online Users
There are currently 49 online users.
» 0 Member(s) | 45 Guest(s)
Google, Facebook, AOL

Latest Threads
print does not open conso...
Forum: General Coding Help
Last Post: Pedroski55
3 hours ago
» Replies: 2
» Views: 85
Weird failure in Selenium
Forum: General Coding Help
Last Post: glestwid
10 hours ago
» Replies: 0
» Views: 41
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
Yesterday, 03:05 PM
» Replies: 3
» Views: 2,529
create ocr to detect lice...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:58 PM
» Replies: 2
» Views: 92
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:56 PM
» Replies: 6
» Views: 197
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Oct-01-2025, 03:05 AM
» Replies: 4
» Views: 2,046
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 462
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,091
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,165
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 847

 
  Help with multiprocessing
Posted by: dsc77 - Nov-12-2019, 07:44 PM - Forum: General Coding Help - Replies (6)

I am fairly new to Python, but have run into a snag that I can't get past. I am trying to share a string variable between two processes. One process i..... More

Print this item

  Missing Postional Arguments
Posted by: Psypher1 - Nov-12-2019, 07:20 PM - Forum: General Coding Help - Replies (7)

I am making an accommodation program and I ran into this error.I saw other threads with the same issue om the site but they didn't help me figure it o..... More

Print this item

  How can automatize ticker selection to find the trading data of all the tickers
Posted by: nazmulfinance - Nov-12-2019, 06:58 PM - Forum: Web Scraping & Web Development - Replies (6)

Dear Members,
I am trying to download data in Table 1 from https://www.secform4.com/insider-trading

I need to put Company Ticker to get informatio..... More

Print this item

  display the contents of the table in descending order of the date
Posted by: atlass218 - Nov-12-2019, 05:24 PM - Forum: GUI - Replies (14)

Hello;
I tried to display the contents of my "loc35R" table in a Widget table that was created by QtDesigner.
the display looks good, but with disorde..... More

Print this item

  Best GUI solution for embedded Chrome
Posted by: Ximera - Nov-12-2019, 02:14 PM - Forum: GUI - Replies (4)

Hi, I'm new in Python, can you please help me with embedding Chrome into unresizable GUI window (Windows 7/10/2012R2 x64).

I did this on CE..... More

Print this item

  How can I add a progress bar for my software?
Posted by: aquerci - Nov-12-2019, 02:04 PM - Forum: General Coding Help - Replies (8)

Hi all,

I wrote a software in Python 3 with a CLI interface. It reads a text file given by the user, takes from it many information, processes them, ..... More

Print this item

  Update value in sliced dataframe
Posted by: bobopt - Nov-12-2019, 01:23 PM - Forum: General Coding Help - Replies (2)

Hello everybody, I'm new in python and I would ask you a question that is making me crazy.
I think I've not well understood some things, so please hel..... More

Print this item

  Create .exe file for Python flask website.
Posted by: vintysaw - Nov-12-2019, 11:55 AM - Forum: Web Scraping & Web Development - Replies (4)

Please see below steps followed to create .exe file.
1) Ran pyinstaller App.py in cmd at folder location where App.py file is located
2) Pyinstaller..... More

Print this item

  reshape from 3D to 3D matrix
Posted by: paul18fr - Nov-12-2019, 11:26 AM - Forum: Data Science - No Replies

Hi

In the following example, I'm still trying to find a way to reshape the 2D matrix into a 3D one:

Print this item

  Tracking 2 biggest objects in OpenCV
Posted by: Nup - Nov-12-2019, 11:08 AM - Forum: General Coding Help - No Replies

i want to track the 2 biggest objects with the Background Substract method. I know how to track all objects or the biggest one or the second biggest o..... More

Print this item

  while loop
Posted by: Blob - Nov-12-2019, 11:03 AM - Forum: General Coding Help - Replies (9)

I'm currently doing a tutorial on while loops, I followed along fine, but I always try to add something of my own to each code he teaches, so my brain..... More

Print this item

  getting first letters of a string
Posted by: Unknown_Relic - Nov-12-2019, 10:42 AM - Forum: General Coding Help - Replies (1)

im new to python and im trying to split a string so it prints the first letter of each word.
Below is the error i keep getting

line 8, in split_so..... More

Print this item

  Extract data from a webpage
Posted by: cycloneseb - Nov-12-2019, 10:20 AM - Forum: Web Scraping & Web Development - Replies (5)

Hello all;

I'm would like to ask some advices to the python community concerning a script I'm trying to develop.

In fact, I'm living near a lake..... More

Print this item

  Detecting windows shutdown event
Posted by: riccardoob - Nov-12-2019, 09:49 AM - Forum: General Coding Help - Replies (4)

Hi, I probably have a tricky question here. I'd like to know if there's a way in python to detect (maybe using an infinite loop in a script run in bac..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  print does not open conso... 3 hours ago Tycho_2025 Pedroski55 General Codin...
  Weird failure in Selenium 10 hours ago glestwid glestwid General Codin...
  Fred Economic Data API Yesterday, 15:05 warrior42 Trickety Web Scraping ...
  create ocr to detect lice... Yesterday, 13:58 bimosora noisefloor General Codin...
  Parse Markdown / get the ... Yesterday, 13:56 SpongeB0B noisefloor General Codin...
  Error: cannot mix str wit... 10-01, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
Most views
  The best Prog... 577475
  Tutorial Requ... 501304
  Web Scraping ... 441103
  Newbie with P... 385163
  New Users Int... 369879
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12092
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Safariscampoea Today
DataAnalytics021 Today
markwood955 Yesterday
DerekGeel Yesterday
Tycho_2025 Yesterday

User Panel Messages

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