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,280
» Latest member: MileHigh303
» Forum threads: 38,791
» Forum posts: 175,869

Full Statistics

Online Users
There are currently 46 online users.
» 0 Member(s) | 40 Guest(s)
Bing, Google, Apple, AOL, Mojeek

Latest Threads
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
2 hours ago
» Replies: 0
» Views: 17
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Today, 06:15 AM
» Replies: 4
» Views: 1,460
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Yesterday, 02:10 PM
» Replies: 2
» Views: 108
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Yesterday, 06:48 AM
» Replies: 0
» Views: 42
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:59 AM
» Replies: 11
» Views: 6,017
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:46 AM
» Replies: 2
» Views: 4,288
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 315
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 161
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 227
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,123

 
  Current foreground application
Posted by: tibegato - May-24-2020, 07:09 PM - Forum: General Coding Help - Replies (4)

Trying to figure out the name of the current foreground application running, in Linux. Having things like the PID and Windowtitle are nice ... But, I..... More

Print this item

  List Syntax
Posted by: Hitso - May-24-2020, 06:42 PM - Forum: General Coding Help - Replies (4)

Pls help, what I am doing wrong ? I'm not getting any output, whereas I'm expecting it to return as
String 2

[python]

list1 = ["String1", "Str..... More

Print this item

  error ,,name append is not defined''
Posted by: Killdoz - May-24-2020, 06:10 PM - Forum: General Coding Help - Replies (1)

[python]
from tkinter import *
import random
import time
class Game:
def __init__(self):
self.tk = Tk()
self.tk.title("mist..... More

Print this item

  networkx code help
Posted by: zahermoh - May-24-2020, 06:00 PM - Forum: Homework - Replies (1)

Hello

I'm new to python and networkx plugin. I have a code which brought from the web. And I'm trying to run in pycharm. But I'm not able to get th..... More

Print this item

  raise exception within generator
Posted by: bermudj - May-24-2020, 04:23 PM - Forum: General Coding Help - Replies (3)

Hi,

I have a generator

[python]def myRange(start, end):
while start < end:
yield start
start += 1
raise StopIter..... More

Print this item

  Creating new lists with names depending on a changing integer in a while loop
Posted by: l_butler - May-24-2020, 04:05 PM - Forum: Data Science - No Replies

I want to create a series of lists that contain paths of some distance x, until I reach a specific object which is called the target (its a graph prob..... More

Print this item

  TKINTER - Change font color for night or day
Posted by: Ayckinn - May-24-2020, 01:45 PM - Forum: GUI - Replies (2)

Hi Everyone,

I would like to know if it's possible, with TKinter, to change font color from 10am to 10pm and form 10pm to 10 am, for example, from..... More

Print this item

  hydro rosserial python with groovy Arduino error
Posted by: inmoovmark - May-24-2020, 01:45 PM - Forum: Networking - No Replies

Hi Python Community helpers,

I'm a newbie to this forum,

I'm running utunbu 16.04 and ROS, and I'm trying to get ROSSERIAL working (ROS communi..... More

Print this item

  How do I get memory consumed by each item in the array?
Posted by: Bhavika - May-24-2020, 01:16 PM - Forum: General Coding Help - Replies (2)

Given an array gaussian.

gaussian = np.random.randn(2 * 3 * 4).reshape((2, 3, 4))
How do i find the memory consumed by each ite..... More

Print this item

  Replacing "." in columns
Posted by: donnertrud - May-24-2020, 12:32 PM - Forum: Data Science - Replies (1)

Hi guys,

I got a data set with missing values, however, those cells contain a "." instead of being empty. Here is an example :

[img]https://img..... More

Print this item

  Usborne Coding for Beginners using Python 'Dodge the Bombs' Syntax Error
Posted by: CMSheWolfe - May-24-2020, 12:08 PM - Forum: GUI - Replies (5)

I am working through a coding book with my child and we cannot figure out why we are getting errors. We have written other code using IDLE where we ha..... More

Print this item

  global var in def
Posted by: Dotparsed - May-24-2020, 11:12 AM - Forum: General Coding Help - Replies (2)

I have text form e and button wich save value of this form to global var

button_add = Button(root, text="+", command=button_add)
..... More

Print this item

  Image recognition technique.
Posted by: Schism - May-24-2020, 09:14 AM - Forum: News and Discussions - Replies (1)

Hello, I’m relatively new to python and I want to make a simple AI to do one task for me.
I have 5 folders, each with a couple of hundred images in ..... More

Print this item

  Inserting values from multiple lists sqlite
Posted by: azulu - May-24-2020, 07:00 AM - Forum: General Coding Help - Replies (1)

[python] for item1, item2 in cartproducts, cartprices:
c.executemany("INSERT INTO orders(Product_Name, Product_Price) VALUES(?, ?);", (item1..... More

Print this item

  KNN algorithm Assignment can't understand the question
Posted by: spoooder - May-24-2020, 03:09 AM - Forum: Homework - Replies (6)

The below is the question, I have no knowledge regarding KNN , been following some tutorials but can't get the jest of the question. Someone please ex..... More

Print this item

  Full Stack Web Development from Zero to My First Web App in 6 Months (or less)
Posted by: Journey_to_odessey - May-24-2020, 12:29 AM - Forum: News and Discussions - Replies (1)

While being quarantined for so many weeks at home, I've decided to pick up a new hobby.

Usually, people build model airplanes, go scuba-diving, cro..... More

Print this item

  how to use items combobox in table name sqlite in python
Posted by: hampython - May-23-2020, 10:05 PM - Forum: General Coding Help - Replies (1)

Hello
I'm developing a small application to manage my student class with python and sqlite3. I put the list of names of my classes in a combobox I re..... More

Print this item

  inconsistent map() behavior
Posted by: mcmxl22 - May-23-2020, 09:21 PM - Forum: General Coding Help - Replies (2)

I am trying to use map() and range() to make a list of numbers that return as strings. I want to use it to make sure users don't enter numbers when th..... More

Print this item

  First Program, Syntax Issues
Posted by: Hitso - May-23-2020, 08:00 PM - Forum: General Coding Help - Replies (1)

Please help. My first few lessons and attempt at python. Using Spyder (Python 3.7)

[python]salary = 5000
If salary > 5000:
print ("Approv..... More

Print this item

  REGEX Look Arounds
Posted by: CharlesKL - May-23-2020, 08:00 PM - Forum: General Coding Help - Replies (2)

Hi, I am trying to learn and understand look arounds, In the code below why is '1' removed and not !123!

[python]
a = "learn@123Python456"
re.fin..... More

Print this item

  Error in Python script
Posted by: garvind25 - May-23-2020, 07:40 PM - Forum: Homework - Replies (10)

Hi,

I was trying to write a simple python code with if statement. The code is as below. I was getting the error: “ValueError: could not convert ..... More

Print this item

  How to print data to the printer
Posted by: scratchmyhead - May-23-2020, 06:56 PM - Forum: GUI - Replies (11)

Does anyone know how to make your program print data from my program to the printer?

Print this item

  Python list exercize
Posted by: ESTOUR - May-23-2020, 04:50 PM - Forum: Homework - Replies (3)

Hello I'm in high school(I guess, I Don't really know to what it correspond since I'm french) and I've got this excercize which I can't get through. H..... More

Print this item

  Looking for Python IDE With Drag and Drop GUI
Posted by: Dan_PanMan - May-23-2020, 04:39 PM - Forum: GUI - No Replies

Hello everyone.
I just started learning Python and I am looking for an IDE with a GUI drag and drop feature.
I was trying every recommended program..... More

Print this item

  Message erro when use dataset .csv
Posted by: Dalpi - May-23-2020, 03:30 PM - Forum: Data Science - Replies (2)

I'm doing some experiments using the classic Notebook Auto MPG Dataset and building a model to predict the fuel efficiency of late-1970s and early 198..... More

Print this item

  Striping the empty line
Posted by: Calli - May-23-2020, 02:47 PM - Forum: Web Scraping & Web Development - Replies (8)

Hi guys i am having this weird issue where this empty space appears even so after calling the strip() build in python program.
Here is the code i hav..... More

Print this item

  learning to code python
Posted by: nhan - May-23-2020, 01:25 PM - Forum: General Coding Help - Replies (5)

Hi guys,

I just started learning to code and using Python, I am working on a beginner exercise and the result is not what I am supposed to get, I am ..... More

Print this item

  pyinstaller
Posted by: astral_travel - May-23-2020, 01:24 PM - Forum: General Coding Help - Replies (36)

hi guys,

i want to convert a file - try5.py - into a - try5.exe

when i use pyinstaller in the terminal - it only creates a file called try5.spec..... More

Print this item

  Can't make Random Forest Prediction work
Posted by: donnertrud - May-23-2020, 12:26 PM - Forum: Data Science - No Replies

Hi guys,

I am trying to predict the target variable "Exchange Rate EURUSD" using a data set that I created by myself. I included a lot of economic ..... More

Print this item

  What package to install to PyCharm... REGEX or RE?
Posted by: charlesauspicks - May-23-2020, 12:16 PM - Forum: General Coding Help - Replies (4)

Hello,

I am still very new to Python, and I want to write a Python program using Regular Expressions.

Now, I am a bit confused as to what Python..... More

Print this item

  Function Improvement
Posted by: Santino - May-23-2020, 10:17 AM - Forum: General Coding Help - Replies (1)

Hey

I am looking to improve my working function below;

The objective is to get back a list of countries from the free api.
The argument pars..... More

Print this item

  What is the #chat thing?
Posted by: pyzyx3qwerty - May-23-2020, 09:57 AM - Forum: Board - Replies (5)

At the top of the site, there are several things like the HELP/RULES, SEARCH , pythonVersions etc. Out of those, I saw the CHAT option. Curious to..... More

Print this item

  running speed
Posted by: vaggelis - May-23-2020, 09:16 AM - Forum: News and Discussions - Replies (2)

I created a generator which generates variables i need to analyze. This generator is about 500 lines, it contains an list and about 20 variables doing..... More

Print this item

  How to print string multiple times separated by delimiter
Posted by: Mekala - May-23-2020, 09:00 AM - Forum: General Coding Help - Replies (1)

Hi,
Is there any way to print single string multiple tiles in same line and separated by dilimiter:


[python]print(*range(5), sep=", ") ## this i..... More

Print this item

  threading example
Posted by: DPaul - May-23-2020, 07:21 AM - Forum: General Coding Help - Replies (2)

Hi,
I'm trying to put together a "threading" example, that has not academic, but practical value.
I thought of people that need to answer questions ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Brazil Python Help to aut... 2 hours ago MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... Today, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... Yesterday, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... Yesterday, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... Yesterday, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... Yesterday, 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
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
Most views
  The best Prog... 579207
  Tutorial Requ... 511971
  Web Scraping ... 442152
  Newbie with P... 386241
  New Users Int... 379212
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 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
MileHigh303 Today
ndx101 Today
OtiliaBecker Today
NAGASOWMYAGUNDU Yesterday
shipa1autotransport Yesterday

User Panel Messages

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