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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,954
» Latest member: Perry
» Forum threads: 38,727
» Forum posts: 175,526

Full Statistics

Online Users
There are currently 70 online users.
» 0 Member(s) | 61 Guest(s)
Bing, AOL, Google, Mojeek, Facebook

Latest Threads
extracting data from a us...
Forum: General Coding Help
Last Post: Pedroski55
2 hours ago
» Replies: 1
» Views: 77
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
7 hours ago
» Replies: 3
» Views: 153
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
10 hours ago
» Replies: 0
» Views: 343
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 02:48 PM
» Replies: 10
» Views: 29,358
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,403
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Sep-23-2025, 09:08 AM
» Replies: 0
» Views: 281
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Sep-23-2025, 03:29 AM
» Replies: 2
» Views: 728
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 924
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,190
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,392

 
  how to pass arguments between pythons scripts?
Posted by: electricDesire - Oct-11-2020, 10:21 PM - Forum: General Coding Help - Replies (2)

Hello, everybody,
I'm new in python and i'm trying to pass arguments between different scripts but they only update one way:
i'm calling the first ..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  extracting data from a us... 2 hours ago Perry Pedroski55 General Codin...
  [Tkinter] how to export a... 7 hours ago RonR Pedroski55 GUI
  Is the interpreter that c... 10 hours ago helendamdam helendamdam General Codin...
  pip install requests does... Yesterday, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... 09-23, 03:29 Littlefish Littlefish General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad General Codin...
  403 error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
Most views
  The best Prog... 576846
  Tutorial Requ... 499348
  Web Scraping ... 440625
  Newbie with P... 384602
  New Users Int... 368540
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12088
buran 8176
snippsat 7367
deanhystad 6895
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Perry Today
bianchiluca116 Yesterday
Jorgecog Yesterday
adamsmith12 Yesterday
Ronny Yesterday

User Panel Messages

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