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,237
» Latest member: lary_p
» Forum threads: 38,776
» Forum posts: 175,791

Full Statistics

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

Latest Threads
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Today, 12:56 AM
» Replies: 4
» Views: 127
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Yesterday, 10:39 AM
» Replies: 3
» Views: 106
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-07-2025, 07:29 PM
» Replies: 0
» Views: 77
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 117
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,137
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,371
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,565
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 192
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,200
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,446

 
Question Can you put encoded strings into .txt files?
Posted by: Alivegamer - May-04-2022, 12:50 AM - Forum: General Coding Help - No Replies

I have been trying to encode a text and then put it into a txt file but it doesn't show correctly.
When it's in the variable : b'\xff\xfe\x00\x00b\x0..... More

Print this item

  Quick question/help regarding my variable
Posted by: Extra - May-04-2022, 12:41 AM - Forum: General Coding Help - Replies (5)

Hello,

My sellPrice variable won't work because it's taking price as a string and trying to multiply it to a number.

[error]
File "ListTest.py",..... More

Print this item

  If/elif help
Posted by: stupidanlearning - May-03-2022, 10:58 PM - Forum: General Coding Help - Replies (5)

Hello all! So I am starting to mess around with python, it's the first language I am learning, I am also learning independently.

I decided to try ..... More

Print this item

  validate the existing value and change the series
Posted by: datahub - May-03-2022, 08:00 PM - Forum: Data Science - No Replies

Hello Everyone.

I am new to the Python and this Forum. I have the requirement to generate the new set of dataset

Source Dataset

ID ..... More

Print this item

  can anyone train me to get a python job?
Posted by: MetsxxFan01 - May-03-2022, 07:21 PM - Forum: Jobs - No Replies

i'm a beginner when it comes to learning python. maybe you could train me through video chat. and maybe the job could be remote or work from home

Print this item

  inset countdown in panel
Posted by: Frankduc - May-03-2022, 06:26 PM - Forum: Game Development - Replies (6)

i am trying to create a countdown clock below the numbers.
I am king of stuck to how insert the timer in my actual panel without creating a new panel...... More

Print this item

  How to keep columns header on excel without change after export data to excel file?
Posted by: ahmedbarbary - May-03-2022, 05:46 PM - Forum: General Coding Help - No Replies

I work on sql server 2017 I run script depend on python language v 3.10 .

I need to export data to excel fileStudentExport.xlsx already exist and k..... More

Print this item

  how to mouse click a specific item in pygame?
Posted by: Frankduc - May-03-2022, 02:24 PM - Forum: General Coding Help - Replies (5)

hello,

I want to mouse click a specific item.
When you click Activé which is button_A this line appear: img = font.render("Veuillez entrer votre c..... More

Print this item

  Windows install does not create .exe, shortcut,etc to open
Posted by: hammer - May-03-2022, 12:56 PM - Forum: General Coding Help - Replies (4)

I used pynsist in linux to create an installer for windows of my python app.-no errors/warnings
When I looked into the nsis file it created, there w..... More

Print this item

Question How can I import a variable from another script without executing it
Posted by: ThomasFab - May-03-2022, 08:57 AM - Forum: General Coding Help - Replies (12)

I have a little beginner issue doing imports between scripts, maybe someone can help? Blush

I wrote 2 Modules:

[b]- B01_Import_CSV_V1.py[/..... More

Print this item

  Can't write to .txt after opening websocket
Posted by: gerald - May-03-2022, 03:40 AM - Forum: General Coding Help - Replies (5)

Hi everyone,

When I write to a txt file with this code i get no errors. However after I open a websocket I get a 'type error'
The code I use is:

[py..... More

Print this item

  IndexError: list index out of range
Posted by: Anldra12 - May-03-2022, 01:32 AM - Forum: General Coding Help - Replies (2)

A common error but i don't know the reason why list index out of range
[python]def runScheme(t_str, n_str, k, q, Field):
x_subi = [0]
..... More

Print this item

  can you please help me with this python code
Posted by: MetsxxFan01 - May-02-2022, 08:07 PM - Forum: General Coding Help - Replies (5)

[python]import json

try:
with (open("log.txt")) as file:
data = json.load(file)

print("data has been successfully retrieve..... More

Print this item

  pywin32: Outlook connection ends with 'operation aborted' on one machine
Posted by: tstone - May-02-2022, 05:13 PM - Forum: General Coding Help - No Replies

Hello Python Community!

I'm trying to create an MD5 hash of email contents in order to be able to identify it by its contents afterwards.
Also, th..... More

Print this item

  Buttons not working in tabs
Posted by: kenwatts275 - May-02-2022, 02:45 PM - Forum: General Coding Help - Replies (2)

I am trying to put buttons on my tabs. The buttons appear, but when I click them, nothing happens.
It looks like the code for the buttons gets run wh..... More

Print this item

  Python + PHP. Sending data from "Moodle" (php) to python CGI-script and get it back
Posted by: stanislav - May-02-2022, 02:02 PM - Forum: Networking - No Replies

I installed Learning Managment System (LMS) 'Moodle' to XAMPP local server. And there is instrument for file downloading, called "filepicker".

I wa..... More

Print this item

  Multiprocessing: first step
Posted by: paul18fr - May-02-2022, 01:58 PM - Forum: Data Science - No Replies

All

As ever evoqued in a previous post, I'm interested in using multiprocessing to speed-up some parts of my code:

Print this item

  Python 25 Line Challenge
Posted by: codingCat - May-02-2022, 01:08 PM - Forum: Code sharing - Replies (36)

What is the most interesting, useful or fun program that you can develop in 25 lines of Python or less?

Working on developing projects for my Intro..... More

Print this item

  [solved] Basic question on list matchiing
Posted by: paul18fr - May-02-2022, 10:17 AM - Forum: General Coding Help - Replies (7)

Hi
Sorry for that basic question, but I do not understand why the answer is always "no" when using simple quote between Y: where I'm missing somethin..... More

Print this item

  why there are special characters ?
Posted by: 53535 - May-02-2022, 08:05 AM - Forum: GUI - Replies (8)

when i try to display html text in a text editor , it only display partially, a strange character \n appeared in the middle . how to resolve it ?

Print this item

  Tkinter won't run my simple function
Posted by: AthertonH - May-02-2022, 02:52 AM - Forum: GUI - Replies (6)

Hey guys, I'm trying to make a magic 8 ball interface using Tkinter. I'm fairly new to coding, and I guess you could say this is my first "personal" p..... More

Print this item

  getting mantissa size of float
Posted by: Skaperen - May-01-2022, 10:52 PM - Forum: General Coding Help - Replies (7)

i know the computational way to determine the number of bits of mantissa of float (have done it in C). i am wondering if there is some defined consta..... More

Print this item

  IndentationError: unexpected indent
Posted by: dee - May-01-2022, 09:03 PM - Forum: General Coding Help - Replies (3)

The following is the class that received the IndentationError: unexpected indent. I got the error when "from reader.reader import Reader". Which inden..... More

Print this item

  Sharing imported modules with Sub Processes?
Posted by: Stubblemonster - May-01-2022, 08:30 PM - Forum: General Coding Help - Replies (2)

Hi all, I am new to Python (and coding as well I guess). I have a menu script which monitors two buttons and calls two different scripts as a sub proc..... More

Print this item

  How do I list properties
Posted by: quarinteen - May-01-2022, 04:15 PM - Forum: General Coding Help - No Replies

Hello, I am new to python and I am trying to work with selenium. I am trying to see what are all of the options available within the desiredcapabiliti..... More

Print this item

  Is there software/tool for coding Python?
Posted by: dee - May-01-2022, 04:44 AM - Forum: General Coding Help - Replies (11)

Hello,
I have programmed for couple decades. When I program with c#, I use Visual Studio. Now I am having challenge use Python. What software / tool ..... More


Attached Files

Thumbnail(s)
   
Print this item

  can you please help me with this python code
Posted by: MetsxxFan01 - May-01-2022, 01:31 AM - Forum: General Coding Help - Replies (3)

[python]import sqlite3

conn = sqlite3.connect('emaildb.sqlite')
cur = conn.cursor()

cur.execute('DROP TABLE IF EXISTS Counts')

cur.execute('..... More

Print this item

  pynsist vs pyinstaller deployment questions
Posted by: hammer - May-01-2022, 01:05 AM - Forum: General Coding Help - Replies (2)

Now that I have created an app on Linux that i want to share with Windows users, it seems like the last step, being a novice, is beyond my command. Ba..... More

Print this item

  precision in formatting float
Posted by: Skaperen - Apr-30-2022, 09:43 PM - Forum: News and Discussions - Replies (2)

[quote]The precision is a decimal number indicating how many digits should be displayed after the decimal point for a floating point value formatted w..... More

Print this item

  no tuple.copy()
Posted by: Skaperen - Apr-30-2022, 05:28 PM - Forum: News and Discussions - Replies (4)

why is there no .copy() method for a tuple? but i can make a shallow copy using [:].

Print this item

  hi all help about boolean
Posted by: akaw3 - Apr-30-2022, 11:28 AM - Forum: General Coding Help - Replies (3)

hi all im new to programming and its logic and i ve read that if length of string longer than 256 and less than -5 the cache memory does nt save it a..... More

Print this item

  Multiple user defined plots with secondary axes using for loop
Posted by: maltp - Apr-30-2022, 10:08 AM - Forum: General Coding Help - Replies (1)

I need help on plotting multiple x-y plots based on dynamic user inputs in one subplot using multiple secondary axes. That is, the user would specify ..... More


Attached Files

.csv   Data1.csv (Size: 495 bytes / Downloads: 287)
Print this item

  xml extract currency
Posted by: 3lnyn0 - Apr-30-2022, 07:21 AM - Forum: General Coding Help - Replies (5)

Hi! I have the xml below, how can I extract the currency who have this value multiplier="100"?

[python]<?xml version="1.0" e..... More

Print this item

  how can i do this
Posted by: 53535 - Apr-30-2022, 03:17 AM - Forum: GUI - Replies (1)

is it possible to switch automatically to the next tab when i clik on any item in the first tab? here is the code
[python]
from PyQt5 import Q..... More

Print this item

  Help With Python SQLite Error
Posted by: Extra - Apr-30-2022, 12:16 AM - Forum: General Coding Help - Replies (10)

Hello,

I created this table:
[python]
import sqlite3

#Create a database (inventory.db)
connection = sqlite3.connect("inventory.db")
cursor =..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Two arguments in input fu... Today, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... Yesterday, 10:39 yutaozhou buran News and Disc...
  [Tkinter] I’m building a ... 11-07, 19:29 tsgiannis tsgiannis GUI
  [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...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578704
  Tutorial Requ... 509228
  Web Scraping ... 441851
  Newbie with P... 385802
  New Users Int... 375137
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
lary_p Today
Cristiano Yesterday
Alfredd Yesterday
clayote Yesterday
yutaozhou 11-07

User Panel Messages

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