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,414
» Latest member: aalexfracesoz1783
» Forum threads: 38,828
» Forum posts: 176,066

Full Statistics

Online Users
There are currently 33 online users.
» 0 Member(s) | 29 Guest(s)
Google, Applebot

Latest Threads
Exponential Number Conver...
Forum: General Coding Help
Last Post: bowlofred
5 hours ago
» Replies: 2
» Views: 73
python re.finditer return...
Forum: General Coding Help
Last Post: arbiel
5 hours ago
» Replies: 6
» Views: 148
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
8 hours ago
» Replies: 14
» Views: 491
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Yesterday, 12:47 PM
» Replies: 12
» Views: 7,210
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Yesterday, 06:35 AM
» Replies: 4
» Views: 431
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Jan-07-2026, 07:13 AM
» Replies: 6
» Views: 761
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,387
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
Jan-02-2026, 12:38 PM
» Replies: 2
» Views: 508
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 16,715
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:52 AM
» Replies: 2
» Views: 544

 
  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
  Exponential Number Conver... 5 hours ago Tuurbo46 bowlofred General Codin...
  python re.finditer return... 5 hours ago arbiel arbiel General Codin...
  Possible bug found, pleas... 8 hours ago Hassher alexajames General Codin...
  How to put my game loop i... Yesterday, 12:47 temlotresid6 MarkHenry Game Developm...
  Code failing to ask input... Yesterday, 06:35 Phoenix_Narukami perfringo Homework
  sorting a lisr of file pa... 01-07, 07:13 Skaperen OtiliaGen News and Disc...
  Data Science 01-04, 10:20 Oshadha OtiliaGen Data Science
  a function to watch files 01-02, 12:38 Skaperen OtiliaGen News and Disc...
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help 01-01, 11:47 BioNanoTech noisefloor General Codin...
Most views
  The best Prog... 580666
  Tutorial Requ... 521602
  Web Scraping ... 442884
  New Users Int... 387665
  Newbie with P... 387091
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+ 12117
buran 8197
snippsat 7398
deanhystad 6921
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
aalexfracesoz1783 Yesterday
Jessicaadams Yesterday
alexajames Yesterday
speakingfever 01-07
Saskia 01-07

User Panel Messages

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