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,489
» Latest member: Luis_Rivera
» Forum threads: 38,579
» Forum posts: 174,815

Full Statistics

Online Users
There are currently 696 online users.
» 0 Member(s) | 691 Guest(s)
Bing, Yandex, Google, Applebot

Latest Threads
How can I write formatted...
Forum: General Coding Help
Last Post: hanmen9527
4 hours ago
» Replies: 13
» Views: 28,725
Copy the Contacts (member...
Forum: Web Scraping & Web Development
Last Post: RachelGregory
10 hours ago
» Replies: 2
» Views: 2,996
problems with netcdf if I...
Forum: General Coding Help
Last Post: vytlacfoto
11 hours ago
» Replies: 17
» Views: 1,404
How to attach images to a...
Forum: Board
Last Post: sethmike9
Yesterday, 04:08 AM
» Replies: 6
» Views: 8,888
How To Attach data Files
Forum: Board
Last Post: sethmike9
Yesterday, 04:05 AM
» Replies: 3
» Views: 4,153
Text frame
Forum: Homework
Last Post: Pedroski55
May-18-2025, 07:39 PM
» Replies: 2
» Views: 395
Python automation: Sendin...
Forum: General Coding Help
Last Post: olips784
May-18-2025, 06:28 PM
» Replies: 0
» Views: 189
class Blockage not projec...
Forum: General Coding Help
Last Post: deanhystad
May-15-2025, 04:32 PM
» Replies: 1
» Views: 304
Import vs from x import
Forum: General Coding Help
Last Post: snippsat
May-15-2025, 04:09 PM
» Replies: 1
» Views: 237
Trouble with Average Calc...
Forum: General Coding Help
Last Post: Pate
May-15-2025, 07:38 AM
» Replies: 4
» Views: 1,417

 
  Turtle.setpos() vs text position on screen query
Posted by: ElectronWrangler - Nov-25-2022, 07:00 AM - Forum: General Coding Help - No Replies

The program draws three centered lines on the screen and writes text at the same Y position. The text floats above the line with the spaceing between ..... More

Print this item

  no such file or directory in SFTP
Posted by: saisankalpj - Nov-25-2022, 06:59 AM - Forum: General Coding Help - Replies (2)

I am using sftp.put() to upload files into SFTP server.But i am following error

Error:
No such file or directory
This is my present folder s..... More

Print this item

  Tetris running too fast to failure
Posted by: yoh200 - Nov-25-2022, 06:10 AM - Forum: General Coding Help - No Replies

I have been looking into tutorials and its taken me a while but I managed to follow TechwithTim's tutorial and understand it. The code runs and I am n..... More

Print this item

  CPU vs GPU
Posted by: astral_travel - Nov-24-2022, 11:26 PM - Forum: General Coding Help - Replies (10)

hi,
okay so i understood that the GPU can also compute parallel and is also suitable for that,
i understood there's a software called CUDA that make..... More

Print this item

  while loops
Posted by: CJM125 - Nov-24-2022, 10:08 PM - Forum: Homework - Replies (4)

I'm completely new to Python and coding in general. I've been asked to write a program that always asks the user to enter a number. When the user ente..... More

Print this item

  Pydroid3 app crashes on xiaomi poco F3
Posted by: JMD - Nov-24-2022, 04:58 PM - Forum: General Coding Help - Replies (2)

Hi everyone,
I am a new member as of today.
I am developing a prototype application for remote control. It has the following architecture:
On my smart..... More

Print this item

  Updating tkinter text
Posted by: BliepMonster - Nov-24-2022, 03:40 PM - Forum: GUI - Replies (5)

Is there any possible way to update the canvas text with the tkinter canvas? I have a variable with the number that has to keep updating and a variabl..... More

Print this item

  Teaching my kids Python - best resources?
Posted by: cnd - Nov-24-2022, 04:39 AM - Forum: Bar - Replies (9)

I've been coding since 1982, learned python seriously a few years back (I'm a perl bigot) and my teenagers are about to start University to learn codi..... More

Print this item

  'NoneType' error
Posted by: YL1985 - Nov-24-2022, 02:14 AM - Forum: General Coding Help - Replies (9)

Hello, quite new to Python and would be happy for some help with an exercise I'm working on.
I'm trying to write a tip with $ and % signs and get ans..... More

Print this item

  Json filter is not capturing desired key/element
Posted by: mrapple2020 - Nov-23-2022, 10:26 PM - Forum: General Coding Help - Replies (1)

Hello, I am trying to do the following:

1) Read the Json file (sample output attached).
2) If account ID is 4254254 AND "compliance": "Fail", I ne..... More


Attached Files

.json   to.json (Size: 3.21 KB / Downloads: 307)
Print this item

  Copying files if the name is in range
Posted by: tester_V - Nov-23-2022, 10:03 PM - Forum: General Coding Help - Replies (9)

Greetings!
I'm trying to copy files if the file name has a digit and it is in the range of 0-3.
files in a directory go like this:
file.txt
file-1..... More

Print this item

  add object and name in list
Posted by: 3lnyn0 - Nov-23-2022, 08:05 PM - Forum: General Coding Help - Replies (4)

Hi! How can I add in both list (in first fname and in second the person object) every time when I creat a Person?
Secondary how can I add in a list o..... More

Print this item

  How to create a menu and execute a function based on user selection in python?
Posted by: Thedarkphoenix - Nov-23-2022, 06:40 PM - Forum: Homework - Replies (1)

Hello, I am making a program that looks for the root of a polynomial by different methods (bisection, false position, raphson and secant).
I have the ..... More

Print this item

  data file for .exe program to access
Posted by: ose - Nov-23-2022, 04:51 PM - Forum: General Coding Help - Replies (2)

Hello.
My question is hypothetical regarding whether Python would be the correct choice.
I have written a few Python programs being an amateur, that ..... More

Print this item

  Length of rows
Posted by: Krissstian - Nov-23-2022, 03:03 PM - Forum: General Coding Help - Replies (1)

Hi,

How can I determine number of a value occur in a column from an sql db?

[python]con = pymysql.connect(host='localhost', user='root', password='*..... More

Print this item

  Read nested data from JSON - Getting an error
Posted by: marlonbown - Nov-23-2022, 12:32 AM - Forum: General Coding Help - Replies (5)

i[python]mport json

#Later this will be extracted from a file
RAW_DATA = """ {
“991998795651": {
"cloudformation": {
"CloudFormatio..... More

Print this item

  What does that angle brackets mean?
Posted by: NewPi - Nov-23-2022, 12:15 AM - Forum: Data Science - Replies (5)

Hey, I am learning some numpy, matplotlib and pandas stuff.
And I wondered about some angle brackets in the output of this code (housing is a pandas ..... More

Print this item

  PyAutogui write Dollar Sign Dutch keyboard not working
Posted by: alato - Nov-22-2022, 11:25 PM - Forum: General Coding Help - No Replies

Hi 2 every 1,

I am using PyAutoGui to automate a login with Putty.

if I use PyAutoGui.write('This sign $ is a dollar sign')
The output will be ..... More

Print this item

  Please help me [copy and paste file from src to dst]
Posted by: midomarc - Nov-22-2022, 11:02 PM - Forum: General Coding Help - Replies (2)

I need to copy and paste a file with certain extensions from one location to another and receive notify by Mail from outlook if file it doesn't alread..... More

Print this item

  Speeding up iterating over rows
Posted by: NeoXx - Nov-22-2022, 01:22 PM - Forum: Data Science - Replies (3)

I cannot figure out how to speed up the following problem by vectorising.

I have a big (millions of rows) Pandas DataFrame of price changes in time..... More


Attached Files

Thumbnail(s)
   
Print this item

  Openpyxl make LineChart
Posted by: SamLiu - Nov-22-2022, 06:54 AM - Forum: General Coding Help - No Replies

Hi all,
I want to use openpyxl make LineChart as Line with markers style.
when run code get new chart need to modify Horizontal axis crosses-->Axis ..... More

Print this item

  ModuleNotFoundError
Posted by: mawarir - Nov-22-2022, 12:33 AM - Forum: General Coding Help - Replies (1)

I am trying to run a code that works in another laptop but not sure why i am getting the following error message:

[b]ModuleNotFoundError: No module..... More

Print this item

  stock trading GUI
Posted by: astral_travel - Nov-21-2022, 09:37 PM - Forum: GUI - Replies (1)

how can i make something like the application in the attached picture ? (style wise)

the chart and the features around it has to be interactive........ More


Attached Files

Thumbnail(s)
   
Print this item

  bytearray object - why converting to ascii?
Posted by: Chepilo - Nov-21-2022, 05:36 PM - Forum: General Coding Help - Replies (2)

I am a new Python developer.
Albeit new, I come from a C background.

I have a file of bytes I want to read into a bytearray() object. SOME of t..... More

Print this item

  Need help fixing Index Error
Posted by: adesimone - Nov-21-2022, 05:09 PM - Forum: Homework - Replies (1)

Hi,

This is for a class project. The course is not a coding course, but we do use code to complete homework and projects (yes, it is as confusing a..... More

Print this item

  Add buttons to StackLayout after 'Enter'
Posted by: Sosik1993 - Nov-21-2022, 01:37 PM - Forum: GUI - No Replies

Hi! I'm beginner in Python.
I want to add buttons to Wyniki(StackLayout) when I write something in TextInput and click Enter. I have written a progra..... More


Attached Files

Thumbnail(s)
   
Print this item

  Menu Choice Selection not Working
Posted by: ChLenx79 - Nov-21-2022, 10:16 AM - Forum: General Coding Help - Replies (5)

Morning all. Hope you are all well.

So I have recently started to learn python and i am a bit stuck.

I am working on a simple menu but for some ..... More


Attached Files

Thumbnail(s)
       
Print this item

  Python Program to Find the Factorial of a Number
Posted by: elisahill - Nov-21-2022, 07:55 AM - Forum: Homework - Replies (2)

[python]
# Python program to find the factorial of a number provided by the user.

# change the value for a different result
num = 7

# To take ..... More

Print this item

  Python Traceback Error
Posted by: mg24 - Nov-21-2022, 06:30 AM - Forum: General Coding Help - Replies (2)

Hi Team,

I am running python script via command line, getting below error.
Error is showing in two py files.

Traceback
main.py at line ----->1..... More

Print this item

  python list out top 10 Memory utilisation
Posted by: mg24 - Nov-20-2022, 10:51 PM - Forum: General Coding Help - No Replies

Hi Team,

I want to read top 10 memory utilisation of my system.
other than os.

Below is attempted code which gives all result.

[python]
imp..... More

Print this item

  animating 2d heat map
Posted by: schniefen - Nov-20-2022, 10:00 PM - Forum: Homework - No Replies

Consider the following heat map:

[python]
from scipy import special
import numpy as np
import matplotlib.pyplot as plt

u0=200
r0x=25
r0y=25..... More


Attached Files

Thumbnail(s)
   
Print this item

  IQ and Programming
Posted by: astral_travel - Nov-20-2022, 08:08 PM - Forum: News and Discussions - Replies (3)

say,
would you say that high IQ is essential in being a skilled programmer ?

Print this item

  Simple animation -- time evolution of function
Posted by: schniefen - Nov-20-2022, 08:05 PM - Forum: Homework - No Replies

I would like to animate how a function evolves over time. I would like to do this using only plt.blablabla, not ax.blablabla. The function is defined ..... More

Print this item

  Tkinter Aproach of UserInput Feedback
Posted by: RichardeRicharde - Nov-20-2022, 07:16 PM - Forum: GUI - Replies (2)

Hi There,
I wrote a simple math game for children and because i think it get´s more played by my son if there is an gui interface i try to rewrite it..... More

Print this item

  Different rows colours in treeview tkinter
Posted by: Krissstian - Nov-20-2022, 06:45 PM - Forum: GUI - Replies (1)

I have a treeview wich is populated from an sql DB:

[python] def fetch_data():
con = pymysql.connect(host='localhost', user='ro..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How can I write formatted... 4 hours ago JohnJSal hanmen9527 General Codin...
  Copy the Contacts (member... 10 hours ago danilobtos RachelGregory Web Scraping ...
  problems with netcdf if I... 11 hours ago Blaubart vytlacfoto General Codin...
  How to attach images to a... Yesterday, 04:08 CynthiaMoore sethmike9 Board
  How To Attach data Files Yesterday, 04:05 Talch sethmike9 Board
  Text frame 05-18, 19:39 dnabtuh Pedroski55 Homework
  Python automation: Sendin... 05-18, 18:28 olips784 olips784 General Codin...
  class Blockage not projec... 05-15, 16:32 Azdaghost deanhystad General Codin...
  Import vs from x import 05-15, 16:09 Calab snippsat General Codin...
  Trouble with Average Calc... 05-15, 07:38 autodecay Pate General Codin...
  tracking version during r... 05-15, 00:25 Skaperen Skaperen News and Disc...
Most views
  The best Prog... 566066
  Tutorial Requ... 459427
  Web Scraping ... 430996
  Newbie with P... 367799
  Thread remain... 340010
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12050
buran 8169
snippsat 7326
deanhystad 6827
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Luis_Rivera Today
hanmen9527 Today
zacharystone Today
DaddyMAN Today
rouzbehrasai1984 Today

User Panel Messages

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