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,506
» Latest member: momo1717
» Forum threads: 38,595
» Forum posts: 174,827

Full Statistics

Online Users
There are currently 514 online users.
» 0 Member(s) | 506 Guest(s)
Google, Bing, Yandex, Baidu, Facebook Dev

Latest Threads
nltk installs but cannot ...
Forum: General Coding Help
Last Post: sheepog
5 hours ago
» Replies: 1
» Views: 93
JavaScript File?
Forum: Bar
Last Post: Azdaghost
Yesterday, 06:13 PM
» Replies: 0
» Views: 73
How to install Selenium o...
Forum: Web Scraping & Web Development
Last Post: MarkMan
Yesterday, 03:52 PM
» Replies: 0
» Views: 81
Error without reason
Forum: General Coding Help
Last Post: RogereK
Yesterday, 09:52 AM
» Replies: 4
» Views: 328
Python Crash Course - Ski...
Forum: News and Discussions
Last Post: watsicagaylord
Yesterday, 09:40 AM
» Replies: 1
» Views: 747
Nested Dictionaries, good...
Forum: General Coding Help
Last Post: Curbie
May-28-2025, 10:45 PM
» Replies: 6
» Views: 657
Simple webbot for testing
Forum: Jobs
Last Post: Arush
May-28-2025, 06:59 PM
» Replies: 1
» Views: 1,046
Using moviepy fails due t...
Forum: General Coding Help
Last Post: sheepog
May-28-2025, 06:57 PM
» Replies: 2
» Views: 281
Script broke with Python ...
Forum: Code sharing
Last Post: Arush
May-28-2025, 06:51 PM
» Replies: 5
» Views: 6,257
Mathematica code vs Pytho...
Forum: General Coding Help
Last Post: Arush
May-28-2025, 06:27 PM
» Replies: 1
» Views: 923

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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  nltk installs but cannot ... 5 hours ago sheepog sheepog General Codin...
  JavaScript File? Yesterday, 18:13 Azdaghost Azdaghost Bar
  How to install Selenium o... Yesterday, 15:52 MarkMan MarkMan Web Scraping ...
  Error without reason Yesterday, 09:52 Azdaghost RogereK General Codin...
  Python Crash Course - Ski... Yesterday, 09:40 fries29 watsicagaylord News and Disc...
  Nested Dictionaries, good... 05-28, 22:45 Curbie Curbie General Codin...
  Simple webbot for testing 05-28, 18:59 narcpl69 Arush Jobs
  Using moviepy fails due t... 05-28, 18:57 sheepog sheepog General Codin...
  Script broke with Python ... 05-28, 18:51 aspecteleven Arush Code sharing
  Mathematica code vs Pytho... 05-28, 18:27 MiloChocolatito Arush General Codin...
  Looking for ideas 05-28, 18:14 Azdaghost Arush Bar
Most views
  The best Prog... 570483
  Tutorial Requ... 477482
  Web Scraping ... 435152
  Newbie with P... 376265
  Thread remain... 348174
Most reputation
buran 581
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12054
buran 8172
snippsat 7329
deanhystad 6831
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
momo1717 Yesterday
millennia Yesterday
Greenusys414 Yesterday
Douglasmelo1515 Yesterday
Alireza Yesterday

User Panel Messages

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