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,389
» Latest member: finallen321
» Forum threads: 38,821
» Forum posts: 176,020

Full Statistics

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

Latest Threads
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
1 hour ago
» Replies: 1
» Views: 37
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
4 hours ago
» Replies: 9
» Views: 219
IP address for users
Forum: Networking
Last Post: itx_sumeet
Today, 05:53 AM
» Replies: 4
» Views: 7,059
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Today, 01:10 AM
» Replies: 5
» Views: 9,886
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 133
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 78
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 140
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,292
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 103
Exploring Different Pytho...
Forum: News and Discussions
Last Post: ankitsharma32
Dec-23-2025, 01:01 PM
» Replies: 3
» Views: 753

 
  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: 290)
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

  Get image from PI camera and analyze it
Posted by: korenron - Apr-28-2022, 06:49 AM - Forum: General Coding Help - No Replies

Hello,
I'm trying to write a code for detecting license plate number ,
until now I took a saved image and did all the testing on it
I want to che..... More

Print this item

  Write to a LCD display using i2c to a Raspberry Pi using i2c 6398 4x20 LCD
Posted by: Aggie64 - Apr-28-2022, 12:49 AM - Forum: General Coding Help - Replies (4)

I have been unable to find out how to write normal ascii data to a LCD display using i2c.
One of the code snippets I have tried is:
Bus=smbus,SMBus..... More

Print this item

  what is wrong. Why python doesn't ad my values ?
Posted by: Bubu93200 - Apr-27-2022, 09:18 PM - Forum: General Coding Help - Replies (8)

Hi,

Sorry for my bad english.

I need your help, please.
Something is wrong in my code and I don't understand what.

[python]
r1 = {'value 1'..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to Integrate External... 1 hour ago finallen321 noisefloor General Codin...
  Calling python from anoth... 4 hours ago eedjsa eedjsa General Codin...
  IP address for users Today, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... Today, 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
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
  Exploring Different Pytho... 12-23, 13:01 girish_benvanshi ankitsharma32 News and Disc...
  We open-sourced kubesdk —... 12-21, 11:52 beslanpuzl beslanpuzl Code sharing
Most views
  The best Prog... 580351
  Tutorial Requ... 518981
  Web Scraping ... 442768
  Newbie with P... 386947
  New Users Int... 386163
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
finallen321 Today
DTECHSYSTEM Today
zashleyfracesz3221 Today
itx_sumeet Today
zaathonyshulze4201 Today

User Panel Messages

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