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,673
» Latest member: techthiru
» Forum threads: 38,647
» Forum posts: 175,058

Full Statistics

Online Users
There are currently 474 online users.
» 1 Member(s) | 469 Guest(s)
Google, Bing, Yandex, Baidu, snippsat

Latest Threads
replace or remove text fr...
Forum: General Coding Help
Last Post: snippsat
1 minute ago
» Replies: 15
» Views: 984
Deciding on a Macbook Pro...
Forum: News and Discussions
Last Post: techthiru
9 minutes ago
» Replies: 0
» Views: 6
Pylance: "... is not a kn...
Forum: General Coding Help
Last Post: MvGulik
37 minutes ago
» Replies: 2
» Views: 72
While loop is terminating...
Forum: Homework
Last Post: Plyth
Yesterday, 01:49 AM
» Replies: 2
» Views: 248
PythonPath file
Forum: General Coding Help
Last Post: Pedroski55
Jul-04-2025, 10:56 PM
» Replies: 7
» Views: 19,814
Building a food delivery ...
Forum: Homework
Last Post: nooryasmeen022
Jul-04-2025, 04:12 PM
» Replies: 3
» Views: 7,550
Python Install Mager Help
Forum: News and Discussions
Last Post: snippsat
Jul-04-2025, 09:43 AM
» Replies: 5
» Views: 389
RemoTe server operation w...
Forum: General Coding Help
Last Post: mario17
Jul-04-2025, 07:18 AM
» Replies: 4
» Views: 341
Hide CLI while grabbing i...
Forum: GUI
Last Post: Gribouillis
Jul-03-2025, 08:12 AM
» Replies: 1
» Views: 190
Venv - Python Virtual Env...
Forum: General Coding Help
Last Post: Larz60+
Jul-02-2025, 05:41 PM
» Replies: 4
» Views: 710

 
  CSV reader : save the content into a list
Posted by: econmajor - Oct-18-2017, 09:08 PM - Forum: General Coding Help - Replies (4)

I want to read a csv file and save the content in a list call 'data'. The following reads the data but do not save a list with the content.

..... More

Print this item

  Can someone help me please
Posted by: jamshaid1997 - Oct-18-2017, 09:05 PM - Forum: Homework - Replies (3)

Hi i was wondering if someone could explain and help me Develop a Python function which either returns the float square of its parameter x if the para..... More

Print this item

  How to start... with anything :'(
Posted by: Peter_EU - Oct-18-2017, 07:33 PM - Forum: General Coding Help - Replies (4)

Hallo,

I am writing this because it's 9 PM, I have been sitting on me arse since morning and I have not done anything right today. I am frustrated ..... More

Print this item

  How can I make faster that code
Posted by: BlueEva00 - Oct-18-2017, 02:53 PM - Forum: Homework - Replies (1)

Hello everyone! The problem Im experiencing with this exercise is that I should make it faster. But i dont know how to do it.
The thing is: I have to..... More

Print this item

  Tricky estimating three models and creating a table: regression
Posted by: HellinPython - Oct-18-2017, 02:36 PM - Forum: Homework - Replies (1)

I'm fairly new to Python, so I don't know how to upload the working file, but I have done a lot of regressions, plots and graphs before this part, bu..... More

Print this item

  Error getting HTTP 200 response with requests.get while wget works fine
Posted by: sonicblind - Oct-18-2017, 02:24 PM - Forum: Networking - No Replies

Hi,

I am struggling with smc-python library - frontend to Stonegate API.

..... More

Print this item

  What does ''''true ....'''' mean???
Posted by: wuming79 - Oct-18-2017, 02:16 PM - Forum: General Coding Help - Replies (8)

Hi,

I saw a code that started as follows

''''true
export OPT='-u"
.
.
.
exec python2.7 $OPT "$0" $FLG "$@"
'''

I can't tell that the ''..... More

Print this item

  Heuns method in Python
Posted by: auting82 - Oct-18-2017, 01:46 PM - Forum: Data Science - No Replies

Hi I am testing some ready made code in python and comapring forward eueler method and Heuns method.
Since Heuns method is more precise, the full bl..... More

Print this item

  Would you unit test __init__ method?
Posted by: kilthar - Oct-18-2017, 12:04 PM - Forum: General Coding Help - Replies (1)

Hi,

I am learning unit testing.
The principle I am trying to adopt is to unit test only incoming queries for returned value and incoming commands ..... More

Print this item

  Palindrome
Posted by: mp3909 - Oct-18-2017, 12:02 PM - Forum: General Coding Help - Replies (3)

[python]def isStringPalindrome(string):

rString=''
def reverse(string):
index=len(string)
while index>0:
rString=rString+st..... More

Print this item

  Python Guru's I'm looking for you!
Posted by: jakeknowit - Oct-18-2017, 09:52 AM - Forum: Jobs - No Replies

Hey, I'm Jake from Knowit in London.

We're looking for a few Python Developers to move over here. I'd love to have a chat about if anyone is intere..... More

Print this item

  Python 3.6.3, Tcl/Tk, and Mac, stability issues
Posted by: ErikFrisk - Oct-18-2017, 09:09 AM - Forum: News and Discussions - Replies (7)

Hi (new to this forum so I hope I am positing in the right section)

I have significant stability problems with python 3.6.3 on my MacBook Pro (MacO..... More

Print this item

  loc error
Posted by: Analyst - Oct-18-2017, 07:18 AM - Forum: General Coding Help - Replies (1)

Hi ,

While trying to restrict data set to UK cases only . I have applied the following code .
****************************************************..... More

Print this item

  a feature i'd like to see added to ssh
Posted by: Skaperen - Oct-18-2017, 05:58 AM - Forum: Bar - Replies (4)

a feature i'd like to add, or have added, or see added, to ssh is an exchange (added protocol layer) between a program run at the remote host a..... More

Print this item

  bumping code to the right
Posted by: Skaperen - Oct-18-2017, 05:00 AM - Forum: General Coding Help - No Replies

what can i put in front of (on the same line) some code that lets the code still run as usual, doing exactly what it would do without this, which move..... More

Print this item

  program/scrpt wanted (in python, of course)
Posted by: Skaperen - Oct-18-2017, 03:16 AM - Forum: News and Discussions - Replies (5)

i am looking for a command that can sort a file (or stream from stdin to stdout) much like the posix/unix/linux sort command, but based on the key bei..... More

Print this item

  how hard to translate this to python?
Posted by: Skaperen - Oct-18-2017, 03:05 AM - Forum: News and Discussions - Replies (4)

how hard would it be to translate this to python?

Print this item

  what got me started in Python
Posted by: Skaperen - Oct-18-2017, 02:09 AM - Forum: Bar - Replies (2)

what got me started in Python was the need for a tool that would log into a Cisco router, grab some information, and logout, saving that information. ..... More

Print this item

  Can't break out of loops
Posted by: kiki1113 - Oct-18-2017, 01:30 AM - Forum: Homework - Replies (6)

Newbie, trying to complete this homework assignment. I keep looping through the first name and not moving to the next section. I don't know what I di..... More

Print this item

  Input Question
Posted by: BlueberryCoconutMuffin - Oct-17-2017, 11:26 PM - Forum: General Coding Help - Replies (5)

print ('What is your name')
myname= input('Input your name here:')
print ('Nice to meet you, '+myname)
print ('What fact would you like to know? In..... More

Print this item

  first django site-ms word/pdf files
Posted by: jon0852 - Oct-17-2017, 10:19 PM - Forum: Web Scraping & Web Development - Replies (1)

I am developing my first website and would like a couple word documents and/or pdf's to be made available for download on the site. I'm assuming thes..... More

Print this item

  Pip install for mysqlclient not working
Posted by: burvil - Oct-17-2017, 08:47 PM - Forum: General Coding Help - Replies (4)

I'm trying to install the mysqlclient with Pip, and get an error as follows.

[python]$ pip3.4 install mysqlclient
Downloading/unpacking mysqlclie..... More

Print this item

  String Slicing
Posted by: fivestar - Oct-17-2017, 07:57 PM - Forum: Homework - Replies (1)

im trying to enter a string into the one_frame function (one_frame("catatgdaftgaatg")
What i am trying to do is return a list ["atgdaf","atg"]. whene..... More

Print this item

  reading .xls files and saving as .xlsx
Posted by: jon0852 - Oct-17-2017, 07:39 PM - Forum: General Coding Help - Replies (1)

I have the following code to efficiently try to read older .xls files and save them as .xlsx. However, it keeps cutting off the first row and the las..... More

Print this item

  Weight loss calculator loop error
Posted by: drogers10940 - Oct-17-2017, 07:33 PM - Forum: Homework - Replies (7)

Hello everyone,

This might be a fairly simple question but I am new to python and taking an online class pretty much instructing myself. Below is t..... More

Print this item

  Creating dictionary from list
Posted by: kerzol81 - Oct-17-2017, 07:28 PM - Forum: General Coding Help - Replies (4)

Hi,

I'm struggling with a problem. I'd like to create a dictionary which looks like this:

[python]my_dictionary = {'folder1': 'Same', 'folder2':..... More

Print this item

  Fruit Machine
Posted by: TDiamondBro - Oct-17-2017, 07:17 PM - Forum: Homework - Replies (2)

I[font=Verdana, Geneva, sans-serif] need to make a fruit machine in Python. The fruits/items spinning are Cherry, Lemon, Bell, Star and Skull. The Suc..... More

Print this item

  Simplfy?
Posted by: goldtiger6 - Oct-17-2017, 06:59 PM - Forum: Homework - Replies (1)

[size=medium][u][b]I have this code and I want to know if there's a way I can make the 1 multiple numbers (ex: a + 1 or 2 or 3...or 8). I think using ..... More

Print this item

  Click in the (…) icon in youtube with selenium PyChrome
Posted by: AcszE - Oct-17-2017, 06:31 PM - Forum: Web Scraping & Web Development - Replies (6)

Hello, I'm trying to do a bot that sign in youtube, pick a random video and click in the (...) button, I have done the SIGN IN and the video pick but ..... More

Print this item

  Using a If-else statement as solution
Posted by: sri_harsha_g - Oct-17-2017, 06:19 PM - Forum: Homework - No Replies

Hope you all are having a good learning experience. Here I have a secondary solution proposal for a Quiz, a bit traditional but should work flawlessly..... More

Print this item

  Help in substrings
Posted by: TDH - Oct-17-2017, 02:02 PM - Forum: Homework - Replies (4)

*IM KINDA NEW TO PYTHON*
Down here are my orders for this one, I am allowed to ask anyone for this, this is not an assignment to post but just someth..... More

Print this item

  Grade Loop
Posted by: dtweaponx - Oct-17-2017, 01:28 PM - Forum: Homework - Replies (8)

Hello, my assignment is to make a program that allows a teacher to enter any number of tests grades and it will give them the average. My problem is m..... More

Print this item

  Error while loading the csv file
Posted by: Analyst - Oct-17-2017, 12:00 PM - Forum: General Coding Help - Replies (3)

Hi , While I am trying to load csv file using the below code :
***********************************************************
# Load a CSV file
def lo..... More

Print this item

  Imputation
Posted by: Analyst - Oct-17-2017, 10:50 AM - Forum: General Coding Help - Replies (3)

Hi , I have variables in the data set with missing values . Can anyone please suggest python syntax to :

1 -> Check which of the variables are wit..... More

Print this item

  Practical use of pathlib
Posted by: Larz60+ - Oct-17-2017, 09:54 AM - Forum: Code sharing - No Replies

The app below uses pathlib objects to read the header record from national fips code files
and print each. Eventually it will process each into an ea..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  replace or remove text fr... 1 minute ago Curbie snippsat General Codin...
  Deciding on a Macbook Pro... 9 minutes ago techthiru techthiru News and Disc...
  Pylance: "... is not a kn... 37 minutes ago MvGulik MvGulik General Codin...
  While loop is terminating... Yesterday, 01:49 jumpsworthnow Plyth Homework
  PythonPath file 07-04, 22:56 JohnRLaw Pedroski55 General Codin...
  Building a food delivery ... 07-04, 16:12 ElenaPapagia nooryasmeen022 Homework
  Python Install Mager Help 07-04, 09:43 bowens1983 snippsat News and Disc...
  RemoTe server operation w... 07-04, 07:18 mario17 mario17 General Codin...
  [WxPython] Hide CLI while... 07-03, 08:12 Winfried Gribouillis GUI
  Venv - Python Virtual Env... 07-02, 17:41 DanneA Larz60+ General Codin...
  [Tkinter] textbox compare... 07-02, 13:40 dmac6809 deanhystad GUI
Most views
  The best Prog... 572437
  Tutorial Requ... 485318
  Web Scraping ... 436968
  Newbie with P... 379824
  Thread remain... 351278
Most reputation
buran 581
snippsat 507
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+ 12071
buran 8173
snippsat 7345
deanhystad 6846
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
as1221 3
Newest members
techthiru Today
skylarkuk Today
OLHOSANTOTM Yesterday
viratsolanki Yesterday
chaless Yesterday

User Panel Messages

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