Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,598
» Latest member: nebeolisa
» Forum threads: 37,369
» Forum posts: 169,822

Full Statistics

Online Users
There are currently 518 online users.
» 0 Member(s) | 511 Guest(s)
Bing, Baidu, Google, Yandex, Applebot, Facebook

Latest Threads
Help with writing monitor...
Forum: General Coding Help
Last Post: deanhystad
4 hours ago
» Replies: 3
» Views: 162
Cloud computing advice ne...
Forum: Data Science
Last Post: sawtooth500
4 hours ago
» Replies: 3
» Views: 124
MemoryError in pywinauto....
Forum: General Coding Help
Last Post: itegumo
9 hours ago
» Replies: 1
» Views: 238
Adding a sub menu to a tt...
Forum: GUI
Last Post: deanhystad
Yesterday, 12:37 PM
» Replies: 5
» Views: 190
measure diameter of compl...
Forum: General Coding Help
Last Post: alminnawi
Yesterday, 10:20 AM
» Replies: 0
» Views: 91
How to Randomly Print a Q...
Forum: General Coding Help
Last Post: Bronjer
Yesterday, 07:07 AM
» Replies: 13
» Views: 645
Dynamically plotting grap...
Forum: Data Science
Last Post: deanhystad
Apr-17-2024, 04:09 PM
» Replies: 11
» Views: 247
i have not decided which ...
Forum: GUI
Last Post: CaseySullivan
Apr-17-2024, 12:43 PM
» Replies: 3
» Views: 278
Number stored as text wit...
Forum: General Coding Help
Last Post: CAD79
Apr-17-2024, 10:17 AM
» Replies: 2
» Views: 350
Python Jira Connectivity
Forum: General Coding Help
Last Post: Abhishikt
Apr-17-2024, 08:55 AM
» Replies: 1
» Views: 251

 
  waiting for a mix of file and processes
Posted by: Skaperen - Jul-28-2019, 06:58 AM - Forum: General Coding Help - No Replies

i can wait for a group of pipes to wake up when any one of them has something to deal with, like the peer did close() and i need to read it to discove..... More

Print this item

  hatching not working properly with matplotlib
Posted by: Staph - Jul-28-2019, 05:24 AM - Forum: General Coding Help - Replies (3)

I have 2 arrays arr1 contains correlation values of between -1 to 1
arr2 contains nans and 1's but same shape as arr1
arr1 = 180 * 360
arr2 = 180 ..... More

Print this item

  Python 3 Global Variable Help
Posted by: Tridium - Jul-28-2019, 03:24 AM - Forum: Game Development - Replies (5)

Hi, I'm just learning python and I'm still an absolute beginner, but I've decided to try my hand at a choose your own adventure game.
My goal is to t..... More

Print this item

  Python Selenium .click() Loads Error - Works Manually.- Events not Triggered
Posted by: NSearch - Jul-28-2019, 02:05 AM - Forum: Web Scraping & Web Development - Replies (24)

I am attempting to navigate a web page with what I believe to be javascript triggers that are not being set properly when submitting (or clicking) the..... More

Print this item

  Basic python print script output on CGI?
Posted by: searching1 - Jul-28-2019, 01:30 AM - Forum: Web Scraping & Web Development - Replies (4)

Hi, I'm currently doing some testing if possible to build like a webserver that print outs the result from a script that was based from CLI?

I have..... More

Print this item

  Saving and accessing data from different clients
Posted by: SheeppOSU - Jul-28-2019, 12:43 AM - Forum: General Coding Help - Replies (1)

I'm making a game with a login and saving the players data. Instead of saving their data in a local txt or json file. Is there some way I can save the..... More

Print this item

  Trouble with Loops in lab assignment
Posted by: jonstryder - Jul-28-2019, 12:33 AM - Forum: Homework - Replies (6)

Hi, so this is my first time in this forum. I'm new to python coding, and so far the majority of my coding experience has been in regards to web desi..... More

Print this item

  Learning Python
Posted by: Johnygo - Jul-28-2019, 12:21 AM - Forum: News and Discussions - Replies (7)

I have a general question about learning Python. I am learning Python by myself using a book and doing the practice tests in the book which are every ..... More

Print this item

  change background color of button
Posted by: ieee488 - Jul-27-2019, 11:21 PM - Forum: GUI - Replies (3)

Starting to learn Python though I know other languages such as VB.NET

I create 5 buttons.
[python]
tkinter.Button(Gui, "1", command=callback).gri..... More

Print this item

  Python vector
Posted by: cvsae - Jul-27-2019, 10:21 PM - Forum: Code sharing - Replies (4)

Pyvec is a working incomplete pure python "implementation" of c++ vector wich supports iterators (begin() end()) and more ..... More

Print this item

  Reverse list items in a stupid way
Posted by: pyth0n123 - Jul-27-2019, 09:43 PM - Forum: General Coding Help - Replies (4)

Why is the following code not working?

[python]text="I am very busy today"
a=text.split()
word=a
print(word)
word[4]=a[0]
word[3]=a[1]
word[2..... More

Print this item

  Help with two lines in a function
Posted by: amjass12 - Jul-27-2019, 05:32 PM - Forum: General Coding Help - Replies (6)

Hi all,

I was wondering if somebody could help me correct two lines in a function i have made to generate a confusion matrix. The lines in questio..... More

Print this item

  How do you import a dictionary from a .csv file?
Posted by: SteampunkMaverick12 - Jul-27-2019, 01:21 PM - Forum: General Coding Help - Replies (2)

I have a .csv file like this

data.csv
h:ᛄ
j:☆
k:☇
and I have a python program

[python]import csv
f=open('data.csv','r')..... More

Print this item

  An Object of Objects?
Posted by: cebb - Jul-27-2019, 12:38 PM - Forum: General Coding Help - Replies (4)

Bare with me, relatively new to playing with python, I'm trying to backwards engineer an object so that I can recreate it slightly differently. I'm tr..... More

Print this item

  I need help with a python script
Posted by: nicopython - Jul-27-2019, 10:18 AM - Forum: General Coding Help - Replies (4)

Hello,

A colleague coded a script for me.

this script is supposed to remove every entry from an access file where the content of the field speci..... More

Print this item

  SyntaxError: invalid character in identifier
Posted by: neogeo - Jul-27-2019, 08:32 AM - Forum: General Coding Help - Replies (2)

Hello,
complete newbie here. Was practicing on pycharm and can't figure out why I'm getting such a rudimentary error. Please see below. Any feedback..... More

Print this item

  Multiprocessing using on multiple for loops
Posted by: Staph - Jul-27-2019, 08:06 AM - Forum: General Coding Help - Replies (3)

[python]AS5_all = []
n= 500

for i in range n:
for x in range(len(lat)):
for y in range(len(lon)):
lst = np.array((AS[:,..... More

Print this item

  documentation is wrong for exec()
Posted by: Skaperen - Jul-27-2019, 12:33 AM - Forum: News and Discussions - Replies (9)

the documentation for exec() says the first argument must be a string or code object and that only the unix style end-of-line is accept. but i have f..... More

Print this item

  Parsing json - dictionary with in dictionary
Posted by: krish216 - Jul-26-2019, 09:31 PM - Forum: General Coding Help - Replies (6)

Hello I want to extract the value of all pr1 from location1 & 2 from below json - Any ideas would be appreciated
[python]
import json

jsonget = {..... More

Print this item

  want suggested module for e-mail parsing
Posted by: Skaperen - Jul-26-2019, 08:52 PM - Forum: News and Discussions - No Replies

i see that there are many modules that claim to be able to parse and/or process email. i have a coming project where a script will get an email entir..... More

Print this item

  find
Posted by: AG17 - Jul-26-2019, 07:44 PM - Forum: Homework - Replies (1)

Hi, it's me again.
this time with another problem for the same code. This time I have to print all the products that are made by the same "producator..... More

Print this item

  How to reuse data from variables?
Posted by: LsGam91 - Jul-26-2019, 07:12 PM - Forum: General Coding Help - Replies (2)

My question is rather simple and straight forward.
I've got this piece of code:

[python]
import shelve

Info=shelve.open("Info")

data={}

..... More

Print this item

  importin function vs. import module
Posted by: hikerguy62 - Jul-26-2019, 05:51 PM - Forum: General Coding Help - Replies (2)

I'm VERY new to programming and working with functions at the moment. I created the following
function and saved it in a file named exponent.py

[..... More

Print this item

  SSL Root Certificates?
Posted by: Mallows - Jul-26-2019, 05:08 PM - Forum: General Coding Help - Replies (2)

I just installed python 3.7.4 for Mac OS X and it's asking me if I want to download a SSL Root Certificate. It doesn't seem to be required so I'm not ..... More

Print this item

  Bound method
Posted by: Uchikago - Jul-26-2019, 03:57 PM - Forum: General Coding Help - Replies (1)

Hi, i'm new to python and i have a quesition about method:

When i try this:

[python]class Test:
def test1():
pass
a=Test()
print..... More

Print this item

  TypeError: 'top_block_22' object is not callable
Posted by: Hadad - Jul-26-2019, 03:48 PM - Forum: General Coding Help - No Replies

This is AJAX to flask server project.
For more info about this project I have a couple postings about it here, please see ..... More

Print this item

  numpy.copy / numpy.delete
Posted by: paul18fr - Jul-26-2019, 01:23 PM - Forum: Data Science - Replies (3)

Dear All

I tried to copy a part of an array/matrix using numpy.copy; my first reaction was to write:
[python]
n = 10;
A = np.rando..... More

Print this item

  Checking the presence of label using pywinauto module
Posted by: Malt - Jul-26-2019, 09:06 AM - Forum: General Coding Help - No Replies

I'm trying to validate the presence of one label using pywinauto module

After launching the application with the help of
[python]
e =pw.applic..... More

Print this item

  CSV file from Binary to String
Posted by: mr_byte31 - Jul-26-2019, 08:55 AM - Forum: General Coding Help - Replies (2)

I try to open a CSV file from internet.
Then I try to parse it with CSV lib.
I get error that I deal with it in Binary.
any help?

[python]
with..... More

Print this item

  Reading values into df.loc
Posted by: silkpantsman - Jul-26-2019, 08:34 AM - Forum: Data Science - No Replies

Hi All,

First off I am very fresh to python and coding so apologies in advance.

I am trying to read values into a df.loc so that I can use an excel ..... More

Print this item

  append in excel
Posted by: lili97 - Jul-26-2019, 07:49 AM - Forum: General Coding Help - Replies (1)

greetings everyone
i am currently trying to insert the data from excel into the array but the output of it only an empty array

[python]
Headers_..... More

Print this item

  Login to website
Posted by: kapibara - Jul-26-2019, 06:47 AM - Forum: Web Scraping & Web Development - Replies (4)

I want to use Python to login and later download a file. Could someone show how to login based on this code?

[python]<div class="p">
<div id="ctl..... More

Print this item

  Finding nearest point of a Multidigraph in Python 3.7
Posted by: stixmagiggins - Jul-26-2019, 06:35 AM - Forum: General Coding Help - Replies (5)

I have two point layers, one with bus stops and train stations, and another with playground centrepoints.
From QGIS I created a cleaned up network co..... More

Print this item

  File Path not recognised
Posted by: starzar - Jul-26-2019, 05:31 AM - Forum: General Coding Help - Replies (3)

Using Python 3.7.4 ,I am providing the filepath of a videofile to the Googlecloud Python VideoIntelligence api for further processing.But it still co..... More

Print this item

  Exporting to Excel
Posted by: Nirmal - Jul-26-2019, 05:00 AM - Forum: General Coding Help - Replies (5)

i am trying to Export the data to excel

[python]list = [{'ip': u'9.11.180.3','endpoint': u'rd2ff5-az2-1519-1520_eth1-18_vpc', 'hostname': u'RD2APIC..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Help with writing monitor... 4 hours ago donottrackmymetadata deanhystad General Codin...
  Cloud computing advice ne... 4 hours ago sawtooth500 sawtooth500 Data Science
  MemoryError in pywinauto.... 9 hours ago ktw3857 itegumo General Codin...
  Adding a sub menu to a tt... Yesterday, 12:37 Robo deanhystad GUI
  measure diameter of compl... Yesterday, 10:20 alminnawi alminnawi General Codin...
  How to Randomly Print a Q... Yesterday, 07:07 BillKochman Bronjer General Codin...
  Dynamically plotting grap... 04-17, 16:09 CAD79 deanhystad Data Science
  i have not decided which ... 04-17, 12:43 Skaperen CaseySullivan GUI
  Number stored as text wit... 04-17, 10:17 CAD79 CAD79 General Codin...
  Python Jira Connectivity 04-17, 08:55 Shyam Abhishikt General Codin...
  Low code b2b e-commerce s... 04-17, 08:54 makc Abhishikt Web Scraping ...
Most views
  The best Prog... 398750
  Web Scraping ... 290997
  Tutorial Requ... 284346
  Newbie with P... 243984
  New Users Int... 228714
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 330
deanhystad 312
Most replies
  New Users Int... 431
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11870
buran 8088
snippsat 7080
deanhystad 6196
metulburr 5150
Top referrers
Googlepro 20
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
nebeolisa Today
ganeshbraj Yesterday
Jaime Yesterday
itegumo Yesterday
wonderfulunix Yesterday

User Panel Messages

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