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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,706
» Latest member: tomashlabel
» Forum threads: 37,424
» Forum posts: 170,053

Full Statistics

Online Users
There are currently 363 online users.
» 1 Member(s) | 354 Guest(s)
Facebook, AOL, Google, Yandex, Baidu, Bing, Apple, menator01

Latest Threads
Flask role-based authoriz...
Forum: General Coding Help
Last Post: erdemath
4 hours ago
» Replies: 0
» Views: 69
Do regular expressions st...
Forum: General Coding Help
Last Post: rishika24
8 hours ago
» Replies: 3
» Views: 139
Calculating Average with ...
Forum: General Coding Help
Last Post: mikasa
8 hours ago
» Replies: 0
» Views: 65
Connecting to Remote Serv...
Forum: General Coding Help
Last Post: Pedroski55
10 hours ago
» Replies: 1
» Views: 123
World Clock syntax error
Forum: General Coding Help
Last Post: snippsat
Today, 05:20 AM
» Replies: 1
» Views: 98
How to solve this problem...
Forum: Homework
Last Post: roryelila68
Today, 02:16 AM
» Replies: 6
» Views: 544
Equivalent Python code fr...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 10:17 PM
» Replies: 4
» Views: 925
questions about storage
Forum: Game Development
Last Post: PhantomMouse
Yesterday, 09:02 PM
» Replies: 0
» Views: 81
Filer and sort files by m...
Forum: General Coding Help
Last Post: tester_V
Yesterday, 05:39 PM
» Replies: 6
» Views: 192
two functions working in...
Forum: General Coding Help
Last Post: zapad
Yesterday, 01:35 PM
» Replies: 2
» Views: 168

 
  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
  Flask role-based authoriz... 4 hours ago erdemath erdemath General Codin...
  Do regular expressions st... 8 hours ago bobmon rishika24 General Codin...
  Calculating Average with ... 8 hours ago mikasa mikasa General Codin...
  Connecting to Remote Serv... 10 hours ago ChaitanyaSharma Pedroski55 General Codin...
  World Clock syntax error Today, 05:20 OscarBoots snippsat General Codin...
  How to solve this problem... Today, 02:16 magomes roryelila68 Homework
  Equivalent Python code fr... Yesterday, 22:17 Mishal0488 DeaD_EyE General Codin...
  questions about storage Yesterday, 21:02 PhantomMouse PhantomMouse Game Developm...
  Filer and sort files by m... Yesterday, 17:39 tester_V tester_V General Codin...
  two functions working in... Yesterday, 13:35 zapad zapad General Codin...
  Button to +1 in text box ... Yesterday, 10:30 martyloo lillydalson GUI
Most views
  The best Prog... 427427
  Web Scraping ... 315747
  Tutorial Requ... 304843
  Newbie with P... 259291
  Thread remain... 243235
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 330
deanhystad 312
Most replies
  New Users Int... 431
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11875
buran 8090
snippsat 7095
deanhystad 6232
metulburr 5150
Top referrers
Googlepro 20
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
tomashlabel Today
RAJIV Today
rishika24 Today
mikasa Today
Nirliq Today

User Panel Messages

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