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,935
» Latest member: Baran12332
» Forum threads: 38,722
» Forum posts: 175,510

Full Statistics

Online Users
There are currently 49 online users.
» 1 Member(s) | 37 Guest(s)
Applebot, Google, Bing, AOL, Facebook, Mojeek, AOL, Axel_Erfurt

Latest Threads
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
11 hours ago
» Replies: 2
» Views: 307
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Yesterday, 06:57 PM
» Replies: 10
» Views: 3,765
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Yesterday, 12:30 PM
» Replies: 1
» Views: 3,366
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Yesterday, 11:11 AM
» Replies: 4
» Views: 684
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,144
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,027
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,261
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,258
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,376
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 938

 
  Maptplotlib Animation
Posted by: peterjv26 - Sep-23-2021, 03:47 PM - Forum: General Coding Help - Replies (4)

Hi, I was trying to understand myplotlib animation. Watched few tutorial videos and prepared the below code which is pretty much a copy/paste from one..... More

Print this item

  df vs. array
Posted by: Mark17 - Sep-23-2021, 01:59 PM - Forum: General Coding Help - Replies (4)

I'm trying to code a time-series project where I have inventory that I need to update every day based on the latest conditions.

I'm a newbie so i..... More

Print this item

  Inheritance vs Instantiation for Python classes
Posted by: mr_byte31 - Sep-23-2021, 12:31 PM - Forum: General Coding Help - Replies (7)

I know the meaning of Instantiation and Inheritance.
I can inherit a class and use it methods and attributes.
I also can instantiate a class and sti..... More

Print this item

  imaginary number i
Posted by: mr_byte31 - Sep-23-2021, 12:08 PM - Forum: General Coding Help - Replies (8)

I was trying the following commands :

>>> -1 ** 0.5
-1.0
>>> (-1) ** 0.5
(6.123233995736766e-17+1j)
I was expecting "1j" , "..... More

Print this item

  web socket server handle onnection closed abnormally [internal])
Posted by: korenron - Sep-23-2021, 09:26 AM - Forum: General Coding Help - No Replies

Hello,
using web socket server to send data to user
now , when I shut down the client usinc CTRL+C I get this error on the server:
[python]code = ..... More

Print this item

  Help Sending Socket Data
Posted by: snippyro - Sep-23-2021, 01:52 AM - Forum: General Coding Help - No Replies

Hello, I'm trying to create a chat room with socket.

The messages from the other user only show up when the other user types in a message.

[pyth..... More

Print this item

  Help with basic kivy framework
Posted by: melle94 - Sep-23-2021, 01:50 AM - Forum: General Coding Help - No Replies

I'm new at this so please be patient with me. I'm studying a kivy intro tutorial and I'm trying to build a basic app. I keep getting an error message ..... More

Print this item

  how to parse data
Posted by: fakka - Sep-22-2021, 10:14 PM - Forum: General Coding Help - Replies (2)

Raw data



[{'accept_servers': True, 'addr': '10.64.1.41', 'architecture': 'x86_64', 'bigredis_storage_path': '/var/opt/redislabs/flash', 'bigsto..... More

Print this item

  How to acquire an imported file creation time
Posted by: thunderspeed - Sep-22-2021, 07:52 PM - Forum: General Coding Help - Replies (4)

Hello everyone,

I have a number of pickle files and I wonder how can I get the creation date and time in python for every imported file.

Thanks ..... More

Print this item

  How add button to certain TAB using TAB-index
Posted by: MacTommu - Sep-22-2021, 06:36 PM - Forum: GUI - Replies (3)

This is just a dummy-code, do not try it because it will probably not work. :)

Is´t possible to add 5 buttons to "tab1", next five to "tab2" and so..... More

Print this item

  Problems with JSONDecodeError
Posted by: arsouzaesilva - Sep-22-2021, 06:33 PM - Forum: General Coding Help - No Replies

Hello everyone, all good?

The attached code, files downloaded in csv through a NasaPower api, to run a first line of use:

NasaPower ("20150101",..... More


Attached Files

.py   Modulos - Original - Copy.py (Size: 113.39 KB / Downloads: 440)
Print this item

  PySimpleGUI Bugging out
Posted by: jamesaarr - Sep-22-2021, 03:02 PM - Forum: GUI - Replies (9)

Hello,

Please see complete code below. The issue is, when you load the program, you can go to the "Open Requests" tab and it works, however if you ..... More

Print this item

  Add http to a list on a text file
Posted by: Blue Dog - Sep-22-2021, 02:49 PM - Forum: General Coding Help - Replies (5)

I scraped a list of links of topo maps of mi.
The list is only half the link.
The first part of the link is "http://www.dnr.state.mi.us" is not on t..... More

Print this item

  I need help parsing through data and creating a database using beautiful soup
Posted by: username369 - Sep-22-2021, 01:44 PM - Forum: General Coding Help - Replies (1)

I am a new programmer and I am working on a project to scrape each product of a website and aggregate all the information into a database. This is the..... More

Print this item

  i need help with a small code
Posted by: Jacobthefirst - Sep-22-2021, 01:33 PM - Forum: General Coding Help - Replies (1)

[python]import random
l = 0
p = 3
o = 2
k = 1
x = input("enter a number 1, or 2: \t")

print("\n\n you chose " + x + " !")

if(x = k)
type..... More

Print this item

  How to pass variables from one class to another
Posted by: hobbyist - Sep-22-2021, 11:36 AM - Forum: General Coding Help - Replies (18)

How to pass values from one class to another when the class you want to get value from is after. What I mean: Suppose I have two classes:

[python]
cl..... More

Print this item

  Found buttonstate in tabs
Posted by: MacTommu - Sep-22-2021, 11:10 AM - Forum: GUI - Replies (4)

Is a total beginner when it comes to Python and Tkinter. I have programmed a lot of C # and VB over the years and thought of learning a litle Python f..... More

Print this item

  get data from 2 async functions
Posted by: korenron - Sep-22-2021, 08:39 AM - Forum: General Coding Help - No Replies

hello,
I'm running 2 simple async function (getTime and get random rumber)
the functions are working without any problems

I want to be able to r..... More

Print this item

  Equipment Portal
Posted by: jamesaarr - Sep-22-2021, 07:52 AM - Forum: Code Review - Replies (5)

Hello,

Please see my finished code below, I'm looking for suggestions of features to add and how to make it better :)

[python]
import PySimpleG..... More

Print this item

  Need some coding guidance for a task
Posted by: peny - Sep-22-2021, 07:18 AM - Forum: General Coding Help - Replies (5)

I am not that good in scripting (I have worked before in python) but I would like to give a try, since I need to create a script to automatize my proc..... More

Print this item

  Uninstall unused COM ports windows 10
Posted by: adbrooker - Sep-22-2021, 02:13 AM - Forum: General Coding Help - Replies (1)

I'm very new to python and I haven't gotten very far with my code but below is what I have so far

[python]import serial.tools.list_ports as port_li..... More

Print this item

  Simple Password Checker
Posted by: Dexty - Sep-21-2021, 09:29 PM - Forum: General Coding Help - Replies (8)

I've been trying to write a script that simply checks the strength of a password but the results aren't satisfactory. I know there are other ways to d..... More

Print this item

  How to do line continuation in Jupyter Notebook?
Posted by: Mark17 - Sep-21-2021, 07:04 PM - Forum: General Coding Help - Replies (4)

Hi all,

This:

[Python]
#print('Date is {}, DTE is {}, EXP is {}, STRIKE is {}, PRICE is {}, VOL is {}, \
OI is {}, and DELTA is {}'.format(DAT..... More

Print this item

  Coding for Python and Raspberry pi
Posted by: beast - Sep-21-2021, 03:37 PM - Forum: General Coding Help - Replies (3)

Dear Everyone
I want to know if there is a code for tracking GPS, i already have the GPS but

I want to work on Raspberry pi, I need a code for i..... More

Print this item

  numpy adding columns
Posted by: rwahdan - Sep-21-2021, 03:33 PM - Forum: Data Science - Replies (4)

Hi,

I am trying to add columns to a numpy array but i am getting an error

[python]
import numpy as np
numbers = np.array([
[2,4],
[8..... More

Print this item

Thumbs Up mpl_toolkits
Posted by: rf_kartal - Sep-21-2021, 12:10 PM - Forum: General Coding Help - No Replies

Hi,My Ubuntu version is 20.04 LTS and python version is 3.9
When I import as below and install the package in PyCharm, I get a "package install faile..... More

Print this item

  Pindom API
Posted by: mike_jones - Sep-21-2021, 08:14 AM - Forum: General Coding Help - Replies (1)

Does Anybody know what to include in a script if I want to extract data from pingdom to a google sheet with a token login please?

Print this item

  change csv file into adjency list
Posted by: ainisyarifaah - Sep-21-2021, 02:49 AM - Forum: General Coding Help - No Replies

Hello everyone. I have a csv file like this.
[Image: view?usp=sharing]

and I w..... More

Print this item

  Change a list to integer so I can use IF statement
Posted by: buckssg - Sep-21-2021, 12:38 AM - Forum: General Coding Help - Replies (3)

Greetings fellow pythoners, I got a huge favor to ask. I have tried everyway imaginable to turn psutil.cpu_percent() results into an integer so I can ..... More

Print this item

  How to invert scatter plot axis
Posted by: Mark17 - Sep-20-2021, 06:13 PM - Forum: General Coding Help - Replies (3)

Hi all,

Here's some code:

[Python]
import pandas as pd
import matplotlib.pyplot as plt
import time
import numpy as np

start_time = time.t..... More

Print this item

  is this Unicode printable?
Posted by: Skaperen - Sep-20-2021, 05:32 PM - Forum: General Coding Help - Replies (2)

given a Unicode character (a str of len() == 1 or maybe an int that can be used with chr()) how can the code determine if it is printable? how small ..... More

Print this item

  Reading CSV From another directory
Posted by: jamesaarr - Sep-20-2021, 04:18 PM - Forum: General Coding Help - Replies (1)

Hello,

I want to read a CSV using the CSV module from a file in another directory. Would you have any idea how I do that?

Thanks,
Jamie

Print this item

  ImportError: cannot import name 'get_config'
Posted by: russray2008 - Sep-20-2021, 02:18 PM - Forum: General Coding Help - No Replies

I am working through some backend testing.

My problem is I cannot identify the right combination of libraries that work. I am using a machine lear..... More

Print this item

  BeautifulSoup Showing none while extracting image url
Posted by: josephandrew - Sep-20-2021, 11:40 AM - Forum: Web Scraping & Web Development - No Replies

Hello Everyone!
I am trying to extract images url from gallery images on woocommerce website, but its showing none when I tried through csv file. Als..... More

Print this item

  Human Activity recognition in real time
Posted by: pihidream - Sep-20-2021, 09:55 AM - Forum: Data Science - No Replies

Hi everyone, i have followed a youtube tutorial to build a model for human activity recognition using accelerometer.
In my model i used both accelero..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  what does % stand for in ... 11 hours ago arbiel arbiel General Codin...
  403 Error Yesterday, 18:57 CaptainNewb CaptainNewb Web Scraping ...
  Scraping a page with log ... Yesterday, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... Yesterday, 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...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576277
  Tutorial Requ... 497953
  Web Scraping ... 440197
  Newbie with P... 384051
  New Users Int... 366787
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+ 12089
buran 8175
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Baran12332 Yesterday
Hershien Yesterday
Diyaseating Yesterday
marineoman Yesterday
marineservice Yesterday

User Panel Messages

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