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,303
» Latest member: TimTom420
» Forum threads: 38,797
» Forum posts: 175,898

Full Statistics

Online Users
There are currently 31 online users.
» 0 Member(s) | 28 Guest(s)
Bing, AOL, Google

Latest Threads
Python is not working on ...
Forum: General Coding Help
Last Post: Pedroski55
3 hours ago
» Replies: 2
» Views: 66
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Yesterday, 04:48 AM
» Replies: 6
» Views: 7,797
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
Yesterday, 02:09 AM
» Replies: 7
» Views: 626
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 121
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 100
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 179
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,207
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 299
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 183
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 113

 
  How to fix error code 2 in python, “directory not found”?
Posted by: dav3javu - Apr-03-2019, 03:00 PM - Forum: General Coding Help - Replies (1)

I'm setting up a keylogger for my mac OS to track esports reaction times. Most of the code is fine, with pynput installed successfully and the code se..... More

Print this item

  Wrong output on my code.
Posted by: JTNA - Apr-03-2019, 02:33 PM - Forum: Homework - Replies (2)

hello,

this code is giving me some weird output and i dont know why, I want the array to be printed out but in uppercase letters and i dont know ho..... More

Print this item

  weird error on my code
Posted by: JTNA - Apr-03-2019, 02:10 PM - Forum: Homework - Replies (1)

I made this code to add random numbers to an array and print the sums, all of that works except the code engine im using requires me to add "Total is:..... More

Print this item

  Help coding 3d software automation
Posted by: danishaikh - Apr-03-2019, 02:01 PM - Forum: General Coding Help - Replies (1)

I'm trying to alter code written by the software when recording a macro to refer to a general location so that I can use the macro to run for any new ..... More

Print this item

  How to correct the NameError: name 'xx' is not defined?
Posted by: vokoyo - Apr-03-2019, 01:54 PM - Forum: Homework - Replies (5)

May I know how to correct the NameError: name 'xx' is not defined ?
[python]
import numpy as np
import matplotlib.pyplot as plt
from sklear..... More

Print this item

  ReShapping error while using open cv in python
Posted by: barry76 - Apr-03-2019, 12:40 PM - Forum: General Coding Help - No Replies

Using mentioned below code I am trying to reshape the image and use it on a specific row and column parameters

[python]import cv2
import numpy as ..... More

Print this item

  while creating a array using numpy.arrange, how to negate only the last 50 numbers?
Posted by: vicky53 - Apr-03-2019, 12:18 PM - Forum: Data Science - Replies (1)

I'm creating an array using numpy and trying to negate the numbers from 50 to 100 in seperate steps as below..
\\

[python]

arr = np.arange(100)..... More

Print this item

  guessing the number game
Posted by: go127a - Apr-03-2019, 11:22 AM - Forum: General Coding Help - Replies (6)

I am going to write code in this condition:

I have a number in my mind and the code is going to find out, I have wrote it but it has a problem in w..... More

Print this item

  Question about security fixes
Posted by: sharonsinger - Apr-03-2019, 11:16 AM - Forum: News and Discussions - Replies (5)

I am trying to find out whether fixes have been issued yet for CVE-2019-9947 and CVE-2019-9948
I can see the bugs (https://bugs.python.org/issue35906..... More

Print this item

  Ideas for determine the volume of rotating object
Posted by: Lardos - Apr-03-2019, 11:03 AM - Forum: Bar - Replies (2)

Hello everybody,

I'm afraid I'm totally wrong with my question here, but I thought it might be worth a try...
I am currently working on an experim..... More

Print this item

  sending html file in email
Posted by: santoshi - Apr-03-2019, 10:32 AM - Forum: General Coding Help - Replies (3)

i am trying to email the report.html. email is coming successfully, but without any content.
Tried with standalone python script.

following is the..... More

Print this item

  How to call base class function
Posted by: kamal_chennai - Apr-03-2019, 10:09 AM - Forum: General Coding Help - Replies (1)

Hi Team,

Please find the below code

[python]

class A () :
    def __init__(self,name):
        self.name = name

    def fun(self):
        print("..... More

Print this item

  Value Estimator Calculator
Posted by: jaycuff13 - Apr-03-2019, 10:06 AM - Forum: General Coding Help - Replies (1)

Hello. I am working on value estimator in python. Towards the end of my script I am trying to create a rating systems based on the the total investmen..... More

Print this item

  dictionary and function
Posted by: renu6593 - Apr-03-2019, 09:54 AM - Forum: General Coding Help - Replies (2)

iteration through a dictionary and allocate those values to a function for further calculation

i use python 2.7

x={AB,AD,BD} #Dictio..... More

Print this item

  Why is from code import * different from entering that code directly into the REPL?
Posted by: sebi - Apr-03-2019, 07:01 AM - Forum: General Coding Help - Replies (5)

...indeed, for code.py being

a = 0
def func():
    global a
    a = 1
after entering that code directly into the REPL a..... More

Print this item

  counting the occurence of a specified number in a numpy-matrix
Posted by: PhysChem - Apr-03-2019, 06:27 AM - Forum: Data Science - Replies (1)

Hi!
There is a numpy-matrix with a couple column and about 100000 row. For now, only the last element of each row is important.
I wish to count, th..... More

Print this item

  Decoding log files in binary using an XML file.
Posted by: captainfantastic - Apr-03-2019, 05:42 AM - Forum: General Coding Help - Replies (1)

Good day.

I am attempting to create a new log decoder based on an existing program, the message data is compared against an XML file and binary str..... More

Print this item

  What does non-existent method start mean?
Posted by: StanHuang - Apr-03-2019, 03:33 AM - Forum: General Coding Help - Replies (3)

I am new and hadn't write any python program before. Now, I was assigned to take over a finished program. I found codes in main.py as:
[python]
#!/u..... More

Print this item

  need better than time.time()
Posted by: Skaperen - Apr-03-2019, 03:18 AM - Forum: General Coding Help - Replies (2)

when running fast, two calls to time.time() can return the same value. time.time() does do better than one second resolution but not good enough for ..... More

Print this item

  Finding perfect numbers
Posted by: BillMcEnaney - Apr-02-2019, 11:22 PM - Forum: General Coding Help - Replies (6)

Everyone, Lisp, Prolog, Python, and Haskell are my favorite programming languages partly because I love functional programming. But I know that Prolog..... More

Print this item

  How to multiprocessing Api post request
Posted by: kinojom - Apr-02-2019, 11:20 PM - Forum: General Coding Help - Replies (1)

I successfully post each record one by one from a csv file. However, I'm trying to implement multiprocessing to make it more efficient to handle large..... More

Print this item

  save parameters an data from image to csv
Posted by: pifko22 - Apr-02-2019, 10:22 PM - Forum: Data Science - No Replies

my code goes through photos from a folder and lists their parameters (age, emotion). I only need emotion.

  So all the photos I have in my folder s..... More

Print this item

  loading a csv file into python from pandas. Variable is not recognized
Posted by: vijjumodi - Apr-02-2019, 09:01 PM - Forum: Data Science - Replies (2)

I am facing an error in loading a csv file into python with pandas package it is not recognizing a variable. Can you guys please help me out with this..... More

Print this item

  loan
Posted by: mcgrim - Apr-02-2019, 08:56 PM - Forum: General Coding Help - Replies (51)

I am writing a program that calculates the remaining loan after a certain number of years n.
The initial borrowed amount is called 'balance' in this ..... More

Print this item

  Error in code
Posted by: iMedia - Apr-02-2019, 08:26 PM - Forum: General Coding Help - Replies (4)

This one working before. I am trying to figure out how to make it on a enter of a int a msg is played.

CODE:

[python]import time #Imports the ti..... More

Print this item

  Including classes from folder issue
Posted by: graham23s - Apr-02-2019, 06:40 PM - Forum: General Coding Help - Replies (1)

Hi Guys,

What i'm trying to do is execute a few actions on a few websites using selenium, i was going to have my structure like:

sites
--site1...... More

Print this item

  Pyinstaller Maximum recursion bug
Posted by: scales11 - Apr-02-2019, 03:16 PM - Forum: General Coding Help - Replies (8)

hello all.

I am trying to create an executable from a simple python script containing the pandas library, but I think that I have encountered a bug..... More

Print this item

  keylogger help? (not for malicious use, to be used with data visualisation)
Posted by: dav3javu - Apr-02-2019, 03:04 PM - Forum: General Coding Help - Replies (1)

hi,

I'm trying to install a keylogger on Mac OS, following this tutorial: tutorial for keylogger[/ur[url=https://python-forum.io/thread-17218.html]..... More

Print this item

  stiching python and batch
Posted by: jenya56 - Apr-02-2019, 02:57 PM - Forum: General Coding Help - Replies (1)

Dear all,
I have found the way to communicate between python and batch file. Below is my python and batch file. As you can see it is not that pretty ..... More

Print this item

  Please Need help with python script
Posted by: jstelmach - Apr-02-2019, 02:13 PM - Forum: General Coding Help - Replies (3)

Hello


I have2 python scripts that I need to combine to read a csv file line by line and take loop through the data in the csv exporting it via cU..... More

Print this item

  getting an error"Line 7: TypeError: 'int' object is not callable"
Posted by: JTNA - Apr-02-2019, 02:07 PM - Forum: Homework - Replies (4)

hello,
i get an error in this program when trying to find the sum of the values in the array.
this is the error "Line 7: TypeError: 'int' object is ..... More

Print this item

  Why isnt this working? pip installs not working with cmd prompt?
Posted by: ejected - Apr-02-2019, 01:53 PM - Forum: News and Discussions - Replies (2)

So I mainly use PyCharm and in PyCharm everything works fine when I pip install something but I'm trying to use my cmd prompt now and it isn't quite w..... More

Print this item

  Question on a code's design
Posted by: ebolisa - Apr-02-2019, 12:08 PM - Forum: General Coding Help - Replies (1)

Hi,

I'm designing a button-less clock using a Raspberry with a SD card and I'm doing it this way:

With a php code I create a data.json settings file..... More

Print this item

  PuLP Tutorials
Posted by: codeman - Apr-02-2019, 11:52 AM - Forum: Tutorial Requests and Submissions - Replies (3)

Hi all

guys I urgently require PuLP tutorials. Unless I am not searching the correct sources - as a newcomer to Python with the intent on upskilli..... More

Print this item

  How to get data from forms?
Posted by: dmytruk - Apr-02-2019, 11:34 AM - Forum: Web Scraping & Web Development - Replies (1)

How can I get data from a form (ProductCreateForm)?

If I write form = self.get_form(), then I just get a form template, where some data is selected..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Python is not working on ... 3 hours ago lary_p Pedroski55 General Codin...
  Can I develop a live vide... Yesterday, 04:48 mtrkhan mamta25 Web Scraping ...
  Help with Serial.write in... Yesterday, 02:09 racingsubby racingsubby General Codin...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  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...
Most views
  The best Prog... 579416
  Tutorial Requ... 512497
  Web Scraping ... 442306
  Newbie with P... 386356
  New Users Int... 380518
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+ 12111
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
TimTom420 Yesterday
cruisesfares Yesterday
SNR Yesterday
Jonathan Yesterday
matt 11-26

User Panel Messages

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