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,935
» Latest member: Lucassewall
» Forum threads: 38,722
» Forum posts: 175,509

Full Statistics

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

Latest Threads
Hire a Hacker to Recover ...
Forum: News and Discussions
Last Post: Lucassewall
9 minutes ago
» Replies: 0
» Views: 1
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
5 hours ago
» Replies: 9
» Views: 2,735
Too much space between gr...
Forum: GUI
Last Post: RonR
Today, 11:22 AM
» Replies: 4
» Views: 1,150
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Today, 10:31 AM
» Replies: 3
» Views: 168
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Yesterday, 07:07 AM
» Replies: 1
» Views: 517
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,675
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 613
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 191
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,135
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,365

 
  [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: 279)
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

  Help with Dictionary Database
Posted by: Extra - Apr-29-2022, 10:31 PM - Forum: General Coding Help - Replies (3)

Hello,

So I'm working on an inventory system for myself to keep track of the items I have.
I made a template for a database where all the info for..... More

Print this item

  For Loops Driving Me Insane
Posted by: Guybrush3pwood - Apr-29-2022, 07:54 PM - Forum: General Coding Help - Replies (9)

Trying to figure out how for loops work and I'm really struggling.

I'm able to make a program that will let me pick a single piece of candy and te..... More

Print this item

  Excel to SQLite
Posted by: kgall89 - Apr-29-2022, 06:57 PM - Forum: General Coding Help - Replies (1)

Hello,

I am using Python3, PyCharm and DB Browser for SQLite. I am new to this domain and those are what I have learned on so far.

I am collec..... More

Print this item

  Selenium Window Not Closing
Posted by: gw1500se - Apr-29-2022, 05:37 PM - Forum: Web Scraping & Web Development - Replies (4)

I have moved a script from Python 3.8.13 (Windows 7) to Python 3.10.4 (Windows 10) and there seems to be several differences I don't understand. I am ..... More

Print this item

  Quick Question about Dictionaries
Posted by: Extra - Apr-29-2022, 05:14 PM - Forum: General Coding Help - Replies (6)

Hello,

I'm trying to make a simple login page through the terminal and I decided to use a dictionary to store the user's name and password.

As ..... More

Print this item

  Python, Tkinter, & Excel
Posted by: Extra - Apr-29-2022, 03:37 PM - Forum: General Coding Help - Replies (2)

Hello,

I'm looking to build a simple inventory system to keep track of my parts and I was browsing the internet for ideas on how to do it when I fo..... More

Print this item

  Need to fix my brain on classes
Posted by: blackknite - Apr-29-2022, 03:36 PM - Forum: General Coding Help - Replies (2)

I want to do a simple calendar to learn practical use of classes, because I find classes counterintuitive in python and I struggle a lot with it.

m..... More

Print this item

  UnicodeEncodeError: 'ascii' codec can't encode character '\xfd' in position 14: ordin
Posted by: Armandito - Apr-29-2022, 09:07 AM - Forum: General Coding Help - Replies (6)

Hey everyone !

I have a strange problem. I would like to send this line to a waveform generator: 'DATA EMEM,#14?\xfd?\xfd'.

I get this error..... More

Print this item

  make: *** [Makefile:29: all] Segmentation fault
Posted by: Anldra12 - Apr-29-2022, 01:00 AM - Forum: General Coding Help - Replies (2)

By Installing Charm sudo make rturn an error
[error]/usr/local/bin/python3 setup.py build
make: *** [Makefile:29: all] Segmentation fault[..... More

Print this item

  What am I doing wrong?
Posted by: Larz60+ - Apr-28-2022, 11:13 PM - Forum: Web Scraping & Web Development - Replies (2)

I'm trying to wait for browser to see the first part of a string using:
[python]
ltext = f"Page {sw['current_page']}"
eleme..... More

Print this item

  Help to make a shuffleboard scoreboard
Posted by: Slett1 - Apr-28-2022, 05:20 PM - Forum: General Coding Help - Replies (1)

Hello!

Im a totally newbie at this (as you will notice), but i am trying to use a Raspberry Pi and a TV-screen to make a scoreboard for my shuffleb..... More

Print this item

  Reading .csv file
Posted by: doug2019 - Apr-28-2022, 04:59 PM - Forum: General Coding Help - Replies (4)

Hi! Could someone give me a hand? I'm having trouble creating code to read a .csv file in pandas. With .xlsx file I know how to create it. Below i..... More


Attached Files

Thumbnail(s)
       
Print this item

  Efficiency with regard to nested conditionals or and statements
Posted by: Mark17 - Apr-28-2022, 02:01 PM - Forum: General Coding Help - Replies (13)

My backtester program iterates down the rows of a .csv file. In order to backtest a strategy, over 99.5% of the rows correspond to unused options and..... More

Print this item

  Can I check multi condition for 1 item in a easy way?
Posted by: korenron - Apr-28-2022, 01:42 PM - Forum: General Coding Help - Replies (4)

Hello,
I want to check if 1 item apper in 4 lists
right now this is how I do this:
[python]
if item is not None and item is not False and item n..... More

Print this item

  Cannot install TensorFlow 2.2 in Windows 10
Posted by: Led_Zeppelin - Apr-28-2022, 01:41 PM - Forum: General Coding Help - Replies (1)

Can I install TensorFlow 2.2 on Windows 10?

I have tried

pip install TensorFlow==2.2

and

conda install TensorFlow==2.2

and it says tha..... More

Print this item

  How split N days between specified start & end days
Posted by: SriRajesh - Apr-28-2022, 12:26 PM - Forum: General Coding Help - Replies (2)

Hi,
I have start date and end date. I want to split it to N-equal days.
start_date = "2022/04/10 00:00:00"
end_date = "2022/04/14 00:00:00"
I wa..... More

Print this item

  ImportError: /home/ali/Documents/test/charm/core/crypto/AES.cpython-39-x86_64-linux-g
Posted by: Anldra12 - Apr-28-2022, 07:07 AM - Forum: General Coding Help - No Replies

[b][color=#1ABC9C]I am working with charm crypto using python 3.7.1 and I have created a small database as shown in the codes as I run the code gettin..... More

Print this item

  how to add the Qcompleter into a ui-converted script?
Posted by: 53535 - Apr-28-2022, 06:53 AM - Forum: GUI - Replies (8)

[python]
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtWidgets import QMainWindow, QApplication,QFileDialog,QCompleter,QLineEdit
import s..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Hire a Hacker to Recover ... 9 minutes ago Lucassewall Lucassewall News and Disc...
  403 Error 5 hours ago CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... Today, 11:22 RonR RonR GUI
  datetime in SQL query. Today, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... Yesterday, 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...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
Most views
  The best Prog... 575942
  Tutorial Requ... 497327
  Web Scraping ... 439915
  Newbie with P... 383652
  New Users Int... 366013
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+ 12088
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
Lucassewall Today
alexguemez Today
Shadab Today
Dibbley Today
XenonBlack Yesterday

User Panel Messages

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