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,960
» Latest member: llarkin6
» Forum threads: 38,729
» Forum posts: 175,538

Full Statistics

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

Latest Threads
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
4 hours ago
» Replies: 3
» Views: 255
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Yesterday, 05:13 PM
» Replies: 4
» Views: 676
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:17 PM
» Replies: 1
» Views: 767
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:14 PM
» Replies: 6
» Views: 5,005
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Yesterday, 09:50 AM
» Replies: 1
» Views: 1,655
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Yesterday, 03:53 AM
» Replies: 1
» Views: 2,701
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:32 AM
» Replies: 0
» Views: 321
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-25-2025, 01:49 PM
» Replies: 2
» Views: 551
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-24-2025, 02:48 PM
» Replies: 10
» Views: 30,013
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,777

 
  bluetooth device inquiry
Posted by: anne - Aug-01-2020, 12:24 AM - Forum: General Coding Help - No Replies

Two "inquiry " - scan for nearby bluetooth devices and two different results.

Where is the logical error in the first usage of function
bluetoo..... More

Print this item

  Help with menu.
Posted by: Rav - Jul-31-2020, 10:04 PM - Forum: GUI - No Replies

First of all I would like to say that I am new into python and even programming. There are many things that I have no idea how to do.

I would like ..... More

Print this item

  run different functions each time the same button is pressed?
Posted by: User3000 - Jul-31-2020, 09:57 PM - Forum: General Coding Help - Replies (6)

I am using python inputs library to detect gamepad button presses.

Purpose: I..... More

Print this item

  Detecting power plug
Posted by: Narayan - Jul-31-2020, 09:02 PM - Forum: General Coding Help - Replies (2)

How to find programatically if power cable is plugged in or not?

I have written a python program to check if there is power supply available or not..... More

Print this item

  The CSRF session token is missing.
Posted by: randiaz - Jul-31-2020, 08:45 PM - Forum: Web Scraping & Web Development - No Replies

Hi everyone!

I have the following error message: The CSRF session token is missing.

I have everything completed in the documentation for an Ajax pos..... More

Print this item

  Random Choice Operations
Posted by: Souls99 - Jul-31-2020, 08:18 PM - Forum: General Coding Help - Replies (6)

The problem here is i successfully pick a random number from list but when i want o divide that number to 2 just like last lane of my code python choo..... More

Print this item

Lightbulb Standalone application
Posted by: samuelbachorik - Jul-31-2020, 06:15 PM - Forum: General Coding Help - Replies (8)

Hello dear coders, i was searching way to print in console CPU temperature and i found code i put bellow. The problem is, this code works only when i ..... More

Print this item

  Python project help (Password manger using mysql)
Posted by: lifeofpy - Jul-31-2020, 05:29 PM - Forum: Homework - Replies (2)

I am making a python project using mysql a simple password manager it has 2 files one is the one that creates a database named as setup.py and the oth..... More

Print this item

  Monthly sales, standard deviation
Posted by: Lyle - Jul-31-2020, 04:13 PM - Forum: General Coding Help - Replies (3)

Hi, there. I am back to the knowledge well!

Using pandas I have a dataframe with Date, Item#, Qty and 12 months of data. I want to do a std dev calc ..... More

Print this item

  python project structure
Posted by: anne - Jul-31-2020, 03:10 PM - Forum: General Coding Help - Replies (1)

I am using Eclipse plug-in PyDev.
PyDev lets me create "New project" and I end up with a basic structure - see attached.

( Edited Sorry odt file..... More

Print this item

  Cycle through Numpy range within another range(?)
Posted by: Zero01 - Jul-31-2020, 02:37 PM - Forum: Data Science - No Replies

This script needs refining, not really a coder so what I have produced so far is quite something for me...at present this script outputs a text file w..... More

Print this item

  Regression with pipeline and GridSearch
Posted by: patite - Jul-31-2020, 01:40 PM - Forum: Data Science - No Replies

Hello
I am implementing a pipeline with GridSearch
I'm using the Boston housing dataset
Here is my code
[python]
X, y = load_boston(return_X_y=Tr..... More

Print this item

  basic random number generator in replace function
Posted by: krug123 - Jul-31-2020, 12:40 PM - Forum: General Coding Help - Replies (2)

Hey, I'm new to python and wanted to know how can I integrate a pseudo-random number generator to a replace function
for example how do I input somet..... More

Print this item

  Cycle of numpy variables
Posted by: Zero01 - Jul-31-2020, 11:58 AM - Forum: General Coding Help - No Replies

This script needs refining, at present it outputs a text file which I feed into a Windows cmd shell to create and output files, using an image process..... More

Print this item

  PIL Image / python-resize-image AttributeError
Posted by: sallyjc81 - Jul-31-2020, 11:34 AM - Forum: General Coding Help - Replies (1)

Hi, I am getting an Attribute Error when using the PIL mage module. Not sure what the cause is as the no attribute of 'upper' is not written in the co..... More

Print this item

  ImportError:DLL Load Failed after importing scipy.sparse.linalg
Posted by: sea_jam - Jul-31-2020, 01:54 AM - Forum: General Coding Help - No Replies

Hello,

I am attempting to create a build of python2.7 along side a build of python3.8 since I require both for a project that I need to complete. I..... More

Print this item

  anyone here have code they give away?
Posted by: Skaperen - Jul-31-2020, 01:32 AM - Forum: News and Discussions - Replies (11)

anyone here have code they give away? i am thinking about giving away a big collection of functions i have put together. i'm just curious how others..... More

Print this item

  In ArgParse, can two compatible formatter_class values be used?
Posted by: pjfarley3 - Jul-31-2020, 01:25 AM - Forum: General Coding Help - Replies (2)

When setting up argparse, I would like to use BOTH formatter_class=argparse.ArgumentDefaultsHelpFormatter AND formatter_class=RawDescriptionHelpFormat..... More

Print this item

  Python code for exporting table using Selenium
Posted by: gj31980 - Jul-30-2020, 10:55 PM - Forum: General Coding Help - Replies (4)

I am looking to download the tables in this URL for different selections like Crude, Oil etc using Python but I am a beginner and I tried using Seleni..... More

Print this item

  New to Python
Posted by: jdc4429 - Jul-30-2020, 10:27 PM - Forum: General Coding Help - Replies (1)

Hello everyone,

New to python and I'm sure this is not probably that hard but I have not found a way to do this in my searching. Ways I have found..... More

Print this item

  Calling Variables from Other Files in Different Folders
Posted by: illmattic - Jul-30-2020, 08:04 PM - Forum: General Coding Help - Replies (14)

I'm currently working on a file in the following directory: F:\Python\Projects\Analysis

And I want to call variables and functions from file: US_d..... More

Print this item

  Int Object is not callable
Posted by: manutd_to - Jul-30-2020, 06:56 PM - Forum: General Coding Help - Replies (6)

Hi Everyone,

I'm currently trying to make a password generator in python but I keep running into the same error. I've tried to change the function p..... More

Print this item

  Why wont this work?
Posted by: samh625 - Jul-30-2020, 04:53 PM - Forum: Homework - Replies (6)

[python]from random import *

def show_flashcard():
""" Show the user a random key and ask them
to define it. Show the definition
..... More

Print this item

  ROBOTICS HELP
Posted by: Paul_Choi06 - Jul-30-2020, 04:44 PM - Forum: News and Discussions - Replies (1)

Hi, I am trying to get into robotics programming. I am just asking for some advice on how to get started or some good courses for this.

Print this item

  Fastest way to subtract elements of datasets of HDF5 file?
Posted by: Robotguy - Jul-30-2020, 04:20 PM - Forum: Data Science - Replies (3)

Input: Input is two arrays (Nx4, sorted in column-2) stored in datasets-1 and 2 in HDF5 file (input.h5). N is huge (originally belonging to 10 ..... More

Print this item

  Fastest Method for Querying SQL Server with Python Pandas
Posted by: BuJayBelvin - Jul-30-2020, 04:02 PM - Forum: General Coding Help - Replies (7)

I am querying a sql table with about 3.5 MM rows and 400 columns - I am estimating it is less than 5 GB in size.

If I use pd.read_sql to select * f..... More

Print this item

  Which webdriver is required for selenium in Pydroid App
Posted by: Rahatt - Jul-30-2020, 03:15 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello all,
I don't know its right place or not .
I don't have PC so I m using Pydroid App on my Alcatel.
Recently I started selenium tutorial, seleniu..... More

Print this item

  pylint not recognizing some objects in VS Code
Posted by: marceloreborn - Jul-30-2020, 03:14 PM - Forum: General Coding Help - Replies (1)

I'm new to Django, and just started a project using Python 3.7, Django 3.0.8 in a Debian WSL2.
Running VS Code in Win10, Python extension installed, ..... More

Print this item

  pyautogui with a display emulator?
Posted by: gumby4231 - Jul-30-2020, 02:46 PM - Forum: General Coding Help - No Replies

Hello Everyone,

I have used the pyautogui module to automatically take photos for my [url=http..... More

Print this item

  Float Formatting
Posted by: Kristenl2784 - Jul-30-2020, 02:45 PM - Forum: General Coding Help - Replies (3)

Hello,

I'm trying to format a float and I can't seem to figure it out. I've been able to make the float only have two decimal places. But I need ..... More

Print this item

  How to sort rows based on specific order
Posted by: Mekala - Jul-30-2020, 02:04 PM - Forum: General Coding Help - Replies (3)

Hi,
I have below dataframe:
I want to arrange (based on column "Name") in the order [A, B,C,D] and by time

Ex:

[python]A
B
C
D
A
B
C
D
A
B
C
D[/py..... More

Print this item

  connot write to sys.stderr
Posted by: anne - Jul-30-2020, 01:49 PM - Forum: General Coding Help - Replies (7)

I am using Eclipse IDE and doing Run As -> Pyton Run "inquiry.py"
It fails in "site.py".

I know what is the function of site.py.

My questio..... More

Print this item

  PIP install problem
Posted by: samuelbachorik - Jul-30-2020, 01:29 PM - Forum: General Coding Help - Replies (1)

Hello guy iam trying to install pyspectator extension with PIP. - https://github.com/it-geeks-club/pyspectator

But always get this error. PLease ca..... More

Print this item

  PermissionError while running function
Posted by: Laplace12 - Jul-30-2020, 01:27 PM - Forum: General Coding Help - Replies (19)

I need help understanding an error. I have created a function that's supposed to read all files in a specific folder and sum them. However, there is a..... More

Print this item

  importing a CSV file into Python
Posted by: russoj5 - Jul-30-2020, 12:51 PM - Forum: General Coding Help - Replies (1)

Good Morning All,
So I am a complete newbie here and took a class last semester, which was partially programming in Python, but was completely useles..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Unable to resolve FileNot... 4 hours ago llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... Yesterday, 17:13 RonR noisefloor GUI
  Is the interpreter that c... Yesterday, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... Yesterday, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... Yesterday, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... Yesterday, 03:53 justaguy SprunkiRetake Networking
  My goal to be hired worki... Yesterday, 00:32 GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
Most views
  The best Prog... 577081
  Tutorial Requ... 499902
  Web Scraping ... 440820
  Newbie with P... 384812
  New Users Int... 368965
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 8176
snippsat 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
llarkin6 Yesterday
Xuitar Yesterday
SprunkiRetake Yesterday
GnomeSweetGnome 09-25
alxpetrovo2272 09-25

User Panel Messages

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