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,422
» Latest member: alexfox
» Forum threads: 38,829
» Forum posts: 176,077

Full Statistics

Online Users
There are currently 29 online users.
» 0 Member(s) | 27 Guest(s)
Bing, Google

Latest Threads
If I open a file write or...
Forum: General Coding Help
Last Post: bowlofred
13 minutes ago
» Replies: 5
» Views: 106
a function to watch files
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 05:21 AM
» Replies: 3
» Views: 746
python re.finditer return...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 02:57 AM
» Replies: 8
» Views: 508
Exponential Number Conver...
Forum: General Coding Help
Last Post: DeaD_EyE
Jan-09-2026, 08:47 PM
» Replies: 4
» Views: 452
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Jan-08-2026, 04:31 PM
» Replies: 14
» Views: 800
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Jan-08-2026, 12:47 PM
» Replies: 12
» Views: 7,761
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Jan-08-2026, 06:35 AM
» Replies: 4
» Views: 731
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Jan-07-2026, 07:13 AM
» Replies: 6
» Views: 1,033
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,622
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 17,379

 
  pygame get window position
Posted by: vskarica - Oct-11-2020, 09:10 PM - Forum: Game Development - Replies (3)

Hi!
This seems like an obviously asked and answered and if so, I apologize. However, I cannot seem to be able to find the answer, and I have lost a f..... More

Print this item

  Best approach before adding features - Movie information script
Posted by: pythonnewbie138 - Oct-11-2020, 09:03 PM - Forum: Code Review - Replies (2)

Hi everyone,

I think I've finally wrapped my mind around classes but I would like to get some feedback on my current script before adding additiona..... More

Print this item

  numpy.ndarray' object is not callable
Posted by: natareid - Oct-11-2020, 06:37 PM - Forum: Data Science - Replies (4)

Hi,

I'm new to python and I'm trying to call a function and use it to calculate the median of a dataset but when I run it I get the following error..... More

Print this item

  How can I add string.upper()
Posted by: noahneature - Oct-11-2020, 06:28 PM - Forum: General Coding Help - Replies (2)

I can't seem to understand how to input tempUnits=tempUnits.upper() so that the user can put upper and lower case F
[python]
tempUnits = input("Ente..... More

Print this item

  Homework help
Posted by: BeardedTorus - Oct-11-2020, 05:11 PM - Forum: Homework - Replies (5)

Here's my assignment:
Odd/Even Counter
In this chapter you saw an example of how to design an algorithm that determines whether a number is even or ..... More

Print this item

  How to check spec table in another df
Posted by: Mekala - Oct-11-2020, 02:25 PM - Forum: General Coding Help - No Replies

Hi,
I have data frame as below:

group subgroup category name   T    S     P     R
A1      W           1           MAK     2    5.1  2     6 
A1 ..... More

Print this item

  Annuity function for school - syntax error
Posted by: peterp - Oct-11-2020, 01:21 PM - Forum: Homework - Replies (2)

Basic question but I`m doing something wrong. When run (windows idle 3.8) I receieve name 'a' is not defined. Thanks for help.

def instalment(a,b..... More

Print this item

  Comparing recursion and loops using two scripts (basic factorial)
Posted by: Drone4four - Oct-11-2020, 12:56 PM - Forum: General Coding Help - Replies (3)

The “factorial” of the integer 5 is the product of the first 5 integers multiplied against each other. So, 1*2*3*4*5 = 120.

Here is a script modell..... More

Print this item

  Copy files from subfolders into same name of subfolders at other directory
Posted by: rathoreanil - Oct-11-2020, 11:17 AM - Forum: General Coding Help - Replies (1)

Hello everyone,

I need python script, which should be capable for copying files from different subfolders into new directory and this new directory..... More

Print this item

  New Theme
Posted by: snippsat - Oct-11-2020, 11:07 AM - Forum: Board - Replies (9)

So we had a lot trouble with Forum lately,bye unwanted access.
Now that Forum is secure and updated,thanks to @D0X3D for all help we have gotten.

..... More

Print this item

Exclamation Pip yüklerken daha önce almadığım hataları alıyorum
Posted by: mehmetdgrd - Oct-11-2020, 10:45 AM - Forum: General Coding Help - Replies (2)

Hi I just started python I was able to add pip with the pip setup (pip name) command before. but when i try to add a pip for 2 days i get an error ........ More

Print this item

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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  If I open a file write or... 13 minutes ago Pedroski55 bowlofred General Codin...
  a function to watch files Yesterday, 05:21 Skaperen Skaperen News and Disc...
  python re.finditer return... Yesterday, 02:57 arbiel Pedroski55 General Codin...
  Exponential Number Conver... 01-09, 20:47 Tuurbo46 DeaD_EyE General Codin...
  Possible bug found, pleas... 01-08, 16:31 Hassher alexajames General Codin...
  How to put my game loop i... 01-08, 12:47 temlotresid6 MarkHenry Game Developm...
  Code failing to ask input... 01-08, 06:35 Phoenix_Narukami perfringo Homework
  sorting a lisr of file pa... 01-07, 07:13 Skaperen OtiliaGen News and Disc...
  Data Science 01-04, 10:20 Oshadha OtiliaGen Data Science
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
Most views
  The best Prog... 580739
  Tutorial Requ... 522273
  Web Scraping ... 442914
  New Users Int... 388144
  Newbie with P... 387140
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+ 12117
buran 8197
snippsat 7399
deanhystad 6921
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
alexfox Yesterday
zalexisshulzeo8879 Yesterday
SUMIATI Yesterday
starboy25 Yesterday
zabenjamitop8877 01-10

User Panel Messages

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