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,271
» Latest member: aminrony1999
» Forum threads: 38,787
» Forum posts: 175,856

Full Statistics

Online Users
There are currently 267 online users.
» 1 Member(s) | 263 Guest(s)
Google, Bing, Mojeek, deanhystad

Latest Threads
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
2 hours ago
» Replies: 3
» Views: 126
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
6 hours ago
» Replies: 4
» Views: 135
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
9 hours ago
» Replies: 2
» Views: 107
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 151
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 343
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 62
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 103
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 348
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 193
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 300

 
  Problem with connection: Python + SQL Server
Posted by: carlos_123 - Feb-13-2018, 02:27 PM - Forum: General Coding Help - Replies (2)

Hi Everyone!

I try to connect Python with SQL Server (with Windows Authentication), but I have a problem with the output... The code is:

[pyt..... More

Print this item

  Running a code through multiple files in a folder
Posted by: Rai - Feb-13-2018, 12:25 PM - Forum: General Coding Help - Replies (1)

Hello,

I am new to python. I have 1000 files in a folder and I want to run a block of code on all the files in the folder. The files contains textu..... More

Print this item

  Button click doesnt work from my second class/layout in Python
Posted by: imamideb - Feb-13-2018, 12:09 PM - Forum: GUI - No Replies

I am using PyQt5 and I have designed 3 layouts.

Login
Dashboard
Settings

Login and Dashboard pages have individual class files. When I am tryi..... More

Print this item

  redefinition of a method in a class: pylint warning
Posted by: kboo - Feb-13-2018, 11:10 AM - Forum: General Coding Help - Replies (1)

Hello,
I try to redefine a method class (get_voiture_info) but pytlint (1.8) doesn't like what I wrote, and I don't anderstand why, what should I do t..... More

Print this item

  Python Extensions with C Custom PyObject?
Posted by: babaliaris - Feb-13-2018, 10:08 AM - Forum: General Coding Help - Replies (9)

Hello!

I'm trying to learn how to create python extensions with c. I read the documentation and i tried to make an example but a problem occurred whi..... More

Print this item

  Ho to get all the caontact details from exchange server in python
Posted by: ppsingh22688 - Feb-13-2018, 09:20 AM - Forum: Web Scraping & Web Development - No Replies

Hi All,

I am new to python, i want to implement crud operation on exchange server using python .
please let me know how i can do the same.

Print this item

  Function Attribute / Global Variable Confusion
Posted by: digitalmatic7 - Feb-13-2018, 09:06 AM - Forum: General Coding Help - Replies (1)

Function attributes and global variables seem quite similar:

[python]
def hi():

hi.bye = 50 # function attribute

hi()

def testing..... More

Print this item

  why the generator expression after IF always returns True
Posted by: HenryJ - Feb-13-2018, 06:59 AM - Forum: General Coding Help - Replies (1)

Hi,

Why is the generator expression after IF statement always return True? Is it because the if statement only checks whether there is a new value "g..... More

Print this item

  heavy up front web sites
Posted by: Skaperen - Feb-13-2018, 04:01 AM - Forum: Bar - Replies (2)

more and more web sites are doing more things up front, in the client side. and since with things like brython, this can all be done in python. so i..... More

Print this item

  Michael driscoll New Book
Posted by: Larz60+ - Feb-13-2018, 02:55 AM - Forum: News and Discussions - Replies (2)

Michael Driscoll Is writing a new book:
Reportlab PDF processing with Python.

He has been more than generous, often giving his books python 101 an..... More

Print this item

  I can write to but cannot read from Excel using python.
Posted by: Emerogork - Feb-13-2018, 01:55 AM - Forum: General Coding Help - Replies (2)

I have import xlsxwriter in my code but am not sure what I did to enable that one. (:
Now I want to read from a cell but import xlrd fails. I looked..... More

Print this item

  how do I enter code into python
Posted by: matelot - Feb-13-2018, 12:33 AM - Forum: GUI - Replies (17)

I am totally new to python. I have been asked to use python to solve another problem
I have gone through
https://python-forum.io/Thread-Basic-How-to..... More

Print this item

  Program: Words after "G"/"g"
Posted by: Truman - Feb-12-2018, 11:21 PM - Forum: Homework - Replies (7)

Create a program inputs a phrase (like a famous quotation) and prints all of the words that start with h-z

Sample input:
enter a 1 sentence quote,..... More

Print this item

  What Does This Part of Close Alert Code Mean?
Posted by: digitalmatic7 - Feb-12-2018, 11:20 PM - Forum: General Coding Help - Replies (2)

Hey guys,

Here's the code snippet:

[python]
try:
driver.switch_to.alert.dismiss()
except NoAlertPresentException as e:
pass
[/pyth..... More

Print this item

  MAC OS + Launcher : /usr/bin/pythonw
Posted by: Exh - Feb-12-2018, 11:10 PM - Forum: General Coding Help - No Replies

Hello,

I'm new on the forum and in coding so please be nice with me Big Grin
When I try to run my program that doesn't work. I've read many t..... More

Print this item

  Dictionary filtering and intermediate keys
Posted by: Gilles95 - Feb-12-2018, 09:48 PM - Forum: General Coding Help - Replies (3)

Hello,

I have the below code, which is working fine, although I understand it is not the most efficient from a resource aspect.

I believe it is ..... More

Print this item

  Anyone else here finding John Guttag book finger exercises hard to crack.
Posted by: pritesh - Feb-12-2018, 08:07 PM - Forum: News and Discussions - Replies (3)

Hi,
I've written scripts in the past that would login to various storage devices and gather outputs. I have also written reporting scripts.
So while..... More

Print this item

  John Guttag Book - Finger Exercise 4 - need help to make the code better
Posted by: pritesh - Feb-12-2018, 07:04 PM - Forum: Homework - Replies (12)

Hi,

I am learning python using John Guttag's book - "Introduction to Computation and Programming Using Python: With Application to Understanding Da..... More

Print this item

  Error:__init__ takes no parameters
Posted by: antonmichel - Feb-12-2018, 05:16 PM - Forum: GUI - Replies (2)

hey guys,

I want to build an ecommerce app with kivy and satchless, i am working on making the list with kivy but i am stuck with this error, any h..... More

Print this item

  looping through series, changing value and sorting
Posted by: metalray - Feb-12-2018, 04:51 PM - Forum: General Coding Help - Replies (3)

Dear Python Experts,

I got a series that looks the following:

9 71
14 1990
10 85

I want to append 19 to the 2 digit number..... More

Print this item

  For loop issues
Posted by: BigEasy - Feb-12-2018, 04:29 PM - Forum: General Coding Help - Replies (3)

What am I doing wrong here? From what I can tell, my for loop (for x in s1) is not actually looping through the characters. But I don't know how to fi..... More

Print this item

  manipulating .csv file into columns of selected data
Posted by: Karen_Masila - Feb-12-2018, 02:24 PM - Forum: Data Science - Replies (2)

Hello.

I have a .csv file full of string and text information from which I would like to select desirable information and sort it into neat columns..... More

Print this item

  searching within specified variable list
Posted by: milo204 - Feb-12-2018, 02:09 PM - Forum: General Coding Help - Replies (2)

im trying to create a system which asks for a specific shirt size and colour. white is avaliable in l and m and blue is avaliable in m and s.
im str..... More

Print this item

  error
Posted by: BlockyDuel - Feb-12-2018, 12:09 PM - Forum: General Coding Help - Replies (1)

I'm new to python, and this code has a lot of errors i don't know how to fix.
https://i.imgur.com/6edEmIs.png[/u[url=https://python-forum.io/thread-8266.html]..... More

Print this item

  Importing - KeyError: u'axes.prop_cycle is not a valid rc parameter.
Posted by: GMPE - Feb-12-2018, 11:52 AM - Forum: General Coding Help - Replies (1)

Hi folks,

Trying to use a toolkit called gmpe-smtk (https://github.com/GEMScienceTools/gmpe-smtk).

Following installation I'm attempting to impo..... More

Print this item

  pymongo wildcard query issue
Posted by: MikeAW2010 - Feb-12-2018, 11:40 AM - Forum: General Coding Help - Replies (2)

I am using the re module to interpret wildcards in my input functions and I am attempting to write a Python Script that will look in the database name..... More

Print this item

  how coding microphone receive non-English?
Posted by: TedHanaka - Feb-12-2018, 11:09 AM - Forum: General Coding Help - Replies (1)

My code is bellows

(1)with sr.Microphone() as source:
(2) print('Say anything')
(3) audio=r.listen(source) <=Need to change
(4) print('Done')..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Graph Interpolate Difficu... 2 hours ago Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... 6 hours ago Winfried Winfried General Codin...
  PermissionError: [Errno 1... 9 hours ago Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
Most views
  The best Prog... 579070
  Tutorial Requ... 511140
  Web Scraping ... 442059
  Newbie with P... 386109
  New Users Int... 378339
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+ 12108
buran 8196
snippsat 7389
deanhystad 6914
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
aminrony1999 Today
fobby888 Today
digitalboy346 Today
ben9090o Today
ViktoriaMetodieva Today

User Panel Messages

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