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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,941
» Latest member: Noya_Yonatan
» Forum threads: 38,722
» Forum posts: 175,508

Full Statistics

Online Users
There are currently 40 online users.
» 1 Member(s) | 33 Guest(s)
Apple, Google, Bing, AOL, AOL, Noya_Yonatan

Latest Threads
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: Anunderling
2 hours ago
» Replies: 0
» Views: 40
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 04:28 PM
» Replies: 11
» Views: 4,285
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 732
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,607
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,072
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,576
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,403
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,598
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,540
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,700

 
  Edit Form using Selenium
Posted by: Prince_Bhatia - Feb-12-2018, 10:42 AM - Forum: Web Scraping & Web Development - Replies (2)

hi,

I have a form whose html looks like this

[quote]<form method="post" action="editTower" name="frm1" id="form0" onsubmit="return TOWERS.valid..... More

Print this item

  Scrapy python import issue
Posted by: basheerkharoti - Feb-12-2018, 07:33 AM - Forum: Web Scraping & Web Development - Replies (1)

The Scrapy application just works fine when run from the command line and within the same directory. e.x

When we navig..... More

Print this item

  Help converting int to str value in loop statement
Posted by: Jrvelandia - Feb-12-2018, 06:25 AM - Forum: Homework - Replies (2)

Good evening

The issue i'm trying to solve with this program is I need to convert the code on line 23 to a str value "end" in order to display the ..... More

Print this item

  pip does not get installed
Posted by: jsjudd - Feb-12-2018, 01:40 AM - Forum: General Coding Help - Replies (2)

I have followed instructions to install 'pip', but it does not show up.
Here is my command-line output:
JSJv-air:~ me$ python ~/Downloads/get-pip.p..... More

Print this item

  Fun for music experimenters
Posted by: Larz60+ - Feb-12-2018, 12:47 AM - Forum: Bar - Replies (16)

All for fun, for those who love music and can't afford propeller reason (which, howvere is worth the $400).

This has probably been around since Ada..... More

Print this item

  python setup.py install
Posted by: joebenny1 - Feb-12-2018, 12:17 AM - Forum: General Coding Help - Replies (2)

Hello:
I can not install python setup.py........ I am using virtualbox and Ubuntu 16.04. I get the error message Python: can't open file install: [err..... More

Print this item

  A bug in the code
Posted by: Alberto - Feb-11-2018, 11:21 PM - Forum: Data Science - Replies (2)

Dear Python Users,

I am trying to find annual return of S&P500 given monthly prices. I have the following code below. The problem is that I receive..... More


Attached Files

.csv   sp500_historical.csv (Size: 20.24 KB / Downloads: 51)
Print this item

  Question regarding python pyqt script
Posted by: cibb - Feb-11-2018, 09:54 PM - Forum: GUI - Replies (2)

I've built my GUi using qt and converted it and with some help I feel I'm close on the script portion to get my python script working with the GUI but..... More

Print this item

  How to answer subprocess prompt
Posted by: Monty - Feb-11-2018, 09:49 PM - Forum: General Coding Help - Replies (8)

When I run: python3.5 script.py
Which has:
process = Popen(['command args more args'], stdin=PIPE, stdout=PIPE, shell=True)
The command will prompt..... More

Print this item

  Function Import help
Posted by: Codeforfood - Feb-11-2018, 09:47 PM - Forum: Homework - Replies (2)

I am writing a code for homework, this isn't my code but the error is very similar:
[python]
import random

def main():
random()
print(t..... More

Print this item

  Is this a normal/benign make test error when building python3.6
Posted by: sofuego - Feb-11-2018, 09:45 PM - Forum: General Coding Help - Replies (2)

I've been trying to get a more up-to-date version of python running in a docker environment for ubuntu16.04. Each time I test the compilation there ar..... More

Print this item

  Translator
Posted by: Zatoichi - Feb-11-2018, 09:13 PM - Forum: Homework - Replies (13)

[python]
def load_dictionary(filename):

dictionary = {}
with open('Hmong.txt', 'r') as input_file:
for lines in input_file:..... More

Print this item

  Seeking feedback on my script-in-progress
Posted by: league55 - Feb-11-2018, 06:16 PM - Forum: General Coding Help - Replies (2)

My script repo

Print this item

  dictionary from file
Posted by: Zatoichi - Feb-11-2018, 05:56 PM - Forum: Homework - Replies (5)

[python]
input_file = open('dictionaryHmong.txt')
dictionary = {}
for lines in input_file:
information = lines.split(',')
dictionary[line..... More

Print this item

  Getting attribute and changing it through method
Posted by: nadav - Feb-11-2018, 04:50 PM - Forum: General Coding Help - Replies (5)

Hi, i have class with few getters
Lets say that one of getters return value which is also object of another class
Something like that:

class Mask..... More

Print this item

  Best way to have most of my code outside of a giant for loop
Posted by: danw32 - Feb-11-2018, 04:48 PM - Forum: Web Scraping & Web Development - Replies (6)

Hi there, I'm trying to refactor my code as at the moment it is far too clunky for what I am trying to achieve. I read in a line at a time of an excel..... More

Print this item

  API Google Speech
Posted by: kowalskilinux - Feb-11-2018, 04:47 PM - Forum: General Coding Help - No Replies

Hello good afternoon.

I'm not a python developer, I'm validating the google speech API in my lab, I want some help.

I've already done the proced..... More

Print this item

  Return string from Javascript
Posted by: ian - Feb-11-2018, 04:41 PM - Forum: General Coding Help - No Replies

I need to get a string returned from JavaScript but cannot find a good way. Like in the code below, is there a way to get content of 'substring' in Ja..... More

Print this item

  Sum only some values from a two-dimensional list
Posted by: bronfai - Feb-11-2018, 04:39 PM - Forum: General Coding Help - Replies (2)

Hello,
I'm a newbie. I have a two-dimensional list like this
[python]
DATA = 0
# quality control flag
QC = 1
samples = [[0.1, 33.3, 4.4], [1, 0,..... More

Print this item

  Slow execution of MS Access queries
Posted by: Anirudh_Avantsa - Feb-11-2018, 03:15 PM - Forum: General Coding Help - Replies (4)

Hello All,

We are using MS access as back end database and using python to import the data from excel. Any insert/update/delete statement is taking..... More

Print this item

  Find not working properly
Posted by: fad3r - Feb-11-2018, 02:38 PM - Forum: Homework - Replies (2)

Hi,
A friend is mentoring me on python (thus the world list we are using)

My challenge is in 1 line code to find all the words that have s in them..... More

Print this item

  how to generate sha256 hash for each line of my txt file | using python version 3.6.4
Posted by: rajtekken5 - Feb-11-2018, 12:40 PM - Forum: General Coding Help - Replies (2)

I am creating a project for generating sha256 hash from text file
I want to read each line from my text file and generate sha256 for it.

Here is t..... More

Print this item

  Variable info from a FOR loop
Posted by: Steffenwolt - Feb-11-2018, 11:25 AM - Forum: General Coding Help - Replies (4)

Hi all,
I have this FOR loop reading 8 channels from 3008 adc.
It runs eight times and thus i want 8 different values (ADC) as a result.

[python]..... More

Print this item

  Python math error
Posted by: nadirdogan - Feb-11-2018, 07:57 AM - Forum: General Coding Help - Replies (3)

Hi all,

I'm new at python but seen a math error. (Python 3.6.4)
Please simply run the code below and see the results.
Also you can try with diffe..... More

Print this item

  summing rows/columns more quickly
Posted by: jon0852 - Feb-11-2018, 06:45 AM - Forum: Data Science - Replies (3)

Hi, I recently had an assignment whereby we had to get sums of different columns. The original number of columns was 64 and we wanted to reduce it to..... More

Print this item

  Error Message Pip
Posted by: webdesign909 - Feb-11-2018, 04:19 AM - Forum: Web Scraping & Web Development - Replies (6)

Trying to install pip selenium web driver and getting an error
message. Please view jpeg file to view the exact message.


New to Python and I am..... More

Print this item

  applying total in a loop to a list
Posted by: JustinxFFx - Feb-11-2018, 02:59 AM - Forum: Homework - Replies (1)

I am having trouble figuring out why my totalList is only printing the last total that is appended to the list rather than everyone that is apart of t..... More

Print this item

  Program: count and find
Posted by: Truman - Feb-11-2018, 12:12 AM - Forum: Homework - Replies (3)

# [ ] find and report (print) number of w's, o's + use of word "code"
work_tip = "Good code is commented code"

# [ ] count times letter "i" appea..... More

Print this item

  excercise python list
Posted by: Kykoss - Feb-10-2018, 08:08 PM - Forum: Homework - Replies (7)

Hi,I want you to help me with the solution of an exercise which is very difficult for me to simply tell me the solution in a very simple and understan..... More

Print this item

  Help with csv
Posted by: perrud - Feb-10-2018, 06:12 PM - Forum: General Coding Help - Replies (1)

I'm learning progamming, so i start to learn about CSV, but when I tryed to make something with that i noobed.
Basically I make a progam who you can ..... More

Print this item

  How to geckodriver anonymous firefox
Posted by: mariolopes - Feb-10-2018, 05:56 PM - Forum: Web Scraping & Web Development - Replies (5)

Hi
I need to lunch firefox with the module anonymous. The following code lunchs firefox without the module anonymous. How can I do it?
regard..... More

Print this item

  how to open folder and change files in it
Posted by: ahmadeldawoody - Feb-10-2018, 05:06 PM - Forum: General Coding Help - Replies (2)

Hi everyone , I am a new member in this froum and need help , I want to develop an app that open a folder in my file system an list files and rename s..... More

Print this item

  singleton using metaclass
Posted by: bb8 - Feb-10-2018, 03:27 PM - Forum: General Coding Help - Replies (12)

i need to write a singleton so i looked up some examples. here's one of them from ..... More

Print this item

  Some guidance need'ed.
Posted by: LordDeanUK - Feb-10-2018, 01:30 PM - Forum: Jobs - Replies (2)

Hi Guys,

I have a Small UK company i employ about 6 people as energy consultants and we get paid commission for signing up new & existing Business ow..... More

Print this item

  How to import dependencies from a different directory?
Posted by: ayunus - Feb-10-2018, 12:18 PM - Forum: General Coding Help - Replies (3)

Hi,

I am a php developer and new to python. I am trying to create a custom script for an existing application and not sure how to do it.

this is..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using a For Loop to subtr... 2 hours ago Anunderling Anunderling General Codin...
  403 Error Yesterday, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
Most views
  The best Prog... 576477
  Tutorial Requ... 498340
  Web Scraping ... 440369
  Newbie with P... 384260
  New Users Int... 367351
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12087
buran 8175
snippsat 7368
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 6
buran 3
Newest members
Noya_Yonatan Today
Saipython555 Today
Anunderling Today
Monir Today
atylerfraces2254 Yesterday

User Panel Messages

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