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,858

Full Statistics

Online Users
There are currently 30 online users.
» 1 Member(s) | 27 Guest(s)
Bing, Google, deanhystad

Latest Threads
PyQt6 QWidgets and system...
Forum: GUI
Last Post: deanhystad
1 minute ago
» Replies: 1
» Views: 117
best way to learn python
Forum: News and Discussions
Last Post: mamta25
9 minutes ago
» Replies: 5
» Views: 3,051
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 10:27 PM
» Replies: 3
» Views: 180
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Yesterday, 11:47 AM
» Replies: 4
» Views: 161
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Yesterday, 08:44 AM
» Replies: 2
» Views: 128
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 175
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 351
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 71
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 369
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 211

 
  Ordered Learning Model (OLM)
Posted by: FranciscoPL - Oct-05-2020, 01:34 PM - Forum: Data Science - Replies (1)

Hello Everybody,

Does anyone know if there is an existing implementation in Python for this Machine Learning Model ? I´ve found it in Java, but in..... More

Print this item

  single range function
Posted by: AgileAVS - Oct-05-2020, 07:54 AM - Forum: Web Scraping & Web Development - Replies (3)

Hey I need help to create multiple loops in a single statement as:

'''for n1,n2,n3 in range(1,501):
........code'''

**TypeError: cannot unpack ..... More

Print this item

  How to keep overview about methods in a module?
Posted by: RedGreenBlue - Oct-05-2020, 07:08 AM - Forum: General Coding Help - Replies (3)

Dear Python community,

thank you that I could join you.
I have wondered about a question and maybe you could help me with your experience.

So ..... More

Print this item

  Grouping and summing of dataset
Posted by: jef - Oct-04-2020, 11:03 PM - Forum: General Coding Help - No Replies

I have this dataset that I imported with pandas:

[output]
Date Hour Water
2020-01-01 2 5
2020-01-01 3 45
2020-01-01 ..... More

Print this item

  Image Processing in Python
Posted by: JoeDainton123 - Oct-04-2020, 10:05 PM - Forum: General Coding Help - Replies (1)

Hello all

I wanted to get the communities advice on a python project I am considering on embarking on.

I have a PDF file that contains approx 50..... More

Print this item

  Issue in Tkinter with winfo_class() and LabelFrame
Posted by: ReDefendeur - Oct-04-2020, 09:09 PM - Forum: GUI - Replies (1)

Hello,
I'm ReDefendeur and I would like to tell you about a potential bug that I found in Tkinter.

When we do widget.winfo_class()
this re..... More

Print this item

  sqlite3 database problem
Posted by: Maryan - Oct-04-2020, 08:34 PM - Forum: General Coding Help - Replies (2)

Hi! In general im new with python. I'm making my first tkinter app, but for some reason im not able to insert entry into the database.

I wanted to ..... More

Print this item

  Creating symbolic matrix automated
Posted by: NMMST - Oct-04-2020, 08:19 PM - Forum: General Coding Help - Replies (2)

Hi,
I have to create a matrix
A = [ x5^5 X4^4 X3^3 X2^2 X1 1]

Print this item

Question Selenium Screenshots store in Database
Posted by: Nuwan16 - Oct-04-2020, 07:58 PM - Forum: Web Scraping & Web Development - Replies (3)

When taking web screenshots using selenium web driver, it saved PNG screenshots correctly. So, is there a way to stored these PNG screenshots in datab..... More

Print this item

  Printing to a printer connected to pi 4
Posted by: alan - Oct-04-2020, 07:33 PM - Forum: General Coding Help - Replies (2)

Hello all
I am a total newbie but with a background in BASIC, QBasic, MMBasic and Vb6. I am about to take delivery of a Raspberry Pi 4. I am intending..... More

Print this item

  Vertical Tabs Alignment in Tkinter
Posted by: muhammadasim - Oct-04-2020, 06:48 PM - Forum: GUI - Replies (2)

Hi there, Need some help.
I want the tabs to be aligned in the panel from the left. I have made them vertically positioned but couldn't correct it's ..... More

Print this item

  pseudogen
Posted by: ErnestTBass - Oct-04-2020, 05:31 PM - Forum: General Coding Help - No Replies

I am having some troubles using pseudogen. It generates pseudo code from python source code, a nice trick.. You can use the basic version or the Docke..... More

Print this item

  programming different formulas in need of help
Posted by: noahneature - Oct-04-2020, 05:09 PM - Forum: Homework - Replies (4)

D= the diameter of the storm in miles
t=time in hours

t=sqaure root of d to the power of 3 divided by 216

Can anyone give me suggestions on h..... More

Print this item

  Embedding python cause crash when use boost::asio multi threading
Posted by: udvatt108 - Oct-04-2020, 03:15 PM - Forum: General Coding Help - No Replies

Hi there!

I have a problem.

The program is that, im using embeded python in my c++ project (Win32), it is okay, but when i use boost::asio socke..... More

Print this item

  ModuleNotFoundError: No module named 'requests'
Posted by: Martin - Oct-04-2020, 02:31 PM - Forum: General Coding Help - Replies (2)

Hi,

I'm new to programming.

I get ModuleNotFoundError: No module named 'requests'.

I tried many diffrent tips found on the internet but nothi..... More

Print this item

  hi guys, i'm back to learning python !
Posted by: astral_travel - Oct-04-2020, 02:28 PM - Forum: General Coding Help - Replies (6)

i'm trying to take a .CSV file and write its data into another file,
i don't wanna copy the file, if you'll look at my code you'll probably see what ..... More

Print this item

  Sharing my code
Posted by: emirasal - Oct-04-2020, 02:07 PM - Forum: General Coding Help - Replies (2)

Hello I'm new to programming so what I'm asking might be stupid. I made a program with python and want to share it with my friends. Do they also need ..... More

Print this item

  Dtype STR but output in Shell still int?
Posted by: johnjfk - Oct-04-2020, 12:54 PM - Forum: General Coding Help - Replies (6)

I'm fairly new in python so it happens that on certain problems I'm getting really stuck from time to time. I have already checked the web not finding..... More

Print this item

  Coin Toss - Distribution
Posted by: lasek723 - Oct-04-2020, 12:26 PM - Forum: General Coding Help - Replies (6)

I am currently doing the case studies from DataCamp - this script is confusing me

[python]
for x in range(100) :
tails = [0]
for x in ra..... More

Print this item

  About mathematical equations
Posted by: seyidcemkarakas - Oct-04-2020, 10:47 AM - Forum: General Coding Help - Replies (3)

Hi guys!
I try to write equatoins not like that:
y=x^2+3x+11
But i like to write how we can write on our hands.Like this image
[img]https://images..... More

Print this item

  Turtle / turtle question
Posted by: DPaul - Oct-04-2020, 08:30 AM - Forum: GUI - Replies (2)

I know that Turtle is python v2 and turtle is v3.
To import is use this:

from turtle import Turtle
t =  Turtle()
an..... More

Print this item

  Graph identifier
Posted by: samuelbachorik - Oct-04-2020, 08:16 AM - Forum: General Coding Help - Replies (4)

Hello guys i have question about identification graph movements.
Lets imagine movement like this in graph.
[img]<a href="https://ibb.co/VMTdyzm"><img..... More

Print this item

  Store a set in a dictionary's value
Posted by: SalsaBeanDip - Oct-04-2020, 01:18 AM - Forum: General Coding Help - Replies (9)

Hello everyone. I am having trouble understanding how to store a set in a dictionary's value.

I have to read a file that contains a chronological l..... More

Print this item

  Setting Tick Intervals In Sub Plots
Posted by: JoeDainton123 - Oct-03-2020, 09:20 PM - Forum: General Coding Help - Replies (1)

Hello all

I was hoping someone could point me in the right direction regarding setting the intervals for the Y axis ticks.

I have the following ..... More

Print this item

  One silly stripping func to complement the lib
Posted by: voidptr - Oct-03-2020, 09:14 PM - Forum: Code sharing - Replies (4)

Another silly function I use often...
(I got an extention module with functions not in python lib.)

Stripping a bunch of caracters from a string..... More

Print this item

  Real-time processing
Posted by: tagalog - Oct-03-2020, 05:59 PM - Forum: General Coding Help - Replies (5)

Hi, I've just started programming with Python.
I have to write a code trough which I have to process two different signals: ECG and respiration. I ne..... More

Print this item

  easygui use enter instead of ok
Posted by: udihamudi - Oct-03-2020, 04:39 PM - Forum: GUI - Replies (2)

Hi guys, sorry newbe question- is there a way to dismiss easygui dialog by pressing enter on the keyboard rather than clicking "ok" (or some other bu..... More

Print this item

  GCF function w recursion and helper function(how do i fix this Recursion Error)
Posted by: hhydration - Oct-03-2020, 04:02 PM - Forum: Homework - Replies (3)

[python]
def gcd(x,y):
if x > y:
return gcd_helper(x, y, y)
else:
return gcd_helper(x, y, x)
if x == y:
ret..... More

Print this item

  Using different IDE
Posted by: Lass86 - Oct-03-2020, 04:00 PM - Forum: News and Discussions - Replies (4)

Hello everyone,

I'm doing a course in Python and they're recommending Wing IDE. After searching for a while, I just can't seem to make it work wit..... More

Print this item

  Singular error with numpy.linalg.inv
Posted by: LennartLindner - Oct-03-2020, 02:07 PM - Forum: Homework - Replies (1)

Hi there Smile ,

I have a problem with calculating the inverse of a Matrix A. I use the numpy library.

Inverse = numpy.linalg(A)

This wo..... More

Print this item

  Error When Plotting ValueError: x and y must have same first dimension
Posted by: JoeDainton123 - Oct-03-2020, 01:44 PM - Forum: General Coding Help - Replies (1)

Hi all

I was hoping someone could help me.

I am trying to create a series of plots from a large data set.

But every plot has a different set ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Data cardinality is ambiguous: x sizes: 51 y sizes: 26
Posted by: sidra - Oct-03-2020, 11:43 AM - Forum: Data Science - No Replies

hi.
i am new to python. i am trying lstm model with Xtraining data=1405 columns and 26 rows, y training=3 classes(columns) and 26 rows, XTest daya=1..... More

Print this item

  get two characters, count and print from a .txt file
Posted by: Pleiades - Oct-03-2020, 05:08 AM - Forum: General Coding Help - Replies (9)

Hi all, I'm back anyway

The program I wrote is terrible so if anyone can make a different py and give me some pointers well thanks a bunch **wall*..... More

Print this item

  Easy File Scanner
Posted by: Tek - Oct-02-2020, 11:42 PM - Forum: Code Review - Replies (2)

I'm not a heavy Python programmer, but I enjoy it habitually and started a project recently.
The idea is to have a program that checks a backup copy ..... More

Print this item

  Getting largest indices of array less than or equal to an array of numbers
Posted by: schniefen - Oct-02-2020, 10:21 PM - Forum: Homework - Replies (5)

Consider the following code:

[python]
import numpy as np
y_i=np.linspace(0,1,11) #0,0.1,0.2,...,1
y=np.random.uniform(0,1) #random point in [0,1..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  PyQt6 QWidgets and system... 1 minute ago stevecoh1 deanhystad GUI
  best way to learn python 9 minutes ago dutch mamta25 News and Disc...
  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...
  [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
Most views
  The best Prog... 579115
  Tutorial Requ... 511327
  Web Scraping ... 442072
  Newbie with P... 386137
  New Users Int... 378494
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 6915
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