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 33 online users.
» 0 Member(s) | 27 Guest(s)
Bing, AOL, Google, Mojeek, Apple

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

 
  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

Sad Stuttered Mouse Tracking
Posted by: Power_Broker - Nov-05-2020, 02:30 AM - Forum: GUI - Replies (3)

I'm trying to use PyQt5 to create a GUI that has a scrollable area with a large picture. The picture is in the scrollable area and I want to use my mo..... More

Print this item

  splitting total time between days
Posted by: tester_V - Nov-05-2020, 01:56 AM - Forum: General Coding Help - Replies (7)

Hi, I have a very tricky (for me) time conversion.
I have string:
Start time, End Time, Total Time, other stuff, more stuff, ..... More

Print this item

  passing a string to a function to be a f-string
Posted by: Skaperen - Nov-05-2020, 01:50 AM - Forum: News and Discussions - Replies (3)

i don't know how easy or hard this would be to do. i want to have a function that gets a sting from a caller and make it be like an f-string and do i..... More

Print this item

  Adding Sliced Positions
Posted by: Gizzmo28 - Nov-05-2020, 01:34 AM - Forum: General Coding Help - Replies (1)

Hello, I'm reading a large file line by line and I need to know if certain positions are greater than 0 if not, I don't want to print that line, it sh..... More

Print this item

  Automating to generate multiple arrays
Posted by: Robotguy - Nov-04-2020, 11:33 PM - Forum: Data Science - Replies (1)

I have a for loop and have to create a new histogram every time it executes (hist1, hist2, ...). I tried the below but it isn't working. Any sugge..... More

Print this item

  Triplet Combinations of All Values
Posted by: quest - Nov-04-2020, 11:17 PM - Forum: General Coding Help - Replies (2)

Hello,
I am using a specific library

And I am running this line:
[python]
cirq.kron(cirq.unitary(cirq.rz(a)),cirq.unitary(cirq.rz(b)),cirq.unita..... More

Print this item

  parsing Python-like code
Posted by: Skaperen - Nov-04-2020, 07:40 PM - Forum: News and Discussions - Replies (4)

i would like to parse some text string like Python code. it is an assignment expression. the idea is to break it apart just like it would be done fo..... More

Print this item

  pip offline
Posted by: denis - Nov-04-2020, 06:42 PM - Forum: Homework - Replies (2)

Hello, is there any procedure to facilitate the using of Pypi packages installation in an offline pc?; my case is a pc behind a corporative proxy serv..... More

Print this item

  python sort date
Posted by: beginner2020 - Nov-04-2020, 04:51 PM - Forum: General Coding Help - Replies (13)

I am new to python and got a requirement to sort the content of the text file based on timestamp in reverse order. Below is the content of text file(..... More

Print this item

  Skeleton file export error Python Code
Posted by: pepapoha - Nov-04-2020, 04:22 PM - Forum: General Coding Help - Replies (4)

Hello, there is a file format, this file is a skeleton and I want to convert this file, my friend wrote import for this file and it works, but I need ..... More

Print this item

  Python elementary problem
Posted by: saratha - Nov-04-2020, 04:21 PM - Forum: General Coding Help - Replies (5)

In a given text you need to sum the numbers. Only separated numbers should be counted. If a number is part of a word it shouldn't be counted.

this is..... More

Print this item

  Newbie looking for some insight
Posted by: Ccarver80 - Nov-04-2020, 03:32 PM - Forum: Bar - No Replies

Hello everyone! I am a newbie that just enrolled in "Python for everybody" on Coursera. So far I'm grasping it real well.

My question to the commun..... More

Print this item

  Strange Problem when reading from excel
Posted by: faryad13 - Nov-04-2020, 03:03 PM - Forum: General Coding Help - Replies (3)

Hi everybody

I faced one strange problem:

I have two similar excel file and I am trying to read some data from them, For the first excel file is..... More

Print this item

  Need help on sequence and loop homework
Posted by: vzsnv - Nov-04-2020, 12:35 PM - Forum: Homework - Replies (3)

A weatherman is keeping track of the snowfall for months 1 through 3 (January – March). For each month, the total amount of snowfall has to should be..... More

Print this item

  Flask app cannot read js and css files.
Posted by: Aggam - Nov-04-2020, 12:33 PM - Forum: Web Scraping & Web Development - No Replies

Hello! I have made some posts about this,and I am having some styling issues.

I am using code mirror for my site and flask gives me errors like:
[..... More

Print this item

Photo Matlab to Python
Posted by: Sateesh - Nov-04-2020, 09:11 AM - Forum: General Coding Help - No Replies

Dear Python Users,

I am new to python. I am using Jupyter notebook for simulations.

Could you please help me to read out the output table genera..... More

Print this item

Lightbulb I built a state monitor using Python+Flask! (for new user)
Posted by: aaronxiongli - Nov-04-2020, 08:11 AM - Forum: Code sharing - No Replies

Hi All - I'm excited to share my first Python Flask app!

Flask State, A plug-in for displaying native state. It's a better choice for new user.

..... More

Print this item

  Calling Oracle REST SQL from Python
Posted by: johnjacob - Nov-04-2020, 05:22 AM - Forum: General Coding Help - Replies (2)

Hello All,

I 'am tying to mimic the below curl in python::

[output]sh-4.2$ curl -X "POST" "http://slc05ewk.us.oracle.com:8080/ords/hr/_/sql" \
..... More

Print this item

  Request blocking in Chrome Incognito mode
Posted by: pyseeker - Nov-04-2020, 02:20 AM - Forum: General Coding Help - No Replies

Hello,
We have a requirement to block various social media apps browsing using the Chrome Browser (Incognito mode because it does not retain cache). T..... More

Print this item

  Read characters of line and return positions
Posted by: Gizzmo28 - Nov-04-2020, 02:14 AM - Forum: General Coding Help - Replies (2)

Hello, I am trying to pull out certain information from a huge text file because the lines are difficult to read. I can read line by line but how do ..... More

Print this item

  a new language based on python
Posted by: Skaperen - Nov-04-2020, 01:54 AM - Forum: News and Discussions - No Replies

i've wanted to create a new language based on python. this language would differ by having some new kinds of statements added. my thought to run it ..... More

Print this item

  How can I implement a multitasking process in Python?
Posted by: TurboC - Nov-03-2020, 10:59 PM - Forum: GUI - Replies (1)

speaking about Tkinter and the multitasking concept, I always had an issue with my GUI softwares. in the last one for example, I have a simple functio..... More

Print this item

  Connecting pushbuttons signals throug a lambda fonction in a loop
Posted by: arbiel - Nov-03-2020, 09:37 PM - Forum: GUI - Replies (4)

Hi

Using PyQt5, I try to create pushbuttons from a list in a loop. As an example, I extracted the following script (I'm fond of ancient greek)

[..... More

Print this item

  Run a ready to go Python project
Posted by: flaviu2 - Nov-03-2020, 08:21 PM - Forum: General Coding Help - Replies (1)

I am sorry for such trivial question. I have downloaded a Python project from github. I ran setup.py file as:

python setup.py --install

a..... More

Print this item

  Download pip and django
Posted by: tdwinfre - Nov-03-2020, 06:42 PM - Forum: News and Discussions - Replies (5)

Hello, I'm having issues trying to find and download pip and Django any help would be helpful I already have python installed. I currently own a mac i..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  pip install requests does... 4 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... 576803
  Tutorial Requ... 499194
  Web Scraping ... 440588
  Newbie with P... 384557
  New Users Int... 368443
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