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,947
» Latest member: Markbel386
» Forum threads: 38,726
» Forum posts: 175,524

Full Statistics

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

Latest Threads
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
8 hours ago
» Replies: 5
» Views: 9,155
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
11 hours ago
» Replies: 0
» Views: 65
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Today, 03:29 AM
» Replies: 2
» Views: 462
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Today, 02:36 AM
» Replies: 0
» Views: 103
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 08:56 PM
» Replies: 9
» Views: 606
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,831
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,140
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,495
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 3,065
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,806

 
  Properly import from sub/parent folders?
Posted by: oclmedyb - Dec-13-2020, 05:23 PM - Forum: General Coding Help - Replies (2)

Hello,

I want to organize my project in different folders.
Currently everything is in one folder but this is getting messy really fast.

This is..... More

Print this item

  PyQt and Pylupdate5
Posted by: Koi - Dec-13-2020, 04:49 PM - Forum: GUI - No Replies

Hello.
I am trying to create a translation file:
pylupdate5.py3 untitled.ui -ts zh_FN.ts
I get an error:
[error]
Traceback (most..... More

Print this item

  Python chess game to detect winner
Posted by: ddddd - Dec-13-2020, 04:42 PM - Forum: General Coding Help - Replies (1)

[python]def destroy_piece(self, piece):
""" Removes piece from the canvans and click-handler
automatily called by move_piece
..... More

Print this item

  Getting button pressed number
Posted by: Moris526 - Dec-13-2020, 04:27 PM - Forum: General Coding Help - Replies (4)

Hi all.

Im using Adafruit's Neotrellis led/button board with Python code on Raspberry pi

I want to send, via serial, the button pressed to Pc.
..... More

Print this item

  PyCharm Script Execution Time?
Posted by: muzikman - Dec-13-2020, 04:16 PM - Forum: General Coding Help - Replies (3)

Greetings,

I wanted to know if there is a way to time the execution of a script run in PyCharm? Or, are there any intrinsic in the language to find..... More

Print this item

  Scrapping Sport score
Posted by: laplacea - Dec-13-2020, 02:05 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi the forum,

I am very new to Python. I am trying to scrape pages like this : https://www.flashscore.fr/hockey/france/...-2018/resu..... More

Print this item

  [BeautifulSoup] ; comparing attributs with given value
Posted by: arbiel - Dec-13-2020, 11:19 AM - Forum: Web Scraping & Web Development - Replies (4)

Hi

I'm creating an html file to record the first and last entry of each page of my greek dictionnary. To find the page number of a given word, for ..... More

Print this item

  Analyzing yearly expenses (CSV file) from debit card
Posted by: Python_User - Dec-13-2020, 11:18 AM - Forum: Data Science - Replies (4)

Hello,

I am quite new with programming in Python and now I have started my (kind of) 'first' project in Python. I want to analyse my yearly expense..... More

Print this item

  How can this for loop work without : ?
Posted by: Pedroski55 - Dec-13-2020, 12:57 AM - Forum: General Coding Help - Replies (1)

I am working my way through Reuven Lerner's book Python Workout (great book!).

On page 86 is a program to find the longest words.

I have 10 boo..... More

Print this item

  Code not reading http link from .txt file (Beginner level)
Posted by: plarrip - Dec-13-2020, 12:56 AM - Forum: General Coding Help - Replies (3)

Hello fellow users,

I have a doubt regarding a code I wrote which reads .txt files. This was a practice exercise I found on the net which prompts t..... More

Print this item

  beginner help in python
Posted by: aghapouria - Dec-12-2020, 11:16 PM - Forum: General Coding Help - Replies (7)

Hi

I am trying to learn python and I am working with some problems in the book, I am trying to construct a function that reads the lines of a strin..... More

Print this item

  search of a curve fitting function
Posted by: bluffy5 - Dec-12-2020, 10:55 PM - Forum: General Coding Help - Replies (2)

hi,
i'm new in python and i have successfully plot a function. the problem is i need to curve fit it to have a fitted peak. The problem, i don't kno..... More

Print this item

  Little Help with Design of a Pooling Application
Posted by: roboroo - Dec-12-2020, 07:26 PM - Forum: General Coding Help - No Replies

So this will take some explanation. I'll try to get to the point as quickly as possible.

I'm new to Python, but programming a while. We use a datab..... More

Print this item

  Help with Matplotlib and ordering the axis
Posted by: theliberalguy97 - Dec-12-2020, 07:22 PM - Forum: General Coding Help - Replies (3)

Hello guys! Im from México and I am analyzing some data from my country.

This is the code that I am working with:

[python]# Importing libraries
impo..... More

Print this item

  Connect old access datbase .mdb
Posted by: nio74maz - Dec-12-2020, 01:03 PM - Forum: Networking - Replies (16)

Hi, I need help, I'm trying to connect to an access database .mdb maybe from 2002,I am trying with pyodbc bat it tells me that the program is done whi..... More

Print this item

  Design of borrower early warning syatem
Posted by: amolp - Dec-12-2020, 06:03 AM - Forum: General Coding Help - Replies (3)

Hello All,

I am planning to design a loan early warning system for my borrowers in python. In this regard, i want to have following:

1) News ale..... More

Print this item

  Real Time signal processing
Posted by: tagalog - Dec-11-2020, 07:47 PM - Forum: General Coding Help - Replies (2)

I have a Raspberry-pi4 and ADC which communicates through SPI and sends samples from sensor to Pi. The signal needs to be processed "real time" but th..... More

Print this item

  What does turtle.Turtle() actually do?
Posted by: karabakh - Dec-11-2020, 03:31 PM - Forum: General Coding Help - Replies (7)

What does turtle.Turtle() actually do?

I am trying to follow this tutorial on youtube:
https://www.youtube.com/watch?v=crV6T3piwHQ

You can see ..... More

Print this item

  Help with a ValueError
Posted by: devansing - Dec-11-2020, 02:36 PM - Forum: General Coding Help - Replies (4)

I am currently trying to work through a YouTube tutorial and am stuck on the following error:

ValueError: The truth value of a Series is ambiguous...... More

Print this item

Lightbulb If the argument is not int then make it int!
Posted by: pooyan89 - Dec-11-2020, 02:25 PM - Forum: Homework - Replies (2)

Hi !
I have to write a function named Countdown:
[python]def countdown(n):
while n > 0:
print(n)
n = n - 1
print('Blast..... More

Print this item

  Counting numbers in other lines
Posted by: LewAlbert - Dec-11-2020, 11:50 AM - Forum: Homework - Replies (6)

Hi, I need to count all numbers from text file using startswith. And I don't know how to count them up after displaying the records I'm interested in ..... More

Print this item

Video ModuleNotFoundError: No module named ‘…’
Posted by: Frank911 - Dec-11-2020, 11:46 AM - Forum: General Coding Help - Replies (1)

Running outside Pycharm I always get an error.

I want to be able to run the module in:

  • Venv
    Pycharm terminal
    Windows Command Line
    Jenk..... More

Print this item

  TCP Communicate...
Posted by: ATARI_LIVE - Dec-11-2020, 09:14 AM - Forum: Networking - Replies (3)

I want to test to see if works, here what I am trying and did not work, why? Byte?

[b]Here for CLIENT:[/b..... More

Print this item

  how to positon a tkinter canvas
Posted by: Tyrel - Dec-11-2020, 08:34 AM - Forum: General Coding Help - Replies (3)

could someone please help.

at the moment I created a tkinter canvas but when I run it, it is close to the top left.

how do I position it in the..... More

Print this item

  Defining an object's argument whose name is stored in a variable
Posted by: arbiel - Dec-10-2020, 10:06 PM - Forum: General Coding Help - Replies (2)

Hi everybody

Window being a class, I define an Window objet's argument whose name is stored in a variable with the following code :
[python]
w=Wi..... More

Print this item

Thumbs Up Please help me add all the results
Posted by: mr_kungfu - Dec-10-2020, 08:23 PM - Forum: General Coding Help - Replies (2)

Hey all, Im trying to code dice rolls that all get added together

Two pieces of code here, first bit generates all the numbers and prints then out,..... More

Print this item

  Rotate 2D Gaussian given parameters
Posted by: schniefen - Dec-10-2020, 06:16 PM - Forum: General Coding Help - Replies (4)

I have a Gaussian function of the form:

[python]
def f(x,y):
a=some number
b=...
c=...
return 3*np.exp(-a*(-0.5 + x)**2+b*(x-0.5)*(y-..... More

Print this item

Question Can I set background color for each item in tkinter Combobox?
Posted by: water - Dec-10-2020, 06:04 PM - Forum: GUI - Replies (1)

Can I insert color block for each item in tkinter 'Combobox',
like this:
[Image: 1a32077.png]

or set background color ..... More

Print this item

  how do i store then call a mp3 from sqlite3 .db file
Posted by: gr3yali3n - Dec-10-2020, 05:56 PM - Forum: General Coding Help - Replies (3)

what would be the best way to store and then call and play music files from a .db file?
i have been trying to figure out how i would store music in a..... More

Print this item

  ModuleNotFoundError: No module named 'com'
Posted by: aleksg - Dec-10-2020, 03:53 PM - Forum: General Coding Help - Replies (9)

Hello. I have a simple class and a simple test.
I've created packages com.my.pack and class My1.py
[python]class My1:
val1="ABC"
val2=..... More

Print this item

  How to run parallel command (same command -ping)
Posted by: korenron - Dec-10-2020, 03:09 PM - Forum: General Coding Help - Replies (3)

Hello ,
I have a code that read data from DB and return a list of IP (around 600 every query )
now I wrote a code that check if the device is online ..... More

Print this item

  finding and deleting json object
Posted by: GrahamL - Dec-10-2020, 03:09 PM - Forum: General Coding Help - Replies (1)

Hi
I have this JSON-
[python]{
"ticker_tape_1": [
{
"id": 1,
"Title": "Message 1",
"txt": "This..... More

Print this item

  help for my assignment
Posted by: alexde1994 - Dec-10-2020, 02:53 PM - Forum: Homework - Replies (2)

Hey there, please help me with my assignment


""""
Exercise 1: three types of people: susceptible (S), infected (I) and recovered ®, the diffe..... More

Print this item

  invalid syntax in line 5. Help
Posted by: Asadzangibaloch - Dec-10-2020, 02:43 PM - Forum: General Coding Help - Replies (2)

if string 1 length is greater than print true else false. but there is a problem can u please help me

invalid syntax in line 5

1- string1=input..... More

Print this item

  Kivy 2.0.0 released
Posted by: buran - Dec-10-2020, 01:13 PM - Forum: News and Discussions - Replies (1)

https://github.com/kivy/kivy/releases/tag/2.0.0

[quote]The Kivy team is happy to announce the release of Kivy 2.0.0.

Kivy is a full-featured fra..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Creating a Mindmap progra... 8 hours ago J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 11 hours ago compuman145 compuman145 General Codin...
  A coding beginner needs h... Today, 03:29 Littlefish Littlefish General Codin...
  Is the interpreter that c... Today, 02:36 helendamdam helendamdam General Codin...
  Using a For Loop to subtr... Yesterday, 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...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  real community 09-15, 20:16 decuser decuser News and Disc...
Most views
  The best Prog... 576720
  Tutorial Requ... 498943
  Web Scraping ... 440528
  Newbie with P... 384499
  New Users Int... 368274
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 7368
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Markbel386 Today
trntgl Today
susan Today
jatinkumar12 Today
angelhealu504 Today

User Panel Messages

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