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,244
» Latest member: thebigback
» Forum threads: 38,778
» Forum posts: 175,804

Full Statistics

Online Users
There are currently 49 online users.
» 0 Member(s) | 41 Guest(s)
Bing, Google, AOL, Mojeek, Facebook

Latest Threads
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
3 hours ago
» Replies: 2
» Views: 37
Backward compatibility qu...
Forum: News and Discussions
Last Post: yutaozhou
5 hours ago
» Replies: 4
» Views: 162
I’m building a Python Dat...
Forum: GUI
Last Post: Gribouillis
7 hours ago
» Replies: 6
» Views: 164
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:37 AM
» Replies: 1
» Views: 70
Data Science
Forum: Data Science
Last Post: mamta25
Yesterday, 05:27 AM
» Replies: 3
» Views: 2,585
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 158
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 151
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,520
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,392
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,590

 
  database: json format and sqlite
Posted by: izan - Dec-28-2021, 01:25 PM - Forum: Homework - Replies (1)

Hi!
I have to do the following task:
The application will read roster data in JSON format, parse the file, and then produce an SQLite database that ..... More

Print this item

  Show the result of every count
Posted by: George87 - Dec-28-2021, 11:42 AM - Forum: GUI - Replies (10)

I try to make a simple program. Up button count the number and show the result on screen. Same with the down button. My problem is that my program cou..... More

Print this item

  Function - update record()
Posted by: Men - Dec-28-2021, 10:51 AM - Forum: Homework - Replies (9)

Hi guys,

I have half of this code running. It's the other half that's busting my brain.

On second thought, when I run it outside of the function..... More

Print this item

  help wnck please
Posted by: rnesheik - Dec-28-2021, 08:32 AM - Forum: General Coding Help - No Replies

Hello friends I'm trying to develop a macro, in python but I'm learning. the function would be as follows wnck look for the name [google] between the ..... More

Print this item

  Compressed multi page tiff
Posted by: wvanoeveren - Dec-28-2021, 04:28 AM - Forum: General Coding Help - Replies (2)

Hello,

I'm currently quite new to python but i'm finding my way pretty good and love the language more & more each day :)
but ... :) , i have curr..... More

Print this item

  Duplicate information
Posted by: jcorreaa - Dec-27-2021, 11:53 PM - Forum: General Coding Help - Replies (7)

Hi everyone, I am new to this and maybe someone help me with this super simple question.

I have a table with this information

_c0 _c4
0 b
0 g..... More

Print this item

  python serial port
Posted by: barryjo - Dec-27-2021, 10:32 PM - Forum: General Coding Help - Replies (2)

How can I send ascii data out the serial port of my computer from within my puthon program?
Thee must be a module for this.

thanks

Print this item

  Yfinance - Intraday stock data with yf.download
Posted by: diogo_80 - Dec-27-2021, 10:26 PM - Forum: General Coding Help - Replies (2)

Hi everyone, I am new to this, so sorry for the basic question.

I am using yfinance to obtain intraday historical data for stocks traded in Bovespa..... More

Print this item

  Help with Python and Json
Posted by: Extra - Dec-27-2021, 08:26 PM - Forum: General Coding Help - Replies (1)

Hello,

I'm starting to build a simple chatbot and I need help getting the chatbot's response from it's json dictionary/vocabulary.

I want to have i..... More

Print this item

  HTML file crashes program
Posted by: mikefirth - Dec-27-2021, 07:01 PM - Forum: General Coding Help - Replies (12)

I am reading my local copy of an HTML file that works fine both working from my disk and on the internet.
In this code an infinite loop reads each li..... More

Print this item

  How to move anonymously in the net!?
Posted by: apollo - Dec-27-2021, 04:25 PM - Forum: Bar - No Replies

hello dear Python-Experts,

first of all; i hope that you are well and all goes all right at your site.
i have a special question today: nothing ..... More

Print this item

  Definitions in User-Created Functions and For Loops
Posted by: new_coder_231013 - Dec-27-2021, 11:52 AM - Forum: General Coding Help - Replies (6)

Hello,

I'm going through an introductory book on Python and there's a section in which the author presents some code to demonstrate the concept of ..... More

Print this item

Question How can I merge several images via loop using the information of a dataframe?
Posted by: noahverner1995 - Dec-27-2021, 11:32 AM - Forum: General Coding Help - Replies (1)

I have the following dictionary:
[python]
the_dictionary_list = {'Fondo': ['Oceano.png'],
'Cuerpo': ['Cuerpo_cangrejo.png'],..... More

Print this item

  My python code is running very slow on millions of records
Posted by: shantanu97 - Dec-27-2021, 11:02 AM - Forum: General Coding Help - Replies (7)

I want to process data through a python that has 2 million rows and more than 100 columns. My code takes 20 minutes to create an output file. I don't ..... More


Attached Files

.py   NormalizedCSV.py (Size: 2.2 KB / Downloads: 345)
.csv   Test.csv (Size: 708 bytes / Downloads: 389)
Print this item

  Strange/odd outcome in decimals
Posted by: Jeff900 - Dec-27-2021, 10:30 AM - Forum: News and Discussions - Replies (2)

A few weeks ago I wanted to simply print the outcome of some calculations, just as a reference at that moment. But ever since I am still wondering why..... More

Print this item

  Move a particular row in pandas data frame to last row
Posted by: klllmmm - Dec-27-2021, 09:11 AM - Forum: General Coding Help - No Replies

I'm trying to move a particular row in the below data frame to the last position of the data frame.
Can someone help me to achieve this?

[python]..... More

Print this item

Question How can I save cartesian products to a dataframe?
Posted by: noahverner1995 - Dec-27-2021, 07:50 AM - Forum: Data Science - Replies (1)

I have the following dictionary:

[python]
the_dictionary_list = {'Fondo': ['Oceano.png'],
'Cuerpo': ['Cuerpo_cang..... More

Print this item

  Python Obstacles | American Kenpo | Wiki Scrape URL/Table and Store it in MariaDB
Posted by: BrandonKastning - Dec-27-2021, 07:20 AM - Forum: Web Scraping & Web Development - Replies (6)

Python Obstacles | American Kenpo | Wiki Scrape URL/Table and Store it in MariaDB

I have several unresolved / completed threads here ..... More

Print this item

  serial input/output
Posted by: barryjo - Dec-27-2021, 01:16 AM - Forum: General Coding Help - Replies (3)

I want to use a joystick to control a RS-232 controlled telescope. I have installed PyGame and have the joystick working. Now, I want to send a serial..... More

Print this item

  now i wish Python had a way to add commands
Posted by: Skaperen - Dec-26-2021, 08:39 PM - Forum: News and Discussions - Replies (15)

now i wish Python had a way to add commands. this would be particularly useful in interactive mode. the idea is that i would not need to type "()" j..... More

Print this item

  how to manage crypto trading flooding data from exchange servers
Posted by: Mikeardy - Dec-26-2021, 08:31 PM - Forum: General Coding Help - Replies (2)

Hi,
I'm new in Python and even new in this great forum.
I love Python but it's for me a kind of new adventure and I'm learning.

I'm writing an ap..... More

Print this item

  remove all color but red, then replace it with black
Posted by: kucingkembar - Dec-26-2021, 05:06 PM - Forum: General Coding Help - Replies (14)

hi, sorry for my bad English,
I googling it for hours and still don't understand how this thing works,

I like to remove all non-red of an image, t..... More

Print this item

  cv2-python will n ot compile??
Posted by: barryjo - Dec-26-2021, 03:32 PM - Forum: General Coding Help - Replies (5)

I hate it when a posted python example will not compile and I have no idea how to fix the problem. I have captured an example posted below. It works n..... More

Print this item

Exclamation X123Y
Posted by: GuAdamian - Dec-26-2021, 03:31 PM - Forum: General Coding Help - Replies (2)

Hi.I'm 13 and I want to be a programmer.I am studying Python now.Please give tips and tasks.

Print this item

  For Loop and Use of Brackets to Modify Dictionary in Tic-Tac-Toe Game
Posted by: new_coder_231013 - Dec-26-2021, 12:39 PM - Forum: General Coding Help - Replies (7)

Hello,

I'm going through an introductory book on Python and there's a chapter in which the author presents code for a simple tic-tac-toe game (see ..... More

Print this item

  django - reset password template
Posted by: rwahdan - Dec-26-2021, 11:37 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi,

I have the following code but for some reason on the paths don't work from the urls file!

[python]
from django.urls import path
from . imp..... More


Attached Files

Thumbnail(s)
   
Print this item

Question How to print each possible permutation in a dictionary that has arrays as values?
Posted by: noahverner1995 - Dec-26-2021, 10:37 AM - Forum: General Coding Help - Replies (2)

Let's say I have the following arrays of strings:

[python]Background = ["Ocean"]
Body = ["Normal"]
Eyes = ["Big", "Small", "Monolid"]
Color = ["Yello..... More

Print this item

Heart how to solve complex equations in python
Posted by: HoangF - Dec-26-2021, 09:04 AM - Forum: General Coding Help - Replies (3)

I am trying to find the solution to the equation. Det(matrix A)=0, var:omega
###################################################################

[..... More

Print this item

  Open source RTS game Forward Only
Posted by: IlyaFaer - Dec-26-2021, 08:24 AM - Forum: Code sharing - Replies (11)

Hi, all!

Wanna share my pride and joy with you - an open source game I'm developing alone on Python and Panda3D. Trailer to get the first idea:

..... More

Print this item

  I am getting ValueError from running my code
Posted by: PythonMonkey - Dec-26-2021, 06:14 AM - Forum: General Coding Help - No Replies

I am doing a project on Twitter tweet sentiment analysis following a project on a blog (link at the bottom), and I am getting the following error when..... More

Print this item

  How to get UTC time
Posted by: SriRajesh - Dec-26-2021, 12:27 AM - Forum: General Coding Help - Replies (4)

Hi,
I use below code

from datetime import datetime
print(datetime.utcnow())
my output as below:
2021-12-26 00:25:14.083291

but I ..... More

Print this item

Question How to let the user add 'None' to an specific array in a dictionary?
Posted by: noahverner1995 - Dec-26-2021, 12:12 AM - Forum: General Coding Help - Replies (4)

Ok so, the question may sound confusing at first but I'm gonna do my best to explain what I would like to learn in order to improve my programming ski..... More

Print this item

  PYTHONSTARTUP not working
Posted by: Skaperen - Dec-25-2021, 09:16 PM - Forum: News and Discussions - Replies (8)

on Xubuntu 18.04.6 LTS when i run Python 3.6.9 interactively (no command line options or arguments) with environment variable PYTHONSTARTUP set to ".i..... More

Print this item

  How from sklearn.datasets import load_diabetes change to import to CSV file
Posted by: Anldra12 - Dec-25-2021, 07:08 PM - Forum: General Coding Help - No Replies

#I test and check some predictions on the Hospital data set on CSV file rather than loading data set like diabetes data set.
[color=#E74C3C]## ..... More

Print this item

  synthax question
Posted by: aka - Dec-25-2021, 05:57 PM - Forum: General Coding Help - Replies (4)

Hi,

I have a long experience in computing but not in python. I need to understand this :

combinableLayers=[l for l in combinableLayers if len(l)..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Help with Serial.write in... 3 hours ago racingsubby racingsubby General Codin...
  Backward compatibility qu... 5 hours ago yutaozhou yutaozhou News and Disc...
  [Tkinter] I’m building a ... 7 hours ago tsgiannis Gribouillis GUI
  [split] print two differe... Yesterday, 05:37 Reema Gribouillis General Codin...
  Data Science Yesterday, 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
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
Most views
  The best Prog... 578754
  Tutorial Requ... 509564
  Web Scraping ... 441881
  Newbie with P... 385854
  New Users Int... 375520
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+ 12103
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
thebigback Yesterday
dimitriwati Yesterday
johnsonlucas83 Yesterday
ColorTig Yesterday
AcoolPurpleOne1863 Yesterday

User Panel Messages

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