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,537

Full Statistics

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

Latest Threads
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: deanhystad
7 hours ago
» Replies: 2
» Views: 133
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
7 hours ago
» Replies: 4
» Views: 588
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
11 hours ago
» Replies: 1
» Views: 690
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
11 hours ago
» Replies: 6
» Views: 4,927
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Yesterday, 09:50 AM
» Replies: 1
» Views: 1,583
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Yesterday, 03:53 AM
» Replies: 1
» Views: 2,630
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:32 AM
» Replies: 0
» Views: 274
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-25-2025, 01:49 PM
» Replies: 2
» Views: 480
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-24-2025, 02:48 PM
» Replies: 10
» Views: 29,907
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,713

 
  Changing Directory based on user input
Posted by: paulmerton4pope - Aug-12-2020, 07:27 PM - Forum: Homework - Replies (13)

Hi there,

I'm trying to create a program whereby a user can resize images in their own, inputted directory. As you can see below, I am able to view..... More

Print this item

  Convert multiple decimal numbers in string to floats
Posted by: Katy8 - Aug-12-2020, 06:29 PM - Forum: Homework - Replies (6)

I'm going through the MIT Open Course Ware in my free time. Just want to begin learning, so this is not for a class or credit. Just need a nudge in th..... More

Print this item

  Merging sorted dataframes using Pandas
Posted by: Robotguy - Aug-12-2020, 06:01 PM - Forum: Data Science - Replies (1)

I have a large (Nx4, >10GB) array that I need to sort based on col.2.

I am reading my data in chunks and sorting using Pandas. But I am unable to c..... More

Print this item

  Replacing a few characters of a specified character but not all of them from a string
Posted by: fatherted99 - Aug-12-2020, 05:56 PM - Forum: Homework - Replies (7)

I am doing a school programming project, and I was starting off with some user credential authorization system
A user would input a desired password ..... More

Print this item

  Python Tutorial for Beginner
Posted by: TimSouthee - Aug-12-2020, 05:06 PM - Forum: News and Discussions - Replies (2)

Hi I want to learn Python from scratch. can anybody please recommend best tutorial for beginner? Thanks a ..... More

Print this item

  2 Pairs 2 Lists
Posted by: Harshil - Aug-12-2020, 04:27 PM - Forum: Homework - Replies (7)

Problem: So Hey! Friends I Have Another Challenge And Is From My Friends!
He Challenged Me For The Problem Below But I Failed SO I Decided To Ask Her..... More

Print this item

  Recursion in Python Production Code
Posted by: robin73 - Aug-12-2020, 04:10 PM - Forum: News and Discussions - Replies (1)

I want to get a picture of whether/when recursion is used in Python code "in the wild." Attempts to gather information on this on Stack Exchange have ..... More

Print this item

  Mathplotlib - passing reference to axs to function
Posted by: qmfoam - Aug-12-2020, 04:10 PM - Forum: General Coding Help - Replies (5)

I have defined a series of subplots:
[python]
fig, ((ax1, ax3), (ax2, ax4), (ax5, ax7), (ax6, ax8)) = plt.subplots(4,2)
fig.subplots_adjust(left = ..... More

Print this item

  Using Pytables to Sort Large Arrays?
Posted by: Robotguy - Aug-12-2020, 03:35 PM - Forum: Data Science - No Replies

Hi

I have two large input files (>10 GBs, Nx4). Task is to sort these files based on column-2 as fast as possible. Right now I am chunking and savi..... More

Print this item

  How to assign a module to a variable even if it's not defined?
Posted by: mandaxyz - Aug-12-2020, 01:56 PM - Forum: General Coding Help - Replies (5)

Hello, I want to import modules from files, I need to store them into variables and I need their names as strings because I must check if the modules ..... More

Print this item

  Two QlineEdit box, which interrelated
Posted by: GMCobraz - Aug-12-2020, 01:52 PM - Forum: GUI - Replies (1)

Hi guys,

I have a general question here.

How can I make sure two QLineEdit box are interrelated?
I haven't code, just to get an idea here.

F..... More

Print this item

  unable to write to log file
Posted by: Mekala - Aug-12-2020, 11:39 AM - Forum: General Coding Help - Replies (2)

Hi,
I try to run read_data function from main, but although it read data, but not writing to log file.

main.py

[python]import logging
from da..... More

Print this item

  Extract the largest value from a group without replacement (beginner)
Posted by: preliator - Aug-12-2020, 10:53 AM - Forum: General Coding Help - Replies (1)

I have a dataframe that represents different combinations of people (11 people in total), with a score per combination ranging from 0 (bad) to 20 (ver..... More

Print this item

  help code python QT Designer
Posted by: yan_mhb - Aug-12-2020, 09:32 AM - Forum: GUI - No Replies

Hello,

I have created an interface with buttons and comboBoxes and I want to change the value of DATA [1] which is in the send.py file every time I..... More

Print this item

  Please help me to ask to enter again itself when value entered is not a number.
Posted by: sunil422 - Aug-12-2020, 06:51 AM - Forum: General Coding Help - Replies (5)

I want the following program to ask to enter again without ending if entered value is not a integer. please help.

[python]x=input('ENTER SUM')
try..... More

Print this item

  Python TDD
Posted by: mcmxl22 - Aug-12-2020, 05:44 AM - Forum: General Coding Help - Replies (3)

I am trying to go through Test-Driven Development with Python.
I am currently in sectio..... More

Print this item

  cant loop through scraped site
Posted by: matt42 - Aug-12-2020, 05:00 AM - Forum: Web Scraping & Web Development - Replies (3)

hi there, I have the following scraping code which gets the information I want for the first game but when I try to loop through the page, to get the ..... More

Print this item

  keepassx - questions
Posted by: gonzo01 - Aug-12-2020, 02:56 AM - Forum: News and Discussions - Replies (4)

i've been trying to understand how keepassx works

i've installed (keepassx
(mxlinux 18.2) and it runs fine

using synaptic i've obtained a list ..... More

Print this item

  Pulling Information Out of Dictionary
Posted by: Griever - Aug-12-2020, 02:07 AM - Forum: General Coding Help - Replies (4)

Hello there!

Please forgive me if this is a basic question...

Long story short, I'm trying to pull out this specific number value ([u]htt..... More

Print this item

  Automating to save generated data
Posted by: Robotguy - Aug-11-2020, 09:49 PM - Forum: Data Science - Replies (3)

Hey everyone:

I want to save a particular number of values in maps I create. For example, when creating (4064x1) values, I want to save first (1000..... More

Print this item

  Adapting a dataframe to the some of columns
Posted by: flyway - Aug-11-2020, 05:55 PM - Forum: Data Science - Replies (2)

Hello to all,

I need to automate my Var X = df.iloc[; , [i[0]], [i[1]],...
Depending on len of i[n]
Something like;

i = [5, 16, 20, ... ]

if len(i)..... More

Print this item

  Web Scrapping Through API
Posted by: krishgokul29 - Aug-11-2020, 05:30 PM - Forum: Web Scraping & Web Development - Replies (3)

Hi team, Im new to python/development. As i started to read the requests module, i came across this weird website terion.in. Its a game website were t..... More

Print this item

  python frontend workout plan
Posted by: karateobituary - Aug-11-2020, 05:13 PM - Forum: News and Discussions - Replies (1)

I have worked in python backends for a number of years and write many many helpful tools that are CLI based. In the era of data visualizations, I find..... More

Print this item

  Read strings and numbers in columns from a file
Posted by: suvadip - Aug-11-2020, 05:00 PM - Forum: General Coding Help - Replies (4)

Hi all,

I have a .txt file which has two columns. the first column is string and the second column is number. The structure of the .txt file is the..... More

Print this item

  Feature Scaling with Partitions
Posted by: rocketfish - Aug-11-2020, 04:59 PM - Forum: Data Science - Replies (3)

I would like to apply normalization to a column in a Pandas DataFrame. However, I would like partition the table into shop_id values and apply..... More

Print this item

  The 'b' Word
Posted by: Harshil - Aug-11-2020, 04:29 PM - Forum: General Coding Help - Replies (5)

Another Project I Am Working On Here The Problem Is:
How To Remove That 'b' Word In Binary
[output]Please Type The Number: 0x3
The 0x3 In De..... More

Print this item

  Looking for a sleeker way to code this function
Posted by: CJHUND - Aug-11-2020, 03:05 PM - Forum: General Coding Help - Replies (5)

Hello friends,

I am wondering if anyone could suggest a more simple way of coding this function? I am building a formatted string for a report bas..... More

Print this item

  Execute DBCC CHECKDB from python script
Posted by: susja - Aug-11-2020, 01:23 PM - Forum: General Coding Help - Replies (1)

I have to run this query from inside the python script using pyodbc (python 3):

DBCC CHECKDB ('database_name') WITH ESTIMATEONLY
In code I have th..... More

Print this item

  Tkinter window anomaly.
Posted by: Astrikor - Aug-11-2020, 01:03 PM - Forum: News and Discussions - Replies (2)

I am running a data processing program which has a Tkinter window displaying running results and the current time.
I am puzzled that occasionally the..... More

Print this item

  Django serving wrong template at the wrong address with malformed urls.py (redactor a
Posted by: Drone4four - Aug-11-2020, 12:22 PM - Forum: Web Scraping & Web Development - Replies (2)

I’ve got a small experimental Django project which accepts a user’s fake Chuckee Cheese membership card number on the landing page, redacts the first ..... More

Print this item

  Iterating over word vs. character
Posted by: Mark17 - Aug-11-2020, 11:35 AM - Forum: General Coding Help - Replies (6)

This:

[Python]
mutants = ['charles xavier',
'bobby drake',
'kurt wagner',
'max eisenhardt',
'k..... More

Print this item

  Function will not return variable that I think is defined
Posted by: Oldman45 - Aug-11-2020, 09:05 AM - Forum: General Coding Help - Replies (6)

I am teaching myself python and have this function in a programme:

[python]
x1 = 1
x2 = 2
y1 = 4
y2 = 6

def distance(x1, y1, x2, y2):
d..... More

Print this item

  command line options
Posted by: Skaperen - Aug-11-2020, 06:48 AM - Forum: News and Discussions - Replies (5)

the arguments can include AWS region names or their abbreviations. each name needs to be verified against the official list. the official list is ob..... More

Print this item

  Name error
Posted by: Sky737 - Aug-11-2020, 03:04 AM - Forum: General Coding Help - Replies (1)

Hi I am new to python and can't figure out why my code is not working. Here is my code...

[python]def packet_1(packet_1_LOC, packet_1_name):
..... More

Print this item

  waiting to connect
Posted by: Skaperen - Aug-11-2020, 01:52 AM - Forum: General Coding Help - Replies (9)

i am calling a library that connects to some site and gets some data. sometimes it is slow. i would like for my code to output a message to stderr i..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Unable to resolve FileNot... 7 hours ago llarkin6 deanhystad General Codin...
  [Tkinter] how to export a... 7 hours ago RonR noisefloor GUI
  Is the interpreter that c... 11 hours ago helendamdam noisefloor General Codin...
  pdf file processing: how ... 11 hours ago 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... 577038
  Tutorial Requ... 499820
  Web Scraping ... 440792
  Newbie with P... 384780
  New Users Int... 368885
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