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,954
» Latest member: bianchiluca116
» Forum threads: 38,725
» Forum posts: 175,520

Full Statistics

Online Users
There are currently 37 online users.
» 1 Member(s) | 31 Guest(s)
Bing, AOL, Google, Applebot, deanhystad

Latest Threads
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
2 hours ago
» Replies: 10
» Views: 29,145
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:00 PM
» Replies: 4
» Views: 9,300
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Yesterday, 09:08 AM
» Replies: 0
» Views: 185
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Yesterday, 03:29 AM
» Replies: 2
» Views: 608
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Yesterday, 02:36 AM
» Replies: 0
» Views: 208
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 765
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,020
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,270
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,633
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 3,196

 
  Why does a Numpy with Intel MKL have the same performance as a normal one?
Posted by: AlekseyPython - Nov-10-2020, 01:02 PM - Forum: Data Science - No Replies

Intel i5-4690, Kubuntu 20.10

I installed the Numpy in the usual way:

pip3 install numpy
, and in Eclipse IDE ran the matrix mu..... More

Print this item

  Mail Merge from DataFrame into Word Label Template
Posted by: PEGylated_User - Nov-10-2020, 01:01 PM - Forum: General Coding Help - No Replies

I have a DataFrame that looks like this:
[output] FormulationNames FormulationLots TimePoints StorageConditions
0 f1 ..... More

Print this item

  How to get index of minimum element between 3 & 8 in list
Posted by: Mekala - Nov-10-2020, 10:44 AM - Forum: General Coding Help - Replies (2)

Hi,
I have the below list, and I want to get the index of minimum element which is >3 & <=8.

[python]my_list = [-1,4,-5,0,2,11,9,8,6]
#below only..... More

Print this item

  How to use Converters in numpy loadtxt?
Posted by: kmasic18 - Nov-10-2020, 10:16 AM - Forum: Homework - Replies (3)

Hi, I have the data(example below) with floats and the last column is a string, that will be used in logistic regression assignment.

5.1 3 1.1 Iris..... More

Print this item

  Modbus-tk library catching modbus-tk exception
Posted by: zazas321 - Nov-10-2020, 09:51 AM - Forum: General Coding Help - Replies (1)

Hey. I am working with raspberry PI and modbus. Raspberry PI is configured as master and I have multiple ESP32 devices configured as slave devices.
..... More

Print this item

Information Unable to display joystick's value from Python onto display box
Posted by: MelfoyGray - Nov-10-2020, 08:38 AM - Forum: General Coding Help - Replies (2)

Hi, I'm new to Python programming and I need desperate help for my project. I've received this coding from the previous batch of mine but I can't seem..... More

Print this item

  when this error rise?index 28 is out of bounds for axis 0 with size 13
Posted by: abbaszandi - Nov-10-2020, 06:23 AM - Forum: General Coding Help - Replies (1)

hi
this programm is the heat transfer module but in indexing i have problem this programm working on this way that i should know wher is this elemen..... More

Print this item

  How to print all iterations of min and max for a 2D list
Posted by: alaina - Nov-10-2020, 04:24 AM - Forum: Homework - Replies (4)

Hello, I am new to Python and need help with my program. I need to create a program that assigns random integers in between 0 and 4 to each month of t..... More

Print this item

  Running my game file yields a different error on a different computer system
Posted by: Bruizeh - Nov-10-2020, 03:15 AM - Forum: Homework - No Replies

Hello,

I would like to first preface this by saying that I am not looking for help with the program itself, but rather with the execution of said fil..... More

Print this item

  Help with multiclass classification in perceptron code
Posted by: Nimo_47 - Nov-09-2020, 10:32 PM - Forum: Data Science - No Replies

Hello!
I need help with my python programming where I implemented Multiclass Perceptron. I am having trouble in updating the weight. I don't know wh..... More

Print this item

  Python Challenges Similar to TidyTuesday
Posted by: lasek723 - Nov-09-2020, 10:07 PM - Forum: News and Discussions - Replies (3)

Hi there,

I am loving learning data analysis at the min - Pandas and Matplotlib via DataCamp.

I was wondering if anyone has a recommendation, l..... More

Print this item

  Counting Number of Element in a smart way
Posted by: quest - Nov-09-2020, 09:26 PM - Forum: General Coding Help - Replies (2)

Hello,
I have an array
[Image: results.png]
I want to count the elements in the array and I can count the number of..... More

Print this item

  json and python
Posted by: rob25111 - Nov-09-2020, 09:20 PM - Forum: Web Scraping & Web Development - Replies (2)

I have a problem.
I receive a response in JSON format from a web REST API (which returns me all the values related to the invoices of a shopping cent..... More

Print this item

  Pulp Linear Programming
Posted by: quest - Nov-09-2020, 07:43 PM - Forum: Data Science - Replies (2)

Hello,
I am trying to code this program

Quote:Find y ∈R^m
minimising y·ve
subject to M'*y ≥ 1 and y ≥ 0

And I wrote this code, but I d..... More

Print this item

  crunching ip addresses
Posted by: snichols - Nov-09-2020, 03:08 PM - Forum: General Coding Help - Replies (5)

Learning python with day to day stuff I normally do in other languages. I am parsing a netstat dump file to get a sorted unique list of remote IPs. I ..... More

Print this item

  How to get indices of minimum time difference
Posted by: Mekala - Nov-09-2020, 03:06 PM - Forum: General Coding Help - Replies (1)

Hi,
I have below data:
df1:
time1 time2
2020/11/05 20:30:23 2020/11/05 20:20:23
2020/11/05 20:40:12 2020/11/05 20:20:23
..... More

Print this item

  How to close a ssh session
Posted by: edlentz - Nov-09-2020, 02:24 PM - Forum: General Coding Help - No Replies

I have a small script using os.session to run some specific commands. Typically a user will log into the server over SSH and I have the script runnin..... More

Print this item

  Pass an object to a class, then make an object of it and pass again
Posted by: TomasAm - Nov-09-2020, 11:51 AM - Forum: Homework - Replies (11)

Good day,

I have 4 classes as follows:
[python]
class Body:
def __init__(self, top, bottom):
self.top = top
self.bottom = ..... More

Print this item

  Basic regex
Posted by: floatingshed - Nov-09-2020, 11:48 AM - Forum: General Coding Help - Replies (1)

I have never used the re module before.
I have many text files that need a phrase replacing, the following works fine:

[python]for file in directo..... More

Print this item

  Random number generator
Posted by: charlottelol - Nov-09-2020, 10:56 AM - Forum: General Coding Help - Replies (5)

Hello,

I need help making a random number generator for addition. I have tried to use random.randint but it wont work even with the random import ena..... More

Print this item

  Split gps files based on time (text splitting)
Posted by: dervast - Nov-09-2020, 09:19 AM - Forum: General Coding Help - No Replies

Hi all.
I have a gps file that has the following format. Someone said that it seems to be json file but I am not sure.

Segment of the file looks l..... More

Print this item

  Help with an ASCII game
Posted by: johnEmScott - Nov-09-2020, 08:13 AM - Forum: Game Development - Replies (3)

I'm programming an ASCII game that uses no library at the moment. My limitations are: I need to output the "Camera View" in a 21x8 character. But I co..... More

Print this item

  How to make a Python program run in a dos shell (cmd)
Posted by: Pedroski55 - Nov-09-2020, 05:24 AM - Forum: General Coding Help - Replies (2)

I am not used to Widows. I run my little Python programs in bash.

To do that, I have to put:

Quote:#! /usr/bin/python3

as the firs..... More

Print this item

Brick 3 features for python flask state.
Posted by: aaronxiongli - Nov-09-2020, 03:14 AM - Forum: Code sharing - No Replies

Foreword
Flask-State is a lightweight chart plugin to show machine state.
Github:..... More

Print this item

  Python vs VBA for Excel
Posted by: jfunkitup - Nov-09-2020, 01:31 AM - Forum: Data Science - Replies (3)

As a business analyst, I've been using VBA with Excel and Access for a while now and can usually accomplish my goals with these tools alone. I recent..... More

Print this item

  tree insert
Posted by: saljuaid - Nov-09-2020, 12:54 AM - Forum: Data Science - Replies (2)

I would like to let users enter its name in tk.Entry and goes to sql and by select from sql to appear in TreeView . every time users enter name will a..... More

Print this item

  can you call a function from a list?
Posted by: KEYS - Nov-09-2020, 12:31 AM - Forum: Homework - Replies (20)

What i am trying to do:
create a inventory item that uses a function.
The code doesn't work but i will include it as it shows the function i am tryi..... More

Print this item

  Tuples & Functions
Posted by: nman52 - Nov-09-2020, 12:23 AM - Forum: Homework - Replies (7)

Hello, I'm on Problem 1 from this website: https://courses.cs.washington.edu/course...part1.html



The premise is simple, but I'm ..... More

Print this item

  Assignment Help
Posted by: HNiChuimin - Nov-08-2020, 10:44 PM - Forum: Homework - Replies (4)

Hello, i've been asked in my assignment to create a censor function that replaces words in a text string with astricks of the same lenght if the word ..... More

Print this item

  Census geocoding services API. How do I import output into dataframe?
Posted by: SAS2PYTHON - Nov-08-2020, 09:52 PM - Forum: General Coding Help - Replies (3)

I'm new to python and I'm trying to use the census geocoding services API to geocode addresses then convert the output to a dataframe. I've been able ..... More

Print this item

  read the first line in my script
Posted by: chubbychub - Nov-08-2020, 08:56 PM - Forum: General Coding Help - Replies (1)

could someone help me write the proper code for reading the first line of a text file in c:\desktop\ptyhon\log.txt
here is the partial code that shou..... More

Print this item

  Write to file
Posted by: emilng - Nov-08-2020, 07:53 PM - Forum: Homework - Replies (1)

Say you have a txt. document where you want to write specific information to line 1,2,3,4 and 5 every time. Is there a way to specify this in my code?..... More

Print this item

  Python Function
Posted by: zee - Nov-08-2020, 06:26 PM - Forum: Homework - Replies (3)

Write a program having a void function that receives a 4 - digit number and calculates the sum of square of the first two digits and last two digits ...... More

Print this item

  Python-Constraint
Posted by: Mathlete37 - Nov-08-2020, 06:24 PM - Forum: Data Science - Replies (3)

Hello,

Let's say I have:

problem = Problem()
problem.addVariables(['a', 'b'], [1, 2, 3])
problem.addConstraint(AllDifferentConstraint())
prob..... More

Print this item

  SharePoint Online/365 authentication using .cer file
Posted by: mart79 - Nov-08-2020, 03:31 PM - Forum: General Coding Help - No Replies

All,

I want to access our corporate SharePoint Online/365 site to collect information from our lists and/or libraries.
For this I have a cer file ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  pip install requests does... 2 hours ago misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... Yesterday, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... Yesterday, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... Yesterday, 03:29 Littlefish Littlefish General Codin...
  Is the interpreter that c... Yesterday, 02:36 helendamdam helendamdam General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad General Codin...
  403 error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
Most views
  The best Prog... 576793
  Tutorial Requ... 499177
  Web Scraping ... 440579
  Newbie with P... 384549
  New Users Int... 368427
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 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
bianchiluca116 Today
ShanePulse Today
Jorgecog Today
adamsmith12 Today
Ronny Today

User Panel Messages

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