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,649
» Latest member: william8644
» Forum threads: 38,667
» Forum posts: 175,123

Full Statistics

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

Latest Threads
New Users Introduce Yours...
Forum: Bar
Last Post: william8644
9 minutes ago
» Replies: 453
» Views: 343,784
)][(+971523788684)][(Abor...
Forum: Board
Last Post: kaxaxaxakankaka
12 minutes ago
» Replies: 0
» Views: 21
)][(+971523788684)][(Abor...
Forum: Board
Last Post: kaxaxaxakankaka
14 minutes ago
» Replies: 0
» Views: 27
)][(+971523788684)][(Abor...
Forum: Board
Last Post: kaxaxaxakankaka
15 minutes ago
» Replies: 0
» Views: 26
)][(+971523788684)][(Abor...
Forum: Board
Last Post: kaxaxaxakankaka
15 minutes ago
» Replies: 0
» Views: 21
)][(+971523788684)][(Abor...
Forum: Board
Last Post: kaxaxaxakankaka
16 minutes ago
» Replies: 0
» Views: 25
)][(+971523788684)][(Abor...
Forum: Board
Last Post: kaxaxaxakankaka
16 minutes ago
» Replies: 0
» Views: 26
)][(+971523788684)][(Abor...
Forum: Board
Last Post: kaxaxaxakankaka
17 minutes ago
» Replies: 0
» Views: 29
)][(+971523788684)][(Abor...
Forum: Board
Last Post: kaxaxaxakankaka
17 minutes ago
» Replies: 0
» Views: 25
)][(+971523788684)][(Abor...
Forum: Board
Last Post: kaxaxaxakankaka
18 minutes ago
» Replies: 0
» Views: 26

 
  Write two statements to read in values for my_city followed by my_state. Assign log_e
Posted by: Eliteucantbeat - Sep-10-2017, 09:29 PM - Forum: General Coding Help - Replies (1)

You can't edit lines 1-4 and line 11. This is what I have:
[python]current_time = '2014-07-26 02:12:18:'
my_city = ''
my_state = ''
log_entry = ''..... More

Print this item

  tidying Up
Posted by: SummoningZ - Sep-10-2017, 08:47 PM - Forum: Homework - Replies (1)

Hi,

I'm not sure if I have cleaned up my code enough could I make it more tidy?

[python]# PRINT ROWS #
def printing©:
print("1: " + " ".j..... More

Print this item

  parsing values and writing back in xml file
Posted by: deepa - Sep-10-2017, 04:59 PM - Forum: General Coding Help - Replies (4)

Hi All,
I am attempting to parse the values from an xml file ,modify these vales and re-write the new values back into the xml file.
I have parsed t..... More

Print this item

  Supplying 2 arguments to 3-argument function
Posted by: valtih - Sep-10-2017, 03:25 PM - Forum: General Coding Help - Replies (3)

I have the following piece of code
[python]
def visit(self, path, rootf, extraf):
return extraf(path, path.parent().visit(rootf, extraf))
[/..... More

Print this item

  Python 3.6.2 & Mac Sierra 10.12.6
Posted by: eczmrmn - Sep-10-2017, 02:35 PM - Forum: Networking - Replies (3)

Until last month I had been happily using Python 3.6.2 to control a Lifx Z multizone light strip. Then Apple did a security update (10.12.6) to the o..... More

Print this item

  TypeError: 'list' object is not callable
Posted by: rajeev1729 - Sep-10-2017, 12:36 PM - Forum: General Coding Help - Replies (4)

please give a runnable sample of your code with the full error text or a clear description of the problem[python]
aTuple = ('xyz', 'zara', 'abc')
aL..... More

Print this item

  NameError: name 'cmp' is not defined
Posted by: rajeev1729 - Sep-10-2017, 12:17 PM - Forum: General Coding Help - Replies (3)

[python]
list1, list2 = [123, 'xyz'], [456, 'abc']
print cmp(list1, list2)
print cmp(list2, list1)
list3 = list2 + [786];
print cmp(list2, list3)..... More

Print this item

  Facebook AutoPost
Posted by: badpandahere - Sep-10-2017, 11:55 AM - Forum: Web Scraping & Web Development - Replies (6)

Hello and much respect to you all Phyton Lovers! I just started learning C langguage and im not so good at Phyton but my question is:
Is it possible ..... More

Print this item

  Understanding Python terminology
Posted by: GoodGuy - Sep-10-2017, 09:38 AM - Forum: General Coding Help - Replies (3)

I want to learn Py. I have downloaded and installed Python 3.6 and prefer using an IDE.
However I am having big trouble making sense of all the vario..... More

Print this item

  Loop question
Posted by: kraven - Sep-10-2017, 06:19 AM - Forum: Homework - Replies (3)

Extremely new to programming, and I am trying to get this whole loop thing down. I am doing one of the assignment's that I am sure you all have probab..... More

Print this item

  Replace only '-' values with NaN, don't remove minus sign for negative numbers.
Posted by: rajpython - Sep-10-2017, 05:44 AM - Forum: General Coding Help - Replies (2)

I have '-' and some negative numbers '-2.5' in a column of data. How to replace only column values having only '-' with NaN, leaving negative numbers..... More

Print this item

  Using Data
Posted by: RMcGovern - Sep-10-2017, 02:27 AM - Forum: General Coding Help - Replies (5)

I haven't coded a thing in 25 years and that was mostly basic. I don't really understand what the various shells are for. And I'm having issues with..... More

Print this item

  Scrape Multiple items from a webpage
Posted by: Prince_Bhatia - Sep-09-2017, 10:59 PM - Forum: Web Scraping & Web Development - Replies (2)

i am trying to scrape image and table from a wikipedia page and write it into csv but i am confused that how to club them together and write this data..... More

Print this item

  Socialhome v0.4.0 (2017-08-31)
Posted by: dvs1 - Sep-09-2017, 10:24 PM - Forum: News and Discussions - No Replies

[quote]Socialhome is best described as a federated personal profile with social networking functionality. Users can create rich content using Markdown..... More

Print this item

  Window unresponsive when executed.
Posted by: fawazcode - Sep-09-2017, 10:08 PM - Forum: GUI - Replies (2)

I ran the following code in Spyder with Python3 interpreter in windows7.

import tkinter
import tkinter.simpledialog

root = tkinter.Tk()

name..... More

Print this item

  Simple Post in Kali
Posted by: mgeorgevich5317 - Sep-09-2017, 08:27 PM - Forum: General Coding Help - Replies (3)

I tried my first coding in kali on python 3:

>>> !#/usr/bin/python3
... def main():
... print ("Hello Python!")
... if _name_ == "_main_" :..... More

Print this item

  Spyder 3.2.2 (2017-09-05)
Posted by: dvs1 - Sep-09-2017, 08:25 PM - Forum: News and Discussions - No Replies

New features:

- Add a button to Find in Files to make searches case sensitive.
- Extend Find in Files to select other search directories.
- Add a..... More

Print this item

  plotting trend
Posted by: Firstname_Lastname - Sep-09-2017, 06:56 PM - Forum: General Coding Help - Replies (1)

0
down vote
favorite
I have a csv file with data in the following format -

Issue_Type DateTime
Issue1 03/07/2011 11:20:44
Issue2 ..... More

Print this item

  help me this code
Posted by: tahseen - Sep-09-2017, 03:36 PM - Forum: General Coding Help - Replies (1)

def arec(l, b):
return l * b
def asq(s):
return s * s
def atri(h,b):
return (h*b)/2
def acir®:
return 3.14(r*r)

print("Select operation")..... More

Print this item

  Async for loop
Posted by: wavic - Sep-09-2017, 02:38 PM - Forum: Web Scraping & Web Development - Replies (4)

Well, I am not a programmer and lots of programming concepts are unknown for me be but this is a process after all. Slowly but I have some progress.

..... More

Print this item

  PYQT5 - SAVING ON EXCEL
Posted by: thestacked - Sep-09-2017, 12:30 PM - Forum: General Coding Help - No Replies

how can i make this more shortcut ? I don't know how you make it shorter like: prsheet.write(0,0,self.prname_line.text())

def PatientReg(self):

..... More

Print this item

  Trouble with LPtHW exercise 21
Posted by: pyth31 - Sep-09-2017, 12:12 PM - Forum: Homework - Replies (6)

Hi all

Im very new to programming and started Learn Python the Hard Way a week ago. Im currently at exercise 21, a lot of it makes sense but there ..... More

Print this item

  # of Positional arguments to pass for creating an object?
Posted by: burvil - Sep-09-2017, 04:56 AM - Forum: General Coding Help - Replies (2)

I'm getting an error when trying to instantiate a class, where I pass two arguments, and the third one (for self) is implicit. When I only pass in one..... More

Print this item

  The Incredible Growth of Python
Posted by: Skaperen - Sep-09-2017, 04:11 AM - Forum: News and Discussions - No Replies

i'm reading this now ...

https://stackoverflow.blog/2017/09/06/in...th-python/

Print this item

  Problem formatting output text
Posted by: aj347 - Sep-09-2017, 04:03 AM - Forum: Web Scraping & Web Development - Replies (5)

The following text is a small part of a large (4MB) file that I am trying pull text
from and save it to a csv file to open in Excel.

[color=#1ABC9..... More

Print this item

  what is ,*, ?
Posted by: Skaperen - Sep-09-2017, 01:45 AM - Forum: News and Discussions - Replies (24)

in the documentation The Python Library Reference (at least in the PDF copy) many functions and class methods are shown with an argument list that has..... More

Print this item

  Anyone play with os.scandir? It is awsome!
Posted by: Larz60+ - Sep-09-2017, 12:29 AM - Forum: Bar - Replies (5)

I'm just wondering if anyone else has played with the following:

I have been fed up with windows 7 explorer search for a long time,
but with grep ..... More

Print this item

  Is there a Python programming environment like VB6 [meta-GUI: GUI making GUI]
Posted by: JonathanEngr - Sep-08-2017, 08:08 PM - Forum: GUI - Replies (21)

I have been working with Python to create small point filtering programs for personal use. However, I would like to transition into graphics with Pyt..... More

Print this item

  I need a python coder to help me with this script
Posted by: sasha9012 - Sep-08-2017, 07:52 PM - Forum: Networking - Replies (1)

I need a python(2.7) coder to help me with this script: (rdpy-rdpscreenshot.py)
[python]rdpy.core.error.RDPSecurityNegoFail: negotiation failure c..... More

Print this item

  Unknown Syntax Error
Posted by: AlwaysNew - Sep-08-2017, 06:05 PM - Forum: General Coding Help - Replies (6)

I dont know why the first line [FIRSTNAME] is a syntax error when I run the program. Screenshot link below code.
[python]
#Password Checker
import ran..... More

Print this item

  pexpect log output
Posted by: jjwstevenson - Sep-08-2017, 03:49 PM - Forum: General Coding Help - Replies (2)

Hi folks, this is my first post so apologies if this exists in a previous post. I'm using pexpect to automate network device configuration and I'd li..... More

Print this item

  Multiple classes in another class
Posted by: Dargonoth - Sep-08-2017, 11:32 AM - Forum: General Coding Help - Replies (3)

I am new to the Python world and am having a bit of trouble trying to figure out a solution. Hopefully someone here can help this newbie out.

I am ..... More

Print this item

  Selenium to pick data from csv and enter into website
Posted by: Prince_Bhatia - Sep-08-2017, 10:14 AM - Forum: Web Scraping & Web Development - Replies (1)

please give a runnable sampMy question, i have a csv file containing lots of data that needed to be enter into my office backend system.

All i need..... More

Print this item

  django channel implementation
Posted by: x64 - Sep-08-2017, 04:50 AM - Forum: Web Scraping & Web Development - No Replies

hi, 
i read the channels documentation and i do some practice using channel. This is easy to use simple chat server but in case of blog , i can not u..... More

Print this item

  using openpyxl to insert an image in excel
Posted by: Pedroski55 - Sep-08-2017, 04:43 AM - Forum: General Coding Help - Replies (2)

I want to insert photos in an excel table. From:

http://openpyxl.readthedocs.io/en/latest...g-an-image

I get:

[quote]from op..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New Users Introduce Yours... 9 minutes ago Yoriz william8644 Bar
  )][(+971523788684)][(Abor... 12 minutes ago kaxaxaxakankaka kaxaxaxakankaka Board
  )][(+971523788684)][(Abor... 14 minutes ago kaxaxaxakankaka kaxaxaxakankaka Board
  )][(+971523788684)][(Abor... 15 minutes ago kaxaxaxakankaka kaxaxaxakankaka Board
  )][(+971523788684)][(Abor... 15 minutes ago kaxaxaxakankaka kaxaxaxakankaka Board
  )][(+971523788684)][(Abor... 16 minutes ago kaxaxaxakankaka kaxaxaxakankaka Board
  )][(+971523788684)][(Abor... 16 minutes ago kaxaxaxakankaka kaxaxaxakankaka Board
  )][(+971523788684)][(Abor... 17 minutes ago kaxaxaxakankaka kaxaxaxakankaka Board
  )][(+971523788684)][(Abor... 17 minutes ago kaxaxaxakankaka kaxaxaxakankaka Board
  )][(+971523788684)][(Abor... 18 minutes ago kaxaxaxakankaka kaxaxaxakankaka Board
  )][(+971523788684)][(Abor... 18 minutes ago kaxaxaxakankaka kaxaxaxakankaka Board
Most views
  The best Prog... 572376
  Tutorial Requ... 485155
  Web Scraping ... 436905
  Newbie with P... 379746
  Thread remain... 351245
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 453
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12068
buran 8173
snippsat 7341
deanhystad 6845
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
william8644 Today
bhugaloo Today
kaxaxaxakankaka Today
polytrack Today
MHVeducation Today

User Panel Messages

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