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,397
» Latest member: JulioLet
» Forum threads: 38,823
» Forum posts: 176,029

Full Statistics

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

Latest Threads
IP address for users
Forum: Networking
Last Post: Ruth_Hernandez
2 hours ago
» Replies: 5
» Views: 7,133
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
4 hours ago
» Replies: 28
» Views: 15,542
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:11 AM
» Replies: 1
» Views: 128
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,604
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 206
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,621
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 179
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 330
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,989
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 199

 
  Unable to access the user input value given to daterangepicker
Posted by: klllmmm - May-26-2021, 06:48 PM - Forum: General Coding Help - Replies (1)

In an HTML web form, I want to access the user-selected date range (backend is in python django framework, I'm referring the daterange picker examples..... More


Attached Files

.html   date_picker.html (Size: 2.76 KB / Downloads: 479)
Print this item

  unable to view sqlite3 database in VSC Editor
Posted by: KatMac - May-26-2021, 05:59 PM - Forum: Bar - Replies (2)

I am working on a new Django project and would like to be able to view the sqlite3 database in my VSC Editor.

I installed SQLTools in the VSC Edito..... More

Print this item

  Ultimate Guide to Data Types
Posted by: BlazingWarlord - May-26-2021, 02:50 PM - Forum: Tutorial Requests and Submissions - Replies (2)

Knowledge of Data-Types is essential for any programmer. This post is for anyone who wants to learn about all the data-types Python has to offer with ..... More

Print this item

  Ploting single column with multiple category
Posted by: drunkenneo - May-26-2021, 02:40 PM - Forum: General Coding Help - Replies (1)

Hi All,

I have a column in a dataframe:

eg:
label
----------
1
0
-1

I want to convert in bar graph with x axis have 1 as Positive, 0 as Zero and -1..... More

Print this item

  plistlib / xml file / get value except key
Posted by: Tecuma - May-26-2021, 11:03 AM - Forum: General Coding Help - Replies (6)

Hello Community,

I have transformed my bookmarks plist file to an XML file. I try to write a script where I am able to read the XML file, getting t..... More


Attached Files

.xml   Bookmarks_example.xml (Size: 25.84 KB / Downloads: 465)
Print this item

  Read a single event (keypress) from asyncio
Posted by: cygnus_X1 - May-26-2021, 10:46 AM - Forum: General Coding Help - Replies (3)

I'm using asyncio library to read input from a Infra Red remote control.
This is python 3.7 branch on an Orange Pi Zero, using the built in IR receiv..... More

Print this item

  Delimiters - How to skip some html tags from being translate
Posted by: Melcu54 - May-26-2021, 06:12 AM - Forum: General Coding Help - No Replies

hello. I made a Python script, that translate my html pages languages in other language. This is my english html page that I want to translate in Bela..... More

Print this item

  Unable to plot the graph as needed
Posted by: drunkenneo - May-26-2021, 05:54 AM - Forum: General Coding Help - Replies (1)

Hi

I am currently facing an problem which might be usual to you as i have just started my party, i thought to take help from Masters.

I am tryin..... More

Print this item

  Extracting the text between each "i class"
Posted by: knight2000 - May-26-2021, 04:03 AM - Forum: General Coding Help - Replies (4)

Hi there,

a beginner here and trying to get some practice with the little I know in scraping a website.

To try and make my challenge clear, I'l..... More

Print this item

  loop adventure game
Posted by: ilikedofs - May-25-2021, 11:52 PM - Forum: General Coding Help - Replies (1)

i am trying to get the loop
to do if user press l go back to previous line
I've looked on the internet and can't find anything that did not pertain..... More

Print this item

  I need help with Connect-Four Game Board
Posted by: niiakoadjei - May-25-2021, 11:22 PM - Forum: Homework - Replies (2)

[python]
# TIC-TAC-TOE FIELD

#| | | | | | | |0
#| | | | | | | |1
#| | | | | | | |2
#| | | | | | | |3
#| | | | | | | |4
#| | | | | | | |5
#01..... More


Attached Files

.zip   Connect4 Game_python.zip (Size: 1.2 KB / Downloads: 436)
Print this item

  How to save some results in .txt file with Python?
Posted by: Melcu54 - May-25-2021, 08:25 PM - Forum: General Coding Help - Replies (4)

hello. I have this Python code, that makes a Parsing. But I want to save the results in the save.txt file. How can I do that? How to save python scree..... More

Print this item

  Reset seaborn
Posted by: ju21878436312 - May-25-2021, 05:38 PM - Forum: Data Science - Replies (2)

Hi there,

Following some tipps I somehow changed some global settings in seaborn and I would like to reset everything concerning seaborn and matplo..... More


Attached Files

Thumbnail(s)
   
Print this item

  [Solved] df.to_excel: certain rows
Posted by: ju21878436312 - May-25-2021, 05:11 PM - Forum: Data Science - Replies (2)

I would like to write only a few rows from a dataframe into an Excel file.
Is this possible directly when writing or do I have to define a new variab..... More

Print this item

  Tkinter reduce OptionMenu height
Posted by: euras - May-25-2021, 04:43 PM - Forum: GUI - Replies (2)

Hi, is there a way to reduce OptionMenu height? Mine are equal to height=1, but they looks still bigger than the rest of Entry. It does not look very ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Sampling and quantization
Posted by: asif21 - May-25-2021, 02:17 PM - Forum: News and Discussions - No Replies

Hi, I have generated a QPSK signal and sucessfully performed OFDM. I am now trying to sample and quantize (ADC action) on the output complex array. Bu..... More

Print this item

  Passing variable to function.
Posted by: KDog - May-25-2021, 01:49 PM - Forum: GUI - Replies (2)

Hi all. I have an app that displays live webcam feed. I have created a brightness slider that almost works. It changes the frame brightness but then t..... More

Print this item

  Unable to install Python
Posted by: branty1970 - May-25-2021, 11:21 AM - Forum: General Coding Help - Replies (5)

I've been using Python for years and have been given a new laptop by my employer. It had Python 3.6 installed and I wanted to go for a more recent ver..... More

Print this item

  Using Keyboard Arrow Keys
Posted by: rturus - May-25-2021, 11:07 AM - Forum: Game Development - Replies (3)

How can I user keyboard arrows keys to move the catcher (box in the game) to the right and left?

Thanks.

[python]
# Bomb Catcher Game


impo..... More

Print this item

  Python Variables and Sqlite3 Database
Posted by: Staples200 - May-25-2021, 12:56 AM - Forum: General Coding Help - Replies (1)

Is there any way to pull each column entry and make each db entry it's own variable? I know how to pull a single entry at a time using something like..... More

Print this item

  Try Python without dots!
Posted by: Gribouillis - May-24-2021, 07:06 PM - Forum: Code sharing - Replies (5)

I uploaded a single-file module adddot.py here https://sourceforge.net/projects/adddot/. With it y..... More

Print this item

  Calculate time taken to cool down a pool in python
Posted by: edwinostby - May-24-2021, 04:12 PM - Forum: Homework - No Replies

0


I'm taking a programming class in python so i'm a beginner. We got an assignment where we were supposed to calculate and plot the time taken fo..... More

Print this item

  Adding variable to Python code - media sentiment analysis
Posted by: Marietje - May-24-2021, 02:23 PM - Forum: General Coding Help - Replies (3)

Hello everyone!

I was wondering if you could help a student out :)

My name is Marie and I am currently studying Strategic Management at the Eras..... More


Attached Files

.xlsx   Sentiments Example Find & Pivot 3.xlsx (Size: 12.72 KB / Downloads: 437)
Print this item

  100$ bounty: python and xml/xsd knowledge
Posted by: aster - May-24-2021, 01:36 PM - Forum: Jobs - No Replies

Is someone interested in this bounty?
More detail here: https://www.bountysource.com/issues/9827...patibility

Print this item

  Calling python from c++ in visual studio
Posted by: pdk5 - May-24-2021, 10:18 AM - Forum: General Coding Help - No Replies

Hello,

Im trying to call a Python function "fun"in the Sample.py from the c++ console program in visual studio 2019.
The Sample.py works for small..... More

Print this item

  Question about change hex string to integer sting in the list (python 2.7)
Posted by: lzfneu - May-24-2021, 08:21 AM - Forum: General Coding Help - Replies (1)

Hi all,

My attached short python 2.7 code in the attachment output a hex string in the list:
['0x74', '0x65', '0x73', '0x74']

I tried and have ..... More


Attached Files

.py   test.py (Size: 151 bytes / Downloads: 371)
Print this item

  Frame with treeview
Posted by: virencm - May-24-2021, 07:01 AM - Forum: GUI - Replies (5)

Hi all,

I am a new to Python but i can see possibilities that can make job easier!

Can someone point me in the correct direction please?

Atta..... More


Attached Files

.py   FRAME_PY.py (Size: 826 bytes / Downloads: 560)
Print this item

Question How to get the PID from a process at first
Posted by: mapg - May-24-2021, 02:47 AM - Forum: General Coding Help - Replies (2)

I have a question about how to get the PID from a process at first, not when the process has finished.

This is because I want to be able to kill th..... More

Print this item

  Converting data object
Posted by: mbrown009 - May-23-2021, 11:29 PM - Forum: General Coding Help - Replies (5)

I am pulling a csv from a database. With that the date is an object, I am attempting to convert it to be in datetime64[ns].

My code is as follows:..... More

Print this item

  convert digits until a non-digit
Posted by: Skaperen - May-23-2021, 10:42 PM - Forum: News and Discussions - No Replies

i want to convert a string of digits (with maybe one fraction point for float) to a numeric and stop at the first digit that is not convertible so the..... More

Print this item

  Reading data from mysql.
Posted by: stsxbel - May-23-2021, 05:58 PM - Forum: General Coding Help - Replies (2)

there is a table, let's call it test. The table has columns (let's call id, date, name1, name2). The data is entered into the table. Tell me how to co..... More

Print this item

Exclamation tic tac toe loop
Posted by: ilikedofs - May-23-2021, 04:22 PM - Forum: Homework - Replies (2)

I've been having troubles with getting a loop for tic tac toe
here is the code
[python]board = [1, 2, 3, 4, 5, 6, 7, 8, 9]
print("Welcome to Tic-T..... More

Print this item

  Closing a program using a G10 button
Posted by: MBDins - May-23-2021, 10:30 AM - Forum: General Coding Help - Replies (2)

I am looking for a Python script to close a program using a push button connected to a G10 pin on a Raspberry Pi4. Can anybody help please?

Print this item

Exclamation New Code
Posted by: r_anees - May-23-2021, 06:02 AM - Forum: General Coding Help - Replies (4)

[python]name1 = input('Please enter your name: ')
if name1 == str (anees) or str (clow) :
print( 'Authentication Success, You are allowed ..... More

Print this item

  python logrotate adding other handlers
Posted by: RRR - May-23-2021, 06:02 AM - Forum: General Coding Help - No Replies

Hi , I am new to python. I am trying to have a logrotate feature and also try to print the logs in formatted fashion.
So I have created two handlers ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  IP address for users 2 hours ago Robots Ruth_Hernandez Networking
  Merge video with subtitle... 4 hours ago Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q Yesterday, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
Most views
  The best Prog... 580450
  Tutorial Requ... 519799
  Web Scraping ... 442790
  Newbie with P... 386998
  New Users Int... 386675
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
JulioLet Today
aellatsz9602 Yesterday
cruisesfares Yesterday
azam Yesterday
zcharlesoogleto9533 Yesterday

User Panel Messages

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