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,286
» Latest member: xdimbah
» Forum threads: 38,792
» Forum posts: 175,875

Full Statistics

Online Users
There are currently 35 online users.
» 1 Member(s) | 29 Guest(s)
Google, Bing, Apple, AOL, lovedeep

Latest Threads
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 12:05 PM
» Replies: 5
» Views: 126
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 52
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,484
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 149
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 66
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,074
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,302
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 374
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 213
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 269

 
  How to take the rest of indeces
Posted by: dervast - Dec-11-2019, 11:31 AM - Forum: General Coding Help - Replies (1)

Hi all,
I am using the following method to take elements from a list.

this method takes from the list classes_samples the indexes that are given ..... More

Print this item

  Networking
Posted by: archer491 - Dec-11-2019, 10:17 AM - Forum: Networking - No Replies

Hi guys, I am very intrigue with this behavior that i don't understand, so if anyone please explain to me why this happed please …
i wrote a python 2..... More

Print this item

  hex file to binary or pcap to binary
Posted by: baran01 - Dec-11-2019, 09:45 AM - Forum: General Coding Help - Replies (1)

I have searched my questions a lot but I couldn't find any solutions, so here's my questions:

I have exported some txt files from pcap files using ..... More

Print this item

  huge and weird values after applying some calculations
Posted by: karlito - Dec-11-2019, 09:06 AM - Forum: Data Science - Replies (2)

OK guys,

The values I got for some columns are just too huge other are in day/month format (see excel picture) and I was wondering why.
Here is my..... More

Print this item

  problem with mapnik in anaconda python 2: from _mapnik import * ImportError: DLL load
Posted by: parsley - Dec-11-2019, 07:50 AM - Forum: General Coding Help - No Replies

I'm using anaconda to write geographic programs, so I need to use packages like mapnik.
After installing mapnik in anaconda2, it started to error...F..... More

Print this item

  Compare two lists. Count larger values
Posted by: dervast - Dec-11-2019, 06:56 AM - Forum: Data Science - Replies (2)

Hi all
I have two lists A and B
and I want to compare them element-wise, to check how more often (as percentage) list A has a larger value than list..... More

Print this item

  List comprehension. Shor for loop version
Posted by: dervast - Dec-11-2019, 06:30 AM - Forum: General Coding Help - Replies (1)

Hi all,
I have read about list comprehensions
and I was wondering if my simple for loop below can be reduced to a list comprehension in python:

T..... More

Print this item

  Comparing columns of Matrix stored in .txt files
Posted by: JoelFooCJ - Dec-11-2019, 05:28 AM - Forum: General Coding Help - Replies (2)

I have 2 separate .txt files displaying 2 matrices each:

Matrix A:
[python]
1 1.0 0 3851.549175736092 5761.18503664513 0.0 1192.84
2 0.906100.03..... More

Print this item

  prevent getting blocked
Posted by: maneesh7787 - Dec-11-2019, 04:53 AM - Forum: Web Scraping & Web Development - Replies (3)

HI,

Actually, I am scrapping a website in python using selenium and beautiful soup, and I am able to scrape it as well but many times it happens th..... More

Print this item

  Selenium returning web element instead of desired text
Posted by: newbie_programmer - Dec-11-2019, 03:08 AM - Forum: Web Scraping & Web Development - Replies (2)

I just started web scrapping and decided to play around with Selenium. Below is the code I wrote to just login to the website and attempt to grab some..... More

Print this item

  what happened to these string?
Posted by: Skaperen - Dec-11-2019, 01:52 AM - Forum: General Coding Help - Replies (2)

i coded this and ran it in python3:

a = """foo"""
"""bar1"""
"""bar2"""
"""bar3"""
print(a)
it ran without any exception an..... More

Print this item

  How can I Open and close .py file from python scripts
Posted by: SayHiii - Dec-11-2019, 01:36 AM - Forum: General Coding Help - Replies (9)

Here is my code:
[python] if mybuffer == "b'Python'":
print("Python File Opening")
thislist = [r'"py_exe.py"', r'"MQTT_pub.py"']..... More

Print this item

  mapping-camera-coordinates-to-a-2d-floor-plan
Posted by: fauveboyxuuki - Dec-10-2019, 10:34 PM - Forum: General Coding Help - No Replies

After following this blog: https://zbigatron.com/mapping-camera-coo...loor-plan/ there are a couple of things I could do with more supp..... More

Print this item

  Django & Python app
Posted by: A1988 - Dec-10-2019, 09:09 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi,

I'm working on a project Django + python.
Set-up:
- Front-end: web templates (html/bootstrap)
- Web-framework: Django
- Back-end: calcu..... More

Print this item

  rect object not loading
Posted by: BlueClaw - Dec-10-2019, 09:09 PM - Forum: Game Development - Replies (2)

Nothing is loading, and all I get is a blank surface. Please help.
[python]#touhou rectangle
import os
import pygame
pygame.init()


win = pyga..... More

Print this item

  Python Parameter inside Json file treated as String
Posted by: dhiliptcs - Dec-10-2019, 07:28 PM - Forum: General Coding Help - No Replies

I have a Python Script which extracts the data from XL sheet(using Pandas) and finally renames the Output file name into other name.
My config file i..... More

Print this item

  Cleanest Way to Cancel a ThreadPool
Posted by: SvetlanaofVodianova - Dec-10-2019, 06:25 PM - Forum: General Coding Help - No Replies

I have a backup script that I run weekly. Each folder that gets copied is independent of the others, one folder doesn't have to wait on the previous f..... More

Print this item

  Convert .py to .exe
Posted by: arthur_cti - Dec-10-2019, 06:02 PM - Forum: General Coding Help - No Replies

Hello, I have a problem, I would like to convert my simple (.py) file to an .exe file, but I follow pyinstaller's instructions and I can't execute the..... More

Print this item

  Armour is not working?
Posted by: Piethon - Dec-10-2019, 05:53 PM - Forum: Game Development - Replies (17)

Hello everybody,

since a couple of weeks, I am trying to add armour into my game. But it not seems to be working.
The damage that the mob does, sh..... More

Print this item

  How to access class variable? instances vs class
Posted by: drSlump - Dec-10-2019, 03:36 PM - Forum: General Coding Help - Replies (5)

Hello everyone, I am learning OOP in python, specifically class variables. It is clear to me what they are, but I do not get why they should be access..... More

Print this item

  How can I measure progress and display it in the progress bar in the interface?
Posted by: Matgaret - Dec-10-2019, 03:26 PM - Forum: GUI - Replies (2)

Hello. I created a graphic interface using QtDesigner, which, when you press the OK button, runs a script that sequentially runs many programs.
The s..... More

Print this item

  Select single letters from string based on separate string
Posted by: Jpen10 - Dec-10-2019, 03:10 PM - Forum: General Coding Help - Replies (3)

I've done this in Excel using the =Lookup({}) function, but have no clue how to in Python. String 1 (12 digits): 085236752048. String 2 (10 letters): ..... More

Print this item

  Kivy pip installation problem (windows 10)
Posted by: sebastian - Dec-10-2019, 03:09 PM - Forum: General Coding Help - Replies (1)

I've been learning Python for about a month now, I've managed to successfully install a pip module before. I'd like to practice a bit of Kivy, but the..... More

Print this item

  Reverse the string word
Posted by: sneha - Dec-10-2019, 03:00 PM - Forum: General Coding Help - Replies (2)

Hello friends,
I am trying to reverse the words present in the string(for eg. I am a student output:student a am I) . I have reference code but i did..... More

Print this item

  Label, align imported text from pandas
Posted by: kundrius - Dec-10-2019, 02:01 PM - Forum: GUI - Replies (2)

Hello,

this is my first Python code ever and I'm stuck with imported text alignment. The idea is to load material list from excel sheet into "label..... More

Print this item

  Can't seem to figure out how to delete several lines from a text file
Posted by: Cosmosso - Dec-10-2019, 02:00 PM - Forum: General Coding Help - Replies (9)

I want to delete a block of text from a text file that looks like this:

[quote]1
Date stored: 2019-02-01;
Author name: l;
Book..... More

Print this item

  Randomly assign values in List 1 to a value in List 2
Posted by: Seneca260 - Dec-10-2019, 11:53 AM - Forum: General Coding Help - Replies (7)

Hi all,

I am learning Python and also teaching a class and I want to build a program that random assigns students a day to do their presentation.

[p..... More

Print this item

  how to open program file .exe from list
Posted by: SayHiii - Dec-10-2019, 08:24 AM - Forum: General Coding Help - Replies (2)

here is my code
[python] if mybuffer == "b'Open'":
print("Program is Opening")
your_Po = (r'C:\Qt\5.13.1\mingw73_32\bin\designe..... More

Print this item

  i can't load model
Posted by: davitneparidze - Dec-10-2019, 07:29 AM - Forum: Data Science - No Replies

i trained model on google-colab, then i saved it with pickle, then downloaded.at last i loaded model with pickle, but it is not working, i mean i shou..... More

Print this item

  Help with Maths (inverse squares)
Posted by: michael1789 - Dec-10-2019, 04:38 AM - Forum: Data Science - Replies (5)

Hello, hope this is the right forum for this question.

I'm generating star systems for a game and I could use some suggestions on the math.

I'..... More

Print this item

  Tkinter Tic Tac Toe With Enhanced Features - Completed
Posted by: adt - Dec-10-2019, 03:18 AM - Forum: Code sharing - Replies (2)

My first python project, an advanced version of Tic Tac Toe on Tkinter, incorporating enhanced features, can be downloaded at the following link:
[ur..... More

Print this item

  HttpRequest vs HttpResponse in Django
Posted by: ift38375 - Dec-10-2019, 01:24 AM - Forum: Web Scraping & Web Development - Replies (2)

Httprequest.method attribute exists in Django but i do not know about HttpResponse.method attribute is exists or not ?

Print this item

  write an integer to file using a function
Posted by: xvkxvo - Dec-10-2019, 12:21 AM - Forum: General Coding Help - Replies (4)

Hello All - Python newbie here. I develop using pycharm aided by w3schools. I am playing with writing functions atm. Question is, i can't seem to writ..... More

Print this item

  Installing cx_Oracle 64-bit on AIX
Posted by: Nash - Dec-10-2019, 12:20 AM - Forum: General Coding Help - No Replies

We are getting the below error while installing cx_Oracle using Python pip.

Note: Python, cx_Oracle, Oracle client and AIX ($OBJECT_MODE) are all 6..... More

Print this item

  Preferred way to slice a list
Posted by: SvetlanaofVodianova - Dec-09-2019, 10:01 PM - Forum: General Coding Help - Replies (3)

In the Zen of Python, it states:

[quote]There should be one-- and preferably only one --obvious ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  data fetching for indian ... Yesterday, 12:05 drakhsin snippsat Web Scraping ...
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
Most views
  The best Prog... 579270
  Tutorial Requ... 512134
  Web Scraping ... 442190
  Newbie with P... 386301
  New Users Int... 379672
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+ 12109
buran 8196
snippsat 7390
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
xdimbah Today
IsmaelSlalk Today
Stephenchers Today
alexferrina Yesterday
MattCarters 11-22

User Panel Messages

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