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,271
» Latest member: aminrony1999
» Forum threads: 38,787
» Forum posts: 175,856

Full Statistics

Online Users
There are currently 43 online users.
» 0 Member(s) | 41 Guest(s)
Bing, Google

Latest Threads
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
1 hour ago
» Replies: 3
» Views: 125
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
5 hours ago
» Replies: 4
» Views: 134
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
8 hours ago
» Replies: 2
» Views: 107
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 151
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 343
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 62
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 102
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 348
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 193
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 298

 
Exclamation Quick Help - Deploy Flask App on Google Cloud
Posted by: Madoo - Nov-07-2020, 01:43 PM - Forum: Web Scraping & Web Development - No Replies

I have already developed a flask website using mongodb in my windows 10 pc. And it's running well using http://127.0.0.1:5000. This app mainly using s..... More

Print this item

  Redirect upon submit button linking to send_file
Posted by: Jamesunsworth - Nov-07-2020, 01:31 PM - Forum: Code sharing - Replies (4)

Hi guys,

I've been researching and coding til my fingers have fallen off on this one!

I'm currently building a youtube video downloader simply..... More

Print this item

  merge 2 dataset
Posted by: dav96 - Nov-07-2020, 11:56 AM - Forum: General Coding Help - No Replies

Hi guys,
I have dataset1 that define the Trip Start Timestamp of each taxi trip made in Chicago in 2020
dataset1 has 2 columns:

Trip ID Tri..... More

Print this item

  Problem processing items in list
Posted by: PythonNewbee - Nov-07-2020, 11:16 AM - Forum: Data Science - Replies (2)

I'm trying to write code that analyzes tickets logged with our IT service desk.
I'm trying to find the reasons users log incidents. To do this I have..... More

Print this item

  computer science coursework, read the text please and tell me if theres any specifics
Posted by: sixcray - Nov-07-2020, 10:05 AM - Forum: Homework - Replies (4)

I've been given this plan telling me that I need to design a computer program for counting coins, I am given a scenario which is telling me that there..... More

Print this item

  sharing variables between two processes
Posted by: Kiyoshi767 - Nov-07-2020, 12:34 AM - Forum: General Coding Help - Replies (1)

Hi, I have a bit of code that I need to run in parallel to another code. In this code I need to update two variables so both processes can read and up..... More

Print this item

  NameError: name 'os' is not defined, & load_files(sys.argv[1])
Posted by: AryaIC - Nov-07-2020, 12:10 AM - Forum: Homework - Replies (3)

Please help and tell me what's missing and wrong, I got this error:
$ python3 questions.py corpus

[error]
Traceback (most recent..... More

Print this item

  Printing a string from a variable
Posted by: retroC0de - Nov-06-2020, 11:17 PM - Forum: Homework - Replies (1)

I have a program that I need to make where I ask for the user's city and state, and ask them to type it in this format: city,state. The city must be p..... More

Print this item

  Pytables : Printing without special characters
Posted by: Robotguy - Nov-06-2020, 10:55 PM - Forum: Data Science - No Replies

I create a dataset containing some file information (characters). Aim is to print the content. Using info[:] also prints special characters like `\n..... More

Print this item

  function help
Posted by: Nickd12 - Nov-06-2020, 09:39 PM - Forum: General Coding Help - Replies (5)

this might be a dumb question but i have this function can i set what i want it to return using a variable.

for example if i call my minute_ functi..... More

Print this item

  Tuning PID controller
Posted by: Sancho_Pansa - Nov-06-2020, 04:00 PM - Forum: General Coding Help - Replies (4)

Hello,

Does exist a particular PID library that facilitate PID controller tuning.
Let's say realize following scenario:

  1. specify so..... More

Print this item

  Please explain uncommon way of declaring and using variable [function.variable]
Posted by: esphi - Nov-06-2020, 03:37 PM - Forum: General Coding Help - Replies (4)

I came across similar code as bellow. It declare a variable foo.y and foo.z. They can be called outside the function.
I don't see this being explain..... More

Print this item

  Save Numpy Array in Another Numpy Array (not Concatenate!)
Posted by: quest - Nov-06-2020, 10:30 AM - Forum: General Coding Help - Replies (1)

Hello;
Here is my code
[python]
array1 = ([])
for triplet in itertools.product([0, 1], repeat=6):
a,ap,b,bp,c,cp = triplet[0],triplet[1],trip..... More

Print this item

  Intro to CS online course
Posted by: space_cat - Nov-06-2020, 07:58 AM - Forum: News and Discussions - Replies (2)

well i found this page while browsing through the internet -

http://www.cse.msu.edu/~cse231/PracticeO...ingPython/

it's a CS intro cour..... More

Print this item

  Unable to install PyQt5 using pip.
Posted by: edwin4project - Nov-06-2020, 07:37 AM - Forum: GUI - Replies (2)

Hey guys, I am unable to install PyQt5 despite having python3 version 3.5.1+ & python2 version 2.7.11+. I tried various methods to install PyQt5 but a..... More

Print this item

  Creating a dictionary from a list
Posted by: Inkanus - Nov-05-2020, 10:38 PM - Forum: General Coding Help - Replies (5)

Hello. I'm having trouble creating a dictionary from a list. I have a list with names. I am supposed to build a dictionary on its basis. Each name has..... More

Print this item

  Find lines from one file in another
Posted by: tester_V - Nov-05-2020, 09:08 PM - Forum: General Coding Help - Replies (8)

Hi, kind of simple thing but for some reason I’m struggling with the iterations Wall in python and the indentations Wall where it stars/end ..... More

Print this item

  Rolling Sum by Facility
Posted by: dsparker78 - Nov-05-2020, 08:49 PM - Forum: General Coding Help - Replies (1)

I'm looking to create a rolling 12 average for a dataset. The data set has columns for MONTH, Facility, Patient Days.

I want to create a rolling 12 ..... More

Print this item

  What is the run time complexity of this code and please explain?
Posted by: samlee916 - Nov-05-2020, 07:44 PM - Forum: General Coding Help - Replies (2)

[python]
set1=set(input().split())#TAKING INPUT OF SETS
set2=set(input().split())
l=[]#CREATING EMPTY LIST FOR STORING THE COMMON DATA OF SETS
fla..... More

Print this item

  Code taking too much time to process
Posted by: ErPipex - Nov-05-2020, 06:23 PM - Forum: General Coding Help - Replies (11)

Hi team,

I am a Newbie using python, i was trying to interpretate several columns from an excel file using openpyxl, and generate (write) on a file..... More

Print this item

  Is it possible to scrape this data from Google Searches
Posted by: rosjo - Nov-05-2020, 05:44 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi there,

I'm currently working on a repetitive task, which I'm wondering if I can automate with Python. I have never worked with Python before, so..... More

Print this item

  Unable to retrieve a saved draft
Posted by: arbiel - Nov-05-2020, 04:08 PM - Forum: Board - Replies (1)

Hi

As stated in the title, I've been unable to retrive a saved draft. Please, tell me how I can retrieve it.

Arbiel

Print this item

  Numpy Play with Rows and Columns of a Matix
Posted by: quest - Nov-05-2020, 03:48 PM - Forum: General Coding Help - Replies (6)

Hello
I created my code as I want and now I just want to change my matrix.
As a result of my code, I have this matrix:

[img]https://i.postimg.cc/8zpR..... More

Print this item

  Displaying various layouts in a single window
Posted by: arbiel - Nov-05-2020, 03:44 PM - Forum: GUI - Replies (6)

Hi

I try to have several layouts displayed in a single window. I don't know the best way to do so, maybe should I remove all widgets of the current..... More

Print this item

  Unable to create an environment
Posted by: richard_wylde - Nov-05-2020, 03:11 PM - Forum: General Coding Help - No Replies

Hello ,

I'm trying to create a new environment using :-

conda create --name powerbipython python=3.6 pandas, seaborn, numpy, matplotlib

Howe..... More

Print this item

  Convert to UTC without changing time
Posted by: pythonlearner1 - Nov-05-2020, 02:42 PM - Forum: General Coding Help - Replies (1)

I am pulling data from elasticsearch in d/m/yyyy format.

when it come I believe it is in UTC format. after some processing I am putting that data b..... More

Print this item

  Selenium Chrome error
Posted by: Leo_Red - Nov-05-2020, 01:57 PM - Forum: General Coding Help - Replies (2)

Hi, I was playing with selenium. But, was not able to get it working. I am getting this error
"(The process started from chrome location /opt/google/..... More

Print this item

  I am getting the wrong answer, and not sure why
Posted by: riskeay - Nov-05-2020, 01:15 PM - Forum: General Coding Help - Replies (3)

This is my code:

[python]def triangles():
N = [1]
while True:
yield N
N.insert(0,0)
N.append(0)
N = [N[i]+N[i..... More

Print this item

  I can't see all elements of matrix
Posted by: quest - Nov-05-2020, 11:05 AM - Forum: General Coding Help - Replies (4)

Hello
I cant see my 64*64 matrix in python but I have to see it.
I can see just this part
image
And I am using numpy..... More

Print this item

  set_focus() in python pywinauto
Posted by: stearno - Nov-05-2020, 09:34 AM - Forum: General Coding Help - No Replies

I am trying to create a script that will cycle through 4 open windows. I am able to connect to the open windows fine. But I cannot figure out how to s..... More

Print this item

  requirements file
Posted by: tdwinfre - Nov-05-2020, 06:47 AM - Forum: General Coding Help - Replies (7)

pip freeze > requirements.txt
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is n..... More

Print this item

  'NoneType' object has no attribute 'encode'
Posted by: bhagyashree - Nov-05-2020, 06:05 AM - Forum: General Coding Help - Replies (6)

Hii,
When I run this code in terminal I get an error as 'NoneType' object has no attribute 'encode'


[python]
# -*- coding: utf-8 -*-
# Co..... More

Print this item

  .exe prob
Posted by: Kundan - Nov-05-2020, 05:10 AM - Forum: General Coding Help - Replies (9)

[python]
import sqlite3

def writeTofile(data, filename):
# Convert binary data to proper format and write it on Hard Disk
with open(file..... More

Print this item

  getting organized
Posted by: Nickd12 - Nov-05-2020, 03:21 AM - Forum: General Coding Help - Replies (4)

So I'm not really looking for a coding solution but more along the lines as advice. I have been working on a personal assistant for my self and I'm at..... More

Print this item

  Need help, thanks
Posted by: buurin123 - Nov-05-2020, 02:43 AM - Forum: Homework - Replies (2)

1. This was my quiz and I need help to understand why the correct answer is A? I chose B Sad

The output of the following code is:
X=np.rando..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Graph Interpolate Difficu... 1 hour ago Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... 5 hours ago Winfried Winfried General Codin...
  PermissionError: [Errno 1... 8 hours ago Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
Most views
  The best Prog... 579069
  Tutorial Requ... 511135
  Web Scraping ... 442059
  Newbie with P... 386109
  New Users Int... 378332
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+ 12108
buran 8196
snippsat 7389
deanhystad 6914
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
aminrony1999 Today
fobby888 Today
digitalboy346 Today
ben9090o Today
ViktoriaMetodieva Today

User Panel Messages

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