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

Full Statistics

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

Latest Threads
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 12:05 PM
» Replies: 5
» Views: 142
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 53
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,487
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 150
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 68
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,080
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: 384
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 221
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 271

 
  'Get closest value array in array of arrays.' follow up help.
Posted by: DreamingInsanity - Nov-30-2019, 07:59 PM - Forum: General Coding Help - Replies (10)

I created a post a little while back where I needed a function [..... More

Print this item

  Substring in a string
Posted by: Propoganda - Nov-30-2019, 07:05 PM - Forum: Homework - Replies (1)

I need to create a function that counts all the occurrences of a substring in a string and then sort
a dictionary that includes these three features ..... More

Print this item

  SCIKIT learn failure in mac
Posted by: Perja11 - Nov-30-2019, 05:58 PM - Forum: General Coding Help - Replies (1)

Hello

While installing SCIKIT-LEARN on MAC it failed

Could someone please help on what i need to be looking.

Jags-MacBook-Air:~ jag$ pip3 ins..... More

Print this item

  python3 decoding problem but python2 OK
Posted by: mesbah - Nov-30-2019, 04:42 PM - Forum: General Coding Help - No Replies

Hello,
I am facing a problem while decoding unicode urlencoded data in python3 but in python 2 working fine.My Python2 and
Python3 code with output ..... More

Print this item

  Crawler Telegram
Posted by: sysx90 - Nov-30-2019, 04:32 PM - Forum: Web Scraping & Web Development - No Replies

Hi,

I'm new to python and need help ..

I need to assign a value to each channel
Example:

?Xᴘʟᴏɪᴛ-Wɪᴢᴇʀ? 0
?Xᴘʟᴏɪᴛ-Wɪᴢᴇʀ_Group? 10
ÐᗩᖇḰᘉᕮƬ..... More

Print this item

  what does code mean (python)
Posted by: sveto4ka - Nov-30-2019, 02:05 PM - Forum: General Coding Help - No Replies

Can you tell me, what does part of code mean?[python]def forward(self, x):
batch_size,C,H,W = x.shape

x = self.encode[0](x) ; e0=..... More

Print this item

  Unable fetch fucntion data in class in tkinter
Posted by: jenkins43 - Nov-30-2019, 01:33 PM - Forum: GUI - Replies (2)

I am trying to fetch the data from text variable and image data in a function name loopCap and display it in __init__ function where I h..... More

Print this item

  Need help in understanding this particular Traceback TypeError
Posted by: d8nnii - Nov-30-2019, 11:45 AM - Forum: General Coding Help - Replies (2)

Hi guys, this is my first post and my apologies in advance if I missed out something.

I'm learning about Python and doing web scraping with regex t..... More

Print this item

  MySql - Loop - CHeck File
Posted by: gcclinux - Nov-30-2019, 11:42 AM - Forum: General Coding Help - Replies (1)

I am new to python and find it frustrating as python does not seem to conform to any low-level language :-)

I have the following code that woks:
..... More

Print this item

  upload image with generated code from Postman does not work
Posted by: magic7598 - Nov-30-2019, 10:32 AM - Forum: General Coding Help - No Replies

I'm trying to upload an image and set it to profiles of my teammates in some system. I managed to perform this request and upload the images successfu..... More

Print this item

  Advent of Code 2019
Posted by: ThomasL - Nov-30-2019, 10:24 AM - Forum: News and Discussions - Replies (9)

Hi everybody! In case you did not know about Advent of Code yet:

[quote]Advent of Code is an Advent calendar o..... More

Print this item

  We all need Mentorship. . .
Posted by: Davy_Jones_XIV - Nov-30-2019, 09:44 AM - Forum: News and Discussions - Replies (3)

Hello All,

I am creating this thread to see if there is anyone on the forums that dibble in mentorship for individuals training to learn Python.
..... More

Print this item

  Global Variables - Some Points Needing Clarification.
Posted by: adt - Nov-30-2019, 05:27 AM - Forum: General Coding Help - Replies (4)

[font=Times New Roman, Times, serif]Note: This is in context of a self contained module, having some functions which are not meant to be called by any..... More

Print this item

  text editors with Python
Posted by: Skaperen - Nov-30-2019, 01:54 AM - Forum: News and Discussions - Replies (4)

are there any text editors (especially if written in Python) around that use Python (or something like Python) as a macro programming language?

Print this item

  Why duplicate a variable??
Posted by: Morgaccio - Nov-29-2019, 10:14 PM - Forum: General Coding Help - Replies (2)

Hi, everybody.

Why do I have to duplicate the variable 'k' in the code below?
I tried NOT doing it, but the counter doesn't work properly unless I..... More

Print this item

  .py to exe error "oserror winerror 193"
Posted by: michael1789 - Nov-29-2019, 08:29 PM - Forum: General Coding Help - Replies (3)

My search show that this is a common error when trying pyinstaller.

Error:
oserror winerror 193 1 is not a valid win32 application
S..... More

Print this item

  Django
Posted by: menator01 - Nov-29-2019, 07:52 PM - Forum: Web Scraping & Web Development - Replies (3)

I've been playing around with django a little. I've got everything working up to my progress point but, I've seem to hit a snag.
When landing on the ..... More

Print this item

  Pandas resample problem
Posted by: mcva - Nov-29-2019, 04:21 PM - Forum: Homework - No Replies

Thank you for your help.
I have a time series dataframe with hourly data distributed over a 20 years period (N = 175297):

Data A ..... More

Print this item

  Dictionary and tuples list comprehensions help
Posted by: paul41 - Nov-29-2019, 04:17 PM - Forum: General Coding Help - Replies (2)

Hi I have a dictionary with keys and values and I am wanting to convert these into a list of tuples.

Dictionary = {'(A,B):1,'(C,D)':2}

Note that..... More

Print this item

  cant figure this out
Posted by: louiecooper - Nov-29-2019, 11:56 AM - Forum: General Coding Help - Replies (1)

[python]x = input("do you have an account yes or no?")
if x != ("yes"):
quit()
else:
x = input("what is your username")
y = input("wha..... More

Print this item

  Installation Error:Tribon conflicted with Python3.8?
Posted by: sam2016 - Nov-29-2019, 11:31 AM - Forum: General Coding Help - Replies (12)

Dear Gentleman,

Good day! There is problem as wrote in subject that looks like Tribon conflicted with Python, Below picture for infomation:



..... More


Attached Files

Thumbnail(s)
   
Print this item

  itertuples, datetime, pandas, groupby, in range
Posted by: karlito - Nov-29-2019, 11:30 AM - Forum: Data Science - No Replies

Hi,

I hope with these additional information someone could find time to help me with this issue.

sample date here --> ..... More

Print this item

  i need to make a command that ...
Posted by: Skaperen - Nov-29-2019, 08:56 AM - Forum: News and Discussions - Replies (5)

i need to make a command that copies stdin to stdout and changes every non-printable character to an escape sequence ... a short one like \n if that c..... More

Print this item

  Code that works on py2 and not in py3
Posted by: rick666 - Nov-29-2019, 08:44 AM - Forum: General Coding Help - Replies (3)

Hi everyone
this is Pedro and this is my first post. I am trying to write a script to make graphs with xmgrace (graphics program) under linux. The..... More

Print this item

  Pandas dataframe to join three tables using like condition among them
Posted by: sandeep_ganga - Nov-29-2019, 08:30 AM - Forum: Data Science - No Replies

Hi Forum,

I am very new to python , trying to compare if joins with dataframes happen faster than processing on database.

Consider three tables ..... More

Print this item

  pyodbc error ('82', '[82] 523 80 (0) (SQLDriverConnect)')
Posted by: paulsuk1982 - Nov-29-2019, 07:40 AM - Forum: General Coding Help - Replies (1)

Hi All,

Getting below error while connecting to database system, code running fine in python 3.4, but throwing SQLDriver Connect error in version 3..... More

Print this item

  use of sys.argv
Posted by: deepakkr3110 - Nov-29-2019, 04:42 AM - Forum: General Coding Help - Replies (3)

hello

what is the use of

if __name__ == "__main__":
  main(sys.argv[1:])
can i pass my file name in this?

Print this item

  Python Coding Help
Posted by: peterchew240 - Nov-29-2019, 02:20 AM - Forum: General Coding Help - Replies (3)

Question: https://app.codility.com/programmers/les...pth/start/

My code:

[python]if len(A) <..... More

Print this item

  Error in the code ->ValueError: could not convert string to float: ' '
Posted by: eagleboom - Nov-29-2019, 12:23 AM - Forum: General Coding Help - Replies (1)

This is the code:
[python]
fichero = open('cuerpos.txt')

doc = fichero.readlines()

for t in range(3, len(doc)):
fila = doc[t].split('\n')..... More

Print this item

  hanged man
Posted by: Gavinosborn - Nov-28-2019, 11:05 PM - Forum: Game Development - Replies (1)

Hi

only been coding for about three days, so please forgive the code. could you copy and paste the below and please explain why i am going mad.

..... More

Print this item

  Filtering with IF Statement
Posted by: Mike2607 - Nov-28-2019, 09:40 PM - Forum: Homework - Replies (10)

I am working on some Homework and the assignment call for us to open a CSV and pull the info out into columns with fixed widths. Afterwards we need t..... More

Print this item

  how virtual and host can communicate?
Posted by: looney99 - Nov-28-2019, 09:08 PM - Forum: Networking - No Replies

How can a python client on my host communicate with a server I created with python on my virtual machine? What do I need to enter the server ip when c..... More

Print this item

  Phyton code to load a comma separated csv file in to a dict and then in to a dB
Posted by: mrsenorchuck - Nov-28-2019, 08:58 PM - Forum: General Coding Help - Replies (2)

Hello,

Hope you are well.

Looking to do the followoing steps:

1. load a comma separated csv file in to a named python dictionary converting n..... More

Print this item

  Make dual vector dot-product more efficient
Posted by: technossomy - Nov-28-2019, 07:35 PM - Forum: General Coding Help - Replies (3)

I have a dot product calculating weighted means, and is applied to two columns in a list with the measured values in column 5 and 6:

[python]# calc..... More

Print this item

  pygame.Surface.fill help
Posted by: Shemira - Nov-28-2019, 05:59 PM - Forum: Game Development - Replies (3)

How do I fill the screen a certain color? I followed an example off of GitHub, but for some reason it is not doing anything. Any advice?
[python]
im..... 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... 579280
  Tutorial Requ... 512137
  Web Scraping ... 442195
  Newbie with P... 386306
  New Users Int... 379726
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
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
jackhunter Today
EmilyCarter Today
OLanePulse Today
xdimbah Today
IsmaelSlalk Today

User Panel Messages

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