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,272
» Latest member: DataScientist071
» Forum threads: 38,787
» Forum posts: 175,856

Full Statistics

Online Users
There are currently 47 online users.
» 1 Member(s) | 37 Guest(s)
Facebook, Applebot, Google, Mojeek, snippsat

Latest Threads
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 10:27 PM
» Replies: 3
» Views: 171
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Yesterday, 11:47 AM
» Replies: 4
» Views: 158
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Yesterday, 08:44 AM
» Replies: 2
» Views: 127
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 173
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 350
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 69
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 116
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 365
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 208
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 322

 
Photo Trying to set up virtualenv for windows not working
Posted by: zazas321 - Oct-11-2020, 09:45 AM - Forum: Web Scraping & Web Development - Replies (2)

Hello. I am trying to learn web development using python and django. I have watched a few videos and most suggest using virtualenv. I have installed p..... More

Print this item

  What is sysargv?
Posted by: Pedroski55 - Oct-11-2020, 09:24 AM - Forum: General Coding Help - Replies (3)

(Something has changed here, I can't seem to mark Python code as code. Sorry!)

I was just looking at this, but I cannot understand what  this part ..... More

Print this item

  Does anyone have unicurses panel functions working on a Windows 10 platform?
Posted by: pjfarley3 - Oct-11-2020, 04:41 AM - Forum: General Coding Help - No Replies

I have been trying to get unicurses panel functions working on my Windows 10 machine, but without much success.

I am running a Win 10 V2004 system,..... More

Print this item

  Unable to install dataprep on my python notebook
Posted by: simplexity - Oct-11-2020, 01:59 AM - Forum: Data Science - No Replies

Hi all,

I have encountered the following error messages when attempting to execute the following command on my notebook.
[i]!pip install dataprep[..... More

Print this item

  Remove specific elements from list with a pattern
Posted by: Xalagy - Oct-10-2020, 10:24 PM - Forum: General Coding Help - Replies (3)

#Hi everyone, here is my problem:

# My Printer-Software got an error while selecting the double printing feature
# My initial goal was to print 4 ..... More

Print this item

  What would be a substitute for "::"
Posted by: hhydration - Oct-10-2020, 10:08 PM - Forum: Homework - Replies (1)

The use of :: is prohibited for certain assignments, what would be a substitute that would allow you to do things like print every other character in ..... More

Print this item

  Print characters in a single line rather than one at a time
Posted by: hhydration - Oct-10-2020, 09:43 PM - Forum: General Coding Help - Replies (1)

 
for x in range(len(s)):
    if x % 2!=0:
        print(s[x])
This is the code I am using to print every other character in a st..... More

Print this item

  !finddialog problem
Posted by: Maryan - Oct-10-2020, 06:38 PM - Forum: GUI - Replies (2)

Cant find the error, little help is appreciated.
[python]
class FindDialog(Toplevel):
    def __init__(self, parent, *args, **kwargs):
        Top..... More

Print this item

  Please Help Me About OS Library
Posted by: enes - Oct-10-2020, 05:37 PM - Forum: General Coding Help - Replies (3)

Hi guys! I'm using python on raspberry pi 4. I'm stucked on this code:

[font=Courier New, Courier, monospace]
[color=#2ECC71]import os

cmd = " ..... More

Print this item

  fraction module: can you stop the reducing?
Posted by: qmfoam - Oct-10-2020, 05:37 PM - Forum: General Coding Help - Replies (1)

when you import the fraction module, you can instantiate a Fraction instance:

from fractions import Fraction as frac
a = frac(1,3)
b = frac(1,6)..... More

Print this item

  Delete edge between 2 vertex in graph problem
Posted by: Mudd07 - Oct-10-2020, 03:46 PM - Forum: Homework - Replies (1)

Hello Python community,

I am new to python and it is my first post. I wanted to make a graph describing nodes (vertex) and edges. I could easily ad..... More

Print this item

  switching from notebook to pycharm
Posted by: enterthevoid22 - Oct-10-2020, 03:33 PM - Forum: News and Discussions - Replies (1)

hi,
what would be a good way to become acquainted with pycharm ide for deep learning?

more specifically, i have some experience with deep learni..... More

Print this item

Photo Travelling Salesman Problem
Posted by: huhandrey - Oct-10-2020, 01:43 PM - Forum: Homework - Replies (2)

Hello, guys!

I have a task to make a Travelling salesman problem. The code i attached bellow is only conneting the lines from 1 to 5(for example). ..... More

Print this item

  Python IDE doesn't see opencv-python package on my Jetson Nano
Posted by: sadhaonnisa - Oct-10-2020, 11:42 AM - Forum: General Coding Help - Replies (1)

I'm using a Jetson Nano, which has a 
arm64 architecture. The Python IDE I'm using is Thonny. I wasn't able to install the opencv-..... More

Print this item

  Tkinter menu font size -method to change
Posted by: tonycat - Oct-10-2020, 10:58 AM - Forum: GUI - Replies (2)

Hello,

        How can I change the Tkinter menu font size, I can change the font size of other components , except menu Huh Huh Huh
 ..... More

Print this item

  How many times was the button pressed in pyglet
Posted by: rama27 - Oct-10-2020, 10:26 AM - Forum: General Coding Help - No Replies

Hi,
I have a following issue. I need to count how many times did I press any button on my keyboard. See following example:

[python]
import pyglet..... More

Print this item

  Intersection
Posted by: Kimberley100 - Oct-10-2020, 09:39 AM - Forum: Homework - Replies (6)

Task: you are given the number of channels, the number(always even)of logs into each channel, the log itself
For example:
1 #the number of channels..... More

Print this item

  sowtware of communicatio
Posted by: Mathisdlg - Oct-10-2020, 09:31 AM - Forum: Networking - No Replies

Hello everyone,
I create a python script of communication but out of LAN network he doesn't work.
Can you explain me because and if you have solutio..... More

Print this item

  download pubmed PDFs using pubmed2pdf in python
Posted by: Wooki - Oct-10-2020, 09:11 AM - Forum: General Coding Help - Replies (8)

Hello,
Is there anyone can help me with these problems:
I want to download papers from Pubmed and save them as PDFs. Then 
1. A paper in PDF versio..... More

Print this item

  How to order the Cronjobs to avoid overlap or conflict
Posted by: sadhaonnisa - Oct-10-2020, 08:47 AM - Forum: General Coding Help - Replies (1)

I am running two cronjobs for python script every 5 minutes on ubuntu sys..... More

Print this item

  Using recursion instead of for loops / list comprehension
Posted by: Drone4four - Oct-10-2020, 03:39 AM - Forum: General Coding Help - Replies (4)

So I’ve been learning about symmetric differences between lists which can be accomplished in a number of different ways using for loops, list comprehe..... More

Print this item

  How to print n days back date at give time
Posted by: Mekala - Oct-10-2020, 02:54 AM - Forum: General Coding Help - Replies (1)

Hi,
I want to print "N" days back date with specified time. I use below code but it error:

from datetime import datetime, timedelta
[quote]N = 2..... More

Print this item

  Written the Time...
Posted by: ATARI_LIVE - Oct-10-2020, 02:14 AM - Forum: General Coding Help - Replies (6)

I looked google and seem not get what I wanted, so let I ask this...

what is the code that I can to WRITE the time into the system when network is ..... More

Print this item

  ClockIn/Out tkinter problem
Posted by: Maryan - Oct-09-2020, 08:58 PM - Forum: GUI - Replies (2)

I will appreciate any help. I got stuck with hours to find the solution.

[python]import tkinter as tk
import time
import datetime
from tkinter i..... More

Print this item

  Received RunTimeError after script concludes, closing Dialog Window (clicking x-out)
Posted by: skipper0802 - Oct-09-2020, 08:01 PM - Forum: GUI - No Replies

Greetings All,
In learning more about using PyQt5's signals and slots I found a tutorial ..... More

Print this item

  parsing question
Posted by: ridgerunnersjw - Oct-09-2020, 07:50 PM - Forum: General Coding Help - Replies (7)

Can someone tell me how to parse this using '\x' and place each line on it's own:....I tried .split(b'\x') but this gives me an error

[output]b'\x0..... More

Print this item

  xml.etree.ElementTree question.
Posted by: water - Oct-09-2020, 06:47 PM - Forum: General Coding Help - No Replies

tested on python 3.8.2

test.xml contents:
[python]
<a>
<b1>b1 content
<c1>b1-c1 content</c1>
<c2>b1-c2 content</c2>
</b1>
<b2>b2 cont..... More

Print this item

  Populate the new lists by looping over the original lists
Posted by: drunkenphd - Oct-09-2020, 06:37 PM - Forum: General Coding Help - Replies (1)

have dataframe gapminder and every column is organized as separate list using code as below:

[python]country = df.country.to_list()
continent = df..... More

Print this item

  tkinter | Button color text on Click
Posted by: Maryan - Oct-09-2020, 04:51 PM - Forum: GUI - Replies (2)

Hi guys! I need some help from you.

for tkinter to change button color is 'fg, 'bg' for background. On click to change the background is 'activebac..... More

Print this item

  Creating Pong in Pygame
Posted by: Russ_CW - Oct-09-2020, 04:47 PM - Forum: Game Development - Replies (2)

Hi Folks,

This is my version of Pong, coded in PyGame, which was pretty fun and not too difficult to code. Any comments welcome :)

..... More

Print this item

  Selenium google login
Posted by: probottpric - Oct-09-2020, 04:19 PM - Forum: Web Scraping & Web Development - No Replies

Hey guys,

I am trying to login to my google account with selenium web browser, but google dosent allow to login using the chrome webdriver browser ..... More

Print this item

  Getting a list in dynamic page
Posted by: probottpric - Oct-09-2020, 03:35 PM - Forum: Web Scraping & Web Development - Replies (1)

Hey guys,

I am using python 3 with selenium and beautifulSoup and am trying to get a list of the members participating in a google meet. The problem ..... More

Print this item

  Import data in Python from PHP
Posted by: adm00 - Oct-09-2020, 03:29 PM - Forum: Web Scraping & Web Development - No Replies

498/5000
Hi, this is the first time that I write so I apologize in advance if I have the wrong section in the forum.
In the last few days I wanted t..... More

Print this item

  server down while making long posts
Posted by: metulburr - Oct-09-2020, 02:25 PM - Forum: Board - Replies (15)

@[buran] I know you were responding to posts while the forum was being hacked and losing all the content and forced to redo it. I have done this same ..... More

Print this item

  Next steps for using API data
Posted by: Rebster - Oct-09-2020, 10:48 AM - Forum: General Coding Help - Replies (6)

I'm very new to Python, and as a starter project I'm trying to use it to request data using an API which I then want to store in a csv file.

So far..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Graph Interpolate Difficu... Yesterday, 22:27 Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... Yesterday, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... Yesterday, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
Most views
  The best Prog... 579114
  Tutorial Requ... 511317
  Web Scraping ... 442068
  Newbie with P... 386136
  New Users Int... 378483
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+ 12108
buran 8196
snippsat 7389
deanhystad 6914
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
DataScientist071 Today
aminrony1999 Yesterday
fobby888 Yesterday
digitalboy346 Yesterday
ben9090o Yesterday

User Panel Messages

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