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,938
» Latest member: Monir
» Forum threads: 38,721
» Forum posts: 175,507

Full Statistics

Online Users
There are currently 62 online users.
» 0 Member(s) | 56 Guest(s)
Bing, Google, AOL, AOL, Applebot

Latest Threads
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 04:28 PM
» Replies: 11
» Views: 4,218
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 671
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,571
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,007
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,515
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,350
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,550
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,501
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,654
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,216

 
  Graphic Interface with Tkinter
Posted by: IgnacioMora23 - May-27-2021, 04:35 AM - Forum: GUI - No Replies

Hi Foreros, I am making a graphical interface that shows me a couple of data that I receive from an Xbee antenna. Python has a specific library for th..... More


Attached Files

Thumbnail(s)
       
Print this item

  how can i attach interact to a subject
Posted by: Newbie1114 - May-27-2021, 04:19 AM - Forum: Game Development - Replies (4)

I can't attach interact to a subject and i don"t know how to write it down.Help me please?

Print this item

  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: 468)
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: 454)
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: 421)
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: 426)
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: 362)
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: 547)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  403 Error Yesterday, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 09-19, 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... 576457
  Tutorial Requ... 498292
  Web Scraping ... 440353
  Newbie with P... 384233
  New Users Int... 367313
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+ 12087
buran 8175
snippsat 7368
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Monir Today
atylerfraces2254 Yesterday
AdrianCocian Yesterday
humanoidAI Yesterday
Baran12332 09-19

User Panel Messages

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