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,298
» Latest member: Divyakrishnan071
» Forum threads: 38,795
» Forum posts: 175,890

Full Statistics

Online Users
There are currently 35 online users.
» 0 Member(s) | 32 Guest(s)
Google, Bing, Mojeek

Latest Threads
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
1 hour ago
» Replies: 3
» Views: 100
silent deployment Python ...
Forum: News and Discussions
Last Post: Bummibaer
2 hours ago
» Replies: 2
» Views: 70
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
6 hours ago
» Replies: 6
» Views: 3,178
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 243
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 128
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 90
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,525
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 174
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 81
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,147

 
  [python] [Tkinter] Problem bidding combobox with np.array
Posted by: NEL - Aug-04-2019, 10:40 AM - Forum: GUI - Replies (3)

I want to include combobox values into np.array taken from function but it does not work. Could you please help me to make it workable. I will appreci..... More

Print this item

  Scoped variables.
Posted by: Charles1 - Aug-04-2019, 08:39 AM - Forum: General Coding Help - Replies (1)

Hi,

I'm trying out the code below but need help in understanding why the
it's printing 3 3 3 rather than 1 2 3.

[python]
list_of_printers = [..... More

Print this item

  execute MySql function
Posted by: duende - Aug-04-2019, 08:20 AM - Forum: General Coding Help - No Replies

Hello,
I have a sql function that returns an integer; I tried the cursor.callproc but ...
[python]
def getValue(self, connection):
..... More

Print this item

  spliting html code with br tag
Posted by: yokaso - Aug-04-2019, 07:04 AM - Forum: Web Scraping & Web Development - Replies (11)

Hi,i am new in python scraping and i apologize for any mistake,

i would like to get a text from html code and the target text is between <br>, i tr..... More

Print this item

  ValueError: invalid literal for int() with base 10: ''
Posted by: Jay123 - Aug-04-2019, 06:31 AM - Forum: General Coding Help - Replies (7)

Hi I have the following text file that I have uploaded here:

This data sits in a larger data set in a text file but I have just extracted the set o..... More

Print this item

  how does GIL impact threads?
Posted by: Skaperen - Aug-04-2019, 05:58 AM - Forum: News and Discussions - Replies (3)

how does GIL impact the running of threads? i know i can have each running thread start a command in a separate process since i have tested that. i ..... More

Print this item

  waiting for a thread
Posted by: Skaperen - Aug-04-2019, 05:24 AM - Forum: General Coding Help - Replies (5)

if i start some threads with threading.Thread()[font=Courier New, Courier, monospace][/fon..... More

Print this item

  Critique my code please
Posted by: johnhedge - Aug-04-2019, 04:21 AM - Forum: Code sharing - No Replies

Hi List,
I'm learning Python, flask and SQLite with flask-sqlalchemy.
I've built my tables and tried to set up the relationships.
I'd be pleased if..... More

Print this item

  Add two number and variable datatype is int8
Posted by: ift38375 - Aug-04-2019, 04:20 AM - Forum: General Coding Help - Replies (3)

Hi,
Write a simple python program to add two numbers and variables datatype should be int8.
How can I do this ?

Actually by default variables t..... More

Print this item

  [Guidance needed] Python def question
Posted by: PieTurn - Aug-04-2019, 03:45 AM - Forum: Homework - Replies (4)

Complete the program (i.e. implement the function concat_words ) so that it will print the
output as shown:
[1-apple*2-orange*3-pear*]

Ans..... More

Print this item

  Binding functions in Qt Designerr
Posted by: Mocap - Aug-04-2019, 01:31 AM - Forum: GUI - Replies (12)

Is it possible to bind functions in Qt designer, or would I have to do that on a separate application? In particular, I want to make it so that clicki..... More

Print this item

  Binding not explicitly declared happening
Posted by: karkas - Aug-03-2019, 11:44 PM - Forum: General Coding Help - Replies (4)

Hello everyone,


I'm basically new to Python. My experience is in industrial automation and some intermediate in MATLAB and, although I have ..... More

Print this item

  Convertion of float to str is very slow.
Posted by: amandacstr - Aug-03-2019, 09:44 PM - Forum: GUI - Replies (2)

Hi!

I'm making this software in python using pyqt to read a big text file(+60000 lines) with paths to other files. The content of this file is some..... More

Print this item

  Multiprocessing.Queue Issues (Missing/Corrupted Items/No Output)
Posted by: python3noob - Aug-03-2019, 09:38 PM - Forum: General Coding Help - No Replies

Hardware: Raspberry Pi 4B (1GB) & Macbook Pro

OS: Raspbian Buster & OSX 10.14.5

Python Version: 3.7.3

I'm having issues with multiprocessing...... More

Print this item

  I can't hide borders and _ [] X in window.
Posted by: storzo - Aug-03-2019, 09:15 PM - Forum: General Coding Help - Replies (4)

I try using: main.pack(side="top", fill="both", expand=True)
in main window to hide borders and nav minimalize expand and close.
It don't work any s..... More

Print this item

  ModuleNotFound error
Posted by: HawkeyeKnight - Aug-03-2019, 06:32 PM - Forum: Homework - Replies (10)

I am a beginner Python student, teaching myself and using the Head First Python book as a guide. I am running Python on a Windows 10 machine using Pyt..... More

Print this item

  How to get count of each unique item in dataframe
Posted by: SriMekala - Aug-03-2019, 05:09 PM - Forum: Data Science - Replies (7)

Hi,
I have below DataFrame:

data = {'Name':['Tom', 'nick', 'krish', 'jack'],
'Age':['Fail', 'Pass', 'Pass', 'Fail']}

I want to get the count..... More

Print this item

  Passing Values of Dictionaries to Function & Unable to Access Them
Posted by: firebird - Aug-03-2019, 03:59 PM - Forum: General Coding Help - Replies (3)

Hello Everyone!
I need your help with the following problem. I have a list of dictionaries and try to access the value of each dictionary in the list..... More

Print this item

  need help with math functions
Posted by: Gateux - Aug-03-2019, 12:16 PM - Forum: General Coding Help - Replies (1)

Hi I have these two codes here that i need to use math.sqrt for the 1st code and math.pow for the 2nd code, can anyone guide me how to do it?

[python..... More

Print this item

  XARGS - help passing results
Posted by: 3inchpython - Aug-03-2019, 12:04 PM - Forum: General Coding Help - Replies (1)

System = RHEL 7
Python v = 2.7

Using the code below, I am using file_list and random_choice to randomly select one filename from a given DIR of ma..... More

Print this item

  array issue
Posted by: paul18fr - Aug-03-2019, 11:57 AM - Forum: Data Science - Replies (2)

Dear All

Here I've been using an example of tesselation from Matplotlib (triplot).

hstack use leads to an error I cannot figure out; I'm probabl..... More

Print this item

  Getting data from strava
Posted by: weihnachtsmo - Aug-03-2019, 10:48 AM - Forum: General Coding Help - Replies (1)

Hi,
I want to Import and Analyse data from strava. I have no experience with it, but Little experience with python.
I use Spyder within anaconda for..... More

Print this item

  Combobox Multiselect
Posted by: smabubakkar - Aug-03-2019, 08:44 AM - Forum: GUI - Replies (1)

Hi All,


I searched in internet that Multi select in combobox is not possible. is there anyother alternative. menu potion does let you select but ..... More

Print this item

  removing quotes from a list and keep type list
Posted by: evilcode1 - Aug-03-2019, 08:35 AM - Forum: General Coding Help - Replies (3)

hello all ..
im trying to use sys.argv take and ip like : 192.168.1.99 and convert it to [192.168.1.99] ... but it add '
[python]import sys

star..... More

Print this item

  Create dataframe through Dictionary in pandas
Posted by: ift38375 - Aug-03-2019, 08:24 AM - Forum: Data Science - Replies (2)

Hi,

I have given below table and i want to create dataframe of this table using Dictionary:

[python]
2019 2017 2015 ..... More

Print this item

  what can i do with this error?
Posted by: harishchacker - Aug-03-2019, 07:27 AM - Forum: Homework - Replies (2)

[python]import codecs
import pyttsx3
import speech_recognition as sr
import datetime
import wikipedia
engine=pyttsx3.init('sapi5')
voices=engine..... More

Print this item

  how to remove black area around the graph in tkinter ?
Posted by: NEL - Aug-03-2019, 06:37 AM - Forum: GUI - Replies (1)

[python]from tkinter import *
from tkinter import ttk
import numpy as np
import pandas as pd


from pandas_datareader import data as wb
import ..... More

Print this item

  Help me understand what to do
Posted by: silverfang - Aug-03-2019, 04:26 AM - Forum: Homework - Replies (1)

Here is the question I am given:

(Implement Map using open addressing with quadratic probing) Implement
Map using open addressing with quadratic p..... More

Print this item

  Hangman tkinter help
Posted by: silverfang - Aug-03-2019, 04:04 AM - Forum: GUI - Replies (5)

Code for game works. Except I cannot get the game end if the correct input is entered. For example if the word is 'mouse' and the user spells out 'mou..... More

Print this item

  is try/except safe inside of another except?
Posted by: Skaperen - Aug-03-2019, 03:16 AM - Forum: General Coding Help - Replies (5)

is it safe to have a try/except within the except of another try/except?

i want to get some data that may fail, resulting in an exception. then th..... More

Print this item

  signal during multiprocessing.JoinableQueue.join()
Posted by: Skaperen - Aug-03-2019, 12:14 AM - Forum: News and Discussions - No Replies

if a process is waiting in .join() for some multiprocessing.JoinableQueue() object, what happens if a signal arrives for a signal registered with sign..... More

Print this item

  Modifying Classes
Posted by: Tridium - Aug-02-2019, 11:44 PM - Forum: Game Development - Replies (4)

Hello,

I am trying to better understand Classes.
This time, I'm trying to modify Class attributes(? I think this is the correct term) using a func..... More

Print this item

  get function returns None from Beautifulsoup object
Posted by: DeanAseraf1 - Aug-02-2019, 11:25 PM - Forum: Web Scraping & Web Development - Replies (3)

I'm trying to list all titles from a specific Wikipedia page
for some reason when i apply the .get function on the Beautifulsoup object to get all th..... More

Print this item

  multi-threading error in minimal script
Posted by: Skaperen - Aug-02-2019, 11:23 PM - Forum: General Coding Help - Replies (2)

i am getting the error shown below in a minimal little script that runs just 2 threads:
[output]lt2a/forums /home/forums 1> cat -n trytwocommands.py..... More

Print this item

  pickle.dump() and pickle.load() with non-blocking sockets
Posted by: Skaperen - Aug-02-2019, 10:35 PM - Forum: News and Discussions - No Replies

i need to have non-blocking sockets to use select or poll. that results in distinctive conditions for "no more data, yet" (because the other end is s..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My regex function is not ... 1 hour ago Moltar1997 perfringo General Codin...
  silent deployment Python ... 2 hours ago Bummibaer Bummibaer News and Disc...
  best way to learn python 6 hours ago dutch ichsanputr News and Disc...
  data fetching for indian ... Yesterday, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  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...
Most views
  The best Prog... 579361
  Tutorial Requ... 512318
  Web Scraping ... 442277
  Newbie with P... 386330
  New Users Int... 380157
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+ 12110
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Divyakrishnan071 Today
ichsanputr Today
nicos18 Yesterday
Moltar1997 Yesterday
arthurlouiss Yesterday

User Panel Messages

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