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,247
» Latest member: Kacper
» Forum threads: 38,779
» Forum posts: 175,813

Full Statistics

Online Users
There are currently 43 online users.
» 1 Member(s) | 40 Guest(s)
Google, Bing, mamta25

Latest Threads
New to python and coding
Forum: Homework
Last Post: Larz60+
Yesterday, 10:18 AM
» Replies: 1
» Views: 62
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 273
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 09:41 AM
» Replies: 3
» Views: 118
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 253
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 97
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,609
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 198
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 179
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,005
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,416

 
  Learned Python Basics, what now?
Posted by: muzikman - Sep-24-2021, 11:25 PM - Forum: General Coding Help - Replies (20)

Greetings,

I took a course that covered most of the Python basics including, OOP, inheritance, scraping, generators, decorators and most collection..... More

Print this item

  Tkinter | entry output.
Posted by: Sap2ch - Sep-24-2021, 09:59 PM - Forum: GUI - Replies (1)

Good night forum. Let me help in times of crisis. I write the key in the first line, but this key knocks out to me not in the second line, but in the ..... More

Print this item

  First time with mysql
Posted by: pascal111 - Sep-24-2021, 08:12 PM - Forum: General Coding Help - Replies (5)

I'm a Python beginner, and tried to learn mysql, I typed this code:

[python]
import mysql.connector

mydb = mysql.connector.connect(user="pascal..... More

Print this item

  PyCharm Error?
Posted by: coder_sw99 - Sep-24-2021, 05:43 PM - Forum: General Coding Help - Replies (4)

I have a problem with PyCharm. The Desctructor Method gets initialized, without it even been called. If I try it in the Python IDLE the intepreter doe..... More

Print this item

  Add Tor proxy to blockchain API call
Posted by: balonmd - Sep-24-2021, 05:34 PM - Forum: General Coding Help - No Replies

He everyone.
I am trying to call blockchain address detail endpoint several times. After a while my IP is blocked, and the response of my call is 429..... More

Print this item

  Debugging with functions
Posted by: Mark17 - Sep-24-2021, 04:37 PM - Forum: General Coding Help - Replies (6)

Hi all,

I'm working with a program that operates largely with functions. The functions are all defined at the top with the main program starting ~..... More

Print this item

  Can't write to file
Posted by: Mark17 - Sep-24-2021, 03:34 PM - Forum: General Coding Help - Replies (2)

Hi all,

What am I doing wrong here?

[Python]
test_file = open("C:Users/Mark/Desktop/test.csv",mode="w")
for i in range(11):
print(i, file..... More

Print this item

Smile RemoteDataError (PredictingCrpytoPrices)
Posted by: lulu43366 - Sep-24-2021, 01:38 PM - Forum: General Coding Help - Replies (8)

Good afternoon to the community Smile .
I am using Google Colaboratory.
I want to predict the price of cryptocurrencies.
But the console shows ..... More

Print this item

Exclamation Invalid syntax error(Predict Ethereum Price)
Posted by: lulu43366 - Sep-24-2021, 12:25 PM - Forum: General Coding Help - Replies (2)

Good morning to the community Smile. I am using google colaboratory.
I would like to forecast the price of Ethereum.
But the console shows me t..... More

Print this item

  Getting All Items From A List
Posted by: knight2000 - Sep-24-2021, 11:31 AM - Forum: General Coding Help - Replies (4)

Hey guys,

In practicing some webscrapping with BeautifulSoup and Selenium.
Using the find_all to extract a class, I get the following list:
..... More

Print this item

  Unable to use Pauli Matrices in QNET Package
Posted by: Rupayan - Sep-24-2021, 11:05 AM - Forum: General Coding Help - Replies (2)

Hello everyone, I work with simulation softwares like QNET and Qutip which are based on Python. I am trying to use QNET Package in my project. In this..... More

Print this item

  Remove specific values from dataframe
Posted by: jonah88888 - Sep-24-2021, 05:09 AM - Forum: Data Science - No Replies

I would like to remove specific values from dataframe.

For example, my dataset

[output]union1
17 215 Marsiling
18 653 W..... More

Print this item

  Problem executing a script on a remote host
Posted by: tester_V - Sep-24-2021, 04:57 AM - Forum: General Coding Help - Replies (3)

Greetings!

I have a remote host(windows) and a system(windows based) connected to it by a private network.
The host has Python 27 on it.
Once a d..... More

Print this item

  How to do an Merge
Posted by: jonah88888 - Sep-24-2021, 03:41 AM - Forum: Data Science - No Replies

I have a set of data A
[output]19 101 Tampines
20 36 Mt Vernon
21 408 Fajar Rd
22 1..... More

Print this item

  Panda Exercise
Posted by: nyzs92 - Sep-24-2021, 03:34 AM - Forum: Homework - No Replies

Hi guys,

New here to this forum!

I receive this error message "ValueError: If using all scalar values, you must pass an index" and have no idea ..... More

Print this item

  Putting column name to dataframe, can't work.
Posted by: jonah88888 - Sep-24-2021, 03:18 AM - Forum: Data Science - Replies (2)

I tried to put a column name for normal dataframe by putting df.columns = ['ColumnName'] It works. But, after I pd.concat(df,df1), I can't put a colum..... More

Print this item

  How to make this piece concise
Posted by: leoahum - Sep-23-2021, 09:23 PM - Forum: General Coding Help - No Replies

I am setting up a script in a 3D modeling program called Rhino(Use ironPython) and its Visual Scripting Tool (Grasshopper). "Active" is an input bool..... More

Print this item

  Module: Turtle issues
Posted by: Underscore - Sep-23-2021, 05:57 PM - Forum: GUI - Replies (4)

I am having issues with the module turtle
And i have no idea how to fix it because of the very unspecific error.
My code:
[python]
import turtle
..... More

Print this item

  Add a function in QtextBrowser
Posted by: catlessness - Sep-23-2021, 05:17 PM - Forum: GUI - Replies (3)

This could be a general question about how to add a function in an existing class:

I want the textBrowser to scroll down to the bottom every time I..... More

Print this item

  Retrieving last 20 file paths from directory
Posted by: dyerlee91 - Sep-23-2021, 04:46 PM - Forum: Data Science - Replies (3)

Hello all,

I'm having a hard time getting this script across the finish line. I want to display only the last 20 file paths in the given directory..... More

Print this item

  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: 443)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding Yesterday, 10:18 lary_p Larz60+ Homework
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Help with Serial.write in... Yesterday, 09:41 racingsubby Larz60+ General Codin...
  Backward compatibility qu... Yesterday, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
Most views
  The best Prog... 578822
  Tutorial Requ... 509815
  Web Scraping ... 441914
  Newbie with P... 385908
  New Users Int... 376005
Most reputation
buran 581
snippsat 510
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+ 12105
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Kacper Yesterday
isla123456 Yesterday
vibrometro Yesterday
thebigback 11-10
dimitriwati 11-10

User Panel Messages

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